Record Class StateMachine.RunResultHandle
java.lang.Object
java.lang.Record
dev.restate.sdk.core.StateMachine.RunResultHandle
- Enclosing interface:
StateMachine
-
Constructor Summary
ConstructorsConstructorDescriptionRunResultHandle(boolean replayed, int handle) Creates an instance of aRunResultHandlerecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.inthandle()Returns the value of thehandlerecord component.final inthashCode()Returns a hash code value for this object.booleanreplayed()Returns the value of thereplayedrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
RunResultHandle
public RunResultHandle(boolean replayed, int handle) Creates an instance of aRunResultHandlerecord class.- Parameters:
replayed- the value for thereplayedrecord componenthandle- the value for thehandlerecord component
-
-
Method Details
-
toString
-
hashCode
-
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 with thecomparemethod from their corresponding wrapper classes. -
replayed
public boolean replayed()Returns the value of thereplayedrecord component.- Returns:
- the value of the
replayedrecord component
-
handle
public int handle()Returns the value of thehandlerecord component.- Returns:
- the value of the
handlerecord component
-