com.hazelcast.concurrent.countdownlatch.operations
public class AwaitOperation extends AbstractNamedOperation implements WaitSupport, IdentifiedDataSerializable
name
CALL_ID_LOCAL_SKIPPED, GENERIC_PARTITION_ID
Constructor and Description |
---|
AwaitOperation() |
AwaitOperation(String name,
long timeout) |
Modifier and Type | Method and Description |
---|---|
int |
getFactoryId()
Returns DataSerializableFactory factory id for this class.
|
int |
getId()
Returns type identifier for this class.
|
Object |
getResponse() |
String |
getServiceName() |
WaitNotifyKey |
getWaitKey() |
void |
onWaitExpire() |
void |
run() |
boolean |
shouldWait() |
protected WaitNotifyKey |
waitNotifyKey() |
getName, readInternal, writeInternal
afterRun, beforeRun, returnsResponse
getCallerAddress, getCallerUuid, getCallId, getCallTimeout, getConnection, getInvocationTime, getLogger, getNodeEngine, getPartitionId, getReplicaIndex, getResponseHandler, getService, getWaitTimeout, isUrgent, logError, onException, readData, setCallerUuid, setNodeEngine, setPartitionId, setReplicaIndex, setResponseHandler, setService, setServiceName, setValidateTarget, setWaitTimeout, toString, validatesTarget, writeData
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getWaitTimeout
readData, writeData
getPartitionId
public AwaitOperation()
public AwaitOperation(String name, long timeout)
public Object getResponse()
getResponse
in class AbstractOperation
public WaitNotifyKey getWaitKey()
getWaitKey
in interface WaitSupport
public boolean shouldWait()
shouldWait
in interface WaitSupport
public void onWaitExpire()
onWaitExpire
in interface WaitSupport
public int getFactoryId()
IdentifiedDataSerializable
getFactoryId
in interface IdentifiedDataSerializable
public int getId()
IdentifiedDataSerializable
getId
in interface IdentifiedDataSerializable
public final String getServiceName()
getServiceName
in class Operation
protected WaitNotifyKey waitNotifyKey()
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.