public class AwaitOperation extends AbstractNamedOperation implements WaitSupport, IdentifiedDataSerializable
nameBITMASK_LOAD_ALL_WITH_USER_SUPPLIED_KEYS, 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, writeInternalafterRun, beforeRun, returnsResponsegetCallerAddress, getCallerUuid, getCallId, getCallTimeout, getConnection, getInvocationTime, getLogger, getNodeEngine, getOperationResponseHandler, getPartitionId, getReplicaIndex, getResponseHandler, getService, getWaitTimeout, isFlagSet, isUrgent, logError, onException, onExecutionFailure, onInvocationException, onSetCallId, readData, sendResponse, setCallerUuid, setFlag, setNodeEngine, setOperationResponseHandler, setPartitionId, setReplicaIndex, setResponseHandler, setService, setServiceName, setValidateTarget, setWaitTimeout, toString, validatesTarget, writeDataclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetWaitTimeoutreadData, writeDatagetPartitionIdpublic AwaitOperation()
public AwaitOperation(String name, long timeout)
public Object getResponse()
getResponse in class AbstractOperationpublic WaitNotifyKey getWaitKey()
getWaitKey in interface WaitSupportpublic boolean shouldWait()
shouldWait in interface WaitSupportpublic void onWaitExpire()
onWaitExpire in interface WaitSupportpublic int getFactoryId()
IdentifiedDataSerializablegetFactoryId in interface IdentifiedDataSerializablepublic int getId()
IdentifiedDataSerializablegetId in interface IdentifiedDataSerializablepublic final String getServiceName()
getServiceName in class Operationprotected WaitNotifyKey waitNotifyKey()
Copyright © 2017 Hazelcast, Inc.. All Rights Reserved.