Package io.dapr.client.domain
Class TransactionalStateOperation<T>
java.lang.Object
io.dapr.client.domain.TransactionalStateOperation<T>
public class TransactionalStateOperation<T>
extends java.lang.Object
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TransactionalStateOperation.OperationType
-
Constructor Summary
Constructors Constructor Description TransactionalStateOperation(TransactionalStateOperation.OperationType operationType, State<T> state)
Construct an immutable transactional state operation object. -
Method Summary
Modifier and Type Method Description boolean
equals(java.lang.Object o)
TransactionalStateOperation.OperationType
getOperation()
State<T>
getRequest()
int
hashCode()
java.lang.String
toString()
-
Constructor Details
-
TransactionalStateOperation
public TransactionalStateOperation(TransactionalStateOperation.OperationType operationType, State<T> state)Construct an immutable transactional state operation object.- Parameters:
operationType
- The type of operation done.state
- The required state.
-
-
Method Details
-
getOperation
-
getRequest
-
equals
public boolean equals(java.lang.Object o)- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-