Package akka.javasdk.agent
Record Class SessionHistoryResult.Loaded
- All Implemented Interfaces:
SessionHistoryResult
- Enclosing interface:
SessionHistoryResult
public static record SessionHistoryResult.Loaded(SessionHistory history)
extends Record
implements SessionHistoryResult
The entity returned the full history within its size limit.
-
Nested Class Summary
Nested classes/interfaces inherited from interface akka.javasdk.agent.SessionHistoryResult
SessionHistoryResult.Loaded, SessionHistoryResult.Truncated -
Constructor Summary
ConstructorsConstructorDescriptionLoaded(SessionHistory history) Creates an instance of aLoadedrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.history()Returns the value of thehistoryrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Loaded
Creates an instance of aLoadedrecord class.- Parameters:
history- the value for thehistoryrecord component
-
-
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. All components in this record class are compared withObjects::equals(Object,Object). -
history
Returns the value of thehistoryrecord component.- Returns:
- the value of the
historyrecord component
-