Package akka.javasdk.agent
Record Class MemoryProvider.Disabled
- All Implemented Interfaces:
MemoryProvider
- Enclosing interface:
MemoryProvider
Disabled memory provider, which does not store or retrieve contextual history.
This provider may still be combined with a SessionMemoryInterceptor via MemoryProvider.withInterceptor(SessionMemoryInterceptor) to observe interactions as they happen, but no
history will be persisted or made available to subsequent interactions.
-
Nested Class Summary
Nested classes/interfaces inherited from interface akka.javasdk.agent.MemoryProvider
MemoryProvider.CustomMemoryProvider, MemoryProvider.Disabled, MemoryProvider.FromConfig, MemoryProvider.InterceptedMemoryProvider, MemoryProvider.LimitedWindowMemoryProvider -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface akka.javasdk.agent.MemoryProvider
withInterceptor
-
Constructor Details
-
Disabled
public Disabled()Creates an instance of aDisabledrecord class.
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal.
-