public class LocalGetOp extends AbstractAtomicLongOp implements IndeterminateOperationStateAware
RaftAtomicLongProxy.localGet(QueryPolicy)
Constructor and Description |
---|
LocalGetOp() |
LocalGetOp(String name) |
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
public LocalGetOp()
public LocalGetOp(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 © 2022 Hazelcast, Inc.. All Rights Reserved.