Record Class HandlerContext.CallHandles
java.lang.Object
java.lang.Record
dev.restate.sdk.endpoint.definition.HandlerContext.CallHandles
- Enclosing interface:
HandlerContext
public static record HandlerContext.CallHandles(HandlerContext.Handle<String> invocationIdHandle, HandlerContext.Handle<Slice> resultHandle)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionCallHandles(HandlerContext.Handle<String> invocationIdHandle, HandlerContext.Handle<Slice> resultHandle) Creates an instance of aCallHandlesrecord 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.Returns the value of theinvocationIdHandlerecord component.Returns the value of theresultHandlerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
CallHandles
public CallHandles(HandlerContext.Handle<String> invocationIdHandle, HandlerContext.Handle<Slice> resultHandle) Creates an instance of aCallHandlesrecord class.- Parameters:
invocationIdHandle- the value for theinvocationIdHandlerecord componentresultHandle- the value for theresultHandlerecord 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 withObjects::equals(Object,Object). -
invocationIdHandle
Returns the value of theinvocationIdHandlerecord component.- Returns:
- the value of the
invocationIdHandlerecord component
-
resultHandle
Returns the value of theresultHandlerecord component.- Returns:
- the value of the
resultHandlerecord component
-