Record Class StateMachine.AwaitResult.ExecuteRun
java.lang.Object
java.lang.Record
dev.restate.sdk.core.StateMachine.AwaitResult.ExecuteRun
- All Implemented Interfaces:
StateMachine.AwaitResult
- Enclosing interface:
StateMachine.AwaitResult
public static record StateMachine.AwaitResult.ExecuteRun(int handle)
extends Record
implements StateMachine.AwaitResult
-
Nested Class Summary
Nested classes/interfaces inherited from interface StateMachine.AwaitResult
StateMachine.AwaitResult.AnyCompleted, StateMachine.AwaitResult.CancelSignalReceived, StateMachine.AwaitResult.ExecuteRun, StateMachine.AwaitResult.WaitExternalProgress -
Field Summary
Fields inherited from interface StateMachine.AwaitResult
ANY_COMPLETED, CANCEL_SIGNAL_RECEIVED, WAIT_EXTERNAL_PROGRESS -
Constructor Summary
Constructors -
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.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ExecuteRun
public ExecuteRun(int handle) Creates an instance of aExecuteRunrecord class.- Parameters:
handle- 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. -
handle
public int handle()Returns the value of thehandlerecord component.- Returns:
- the value of the
handlerecord component
-