public class AwaitOperation extends AbstractNamedOperation implements WaitSupport, IdentifiedDataSerializable
name| 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() |
boolean |
returnsResponse() |
void |
run() |
boolean |
shouldWait() |
protected WaitNotifyKey |
waitNotifyKey() |
getName, readInternal, writeInternalafterRun, beforeRungetCallerAddress, getCallerUuid, getCallId, getCallTimeout, getConnection, getExecutorName, getInvocationTime, getLogger, getNodeEngine, getPartitionId, getReplicaIndex, getResponseHandler, getService, getWaitTimeout, isUrgent, logError, onException, readData, setCallerUuid, setExecutorName, setNodeEngine, 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 boolean returnsResponse()
returnsResponse in interface RemotePropagatable<Operation>returnsResponse in class AbstractOperationpublic final String getServiceName()
getServiceName in class Operationprotected WaitNotifyKey waitNotifyKey()
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.