public class GetOp extends AbstractAtomicRefOp implements IndeterminateOperationStateAware, IdentifiedDataSerializable
IAtomicReference.get()
Modifier and Type | Method and Description |
---|---|
int |
getId()
Returns type identifier for this class.
|
boolean |
isRetryableOnIndeterminateOperationState()
Returns true if duplicate commit of the operation is equivalent to
committing it only once.
|
Object |
run(CPGroupId groupId,
long commitIndex)
Contains actual Raft operation logic.
|
getFactoryId, getServiceName, readData, toString, writeData
getLogger, getNodeEngine, getService, logFailure, setNodeEngine, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getFactoryId
readData, writeData
public GetOp()
public GetOp(String name)
public Object run(CPGroupId groupId, long commitIndex)
RaftOp
public boolean isRetryableOnIndeterminateOperationState()
IndeterminateOperationStateAware
isRetryableOnIndeterminateOperationState
in interface IndeterminateOperationStateAware
public int getId()
IdentifiedDataSerializable
getId
in interface IdentifiedDataSerializable
Copyright © 2020 Hazelcast, Inc.. All Rights Reserved.