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, toString, writeInternal
afterRun, beforeRun, returnsResponse
getCallerAddress, getCallerUuid, getCallId, getCallTimeout, getConnection, getInvocationTime, getLogger, getNodeEngine, getOperationResponseHandler, getPartitionId, getReplicaIndex, getResponseHandler, getService, getWaitTimeout, isUrgent, logError, onException, onExecutionFailure, onInvocationException, onSetCallId, readData, sendResponse, setCallerUuid, setNodeEngine, setOperationResponseHandler, 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 © 2016 Hazelcast, Inc.. All Rights Reserved.