public class GetCountOp extends AbstractCountDownLatchOp implements IndeterminateOperationStateAware
ICountDownLatch.getCount()name| Constructor and Description |
|---|
GetCountOp() |
GetCountOp(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, writeDatagetLogger, getNodeEngine, getService, logFailure, setNodeEngine, toStringpublic GetCountOp()
public GetCountOp(String name)
public Object run(CPGroupId groupId, long commitIndex)
RaftOppublic boolean isRetryableOnIndeterminateOperationState()
IndeterminateOperationStateAwareisRetryableOnIndeterminateOperationState in interface IndeterminateOperationStateAwarepublic int getId()
IdentifiedDataSerializablegetId in interface IdentifiedDataSerializableCopyright © 2021 Hazelcast, Inc.. All Rights Reserved.