public class AwaitOperation extends AbstractNamedOperation implements BlockingOperation
name
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() |
getName, readInternal, toString, writeInternal
afterRun, beforeRun, getCallerAddress, getCallerUuid, getCallId, getCallTimeout, getConnection, getInvocationTime, getLogger, getNodeEngine, getOperationResponseHandler, getPartitionId, getReplicaIndex, getService, getWaitTimeout, isUrgent, logError, onExecutionFailure, onInvocationException, onSetCallId, readData, returnsResponse, sendResponse, setCallerUuid, setNodeEngine, setOperationResponseHandler, setPartitionId, setReplicaIndex, setService, setServiceName, setValidateTarget, setWaitTimeout, toString, validatesTarget, writeData
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getWaitTimeout
getPartitionId
readData, writeData
public AwaitOperation()
public AwaitOperation(String name, long timeout)
public Object getResponse()
getResponse
in class Operation
public WaitNotifyKey getWaitKey()
getWaitKey
in interface BlockingOperation
public boolean shouldWait()
shouldWait
in interface BlockingOperation
public void onWaitExpire()
onWaitExpire
in interface BlockingOperation
public int getId()
IdentifiedDataSerializable
getId
in interface IdentifiedDataSerializable
public final String getServiceName()
getServiceName
in class Operation
public final int getFactoryId()
IdentifiedDataSerializable
getFactoryId
in interface IdentifiedDataSerializable
Copyright © 2016 Hazelcast, Inc.. All Rights Reserved.