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() |
int |
getId() |
Object |
getResponse() |
String |
getServiceName() |
WaitNotifyKey |
getWaitKey() |
void |
onWaitExpire() |
boolean |
returnsResponse() |
void |
run() |
boolean |
shouldWait() |
protected WaitNotifyKey |
waitNotifyKey() |
getName, readInternal, writeInternal
afterRun, beforeRun
getCallerAddress, getCallerUuid, getCallId, getCallTimeout, getConnection, getExecutorName, getInvocationTime, getLogger, getNodeEngine, getPartitionId, getReplicaIndex, getResponseHandler, getService, getStartTime, getWaitTimeout, isUrgent, logError, onException, readData, setCallerUuid, setExecutorName, setNodeEngine, setPartitionId, setReplicaIndex, setResponseHandler, setService, setServiceName, setValidateTarget, setWaitTimeout, validatesTarget, writeData
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, 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()
getFactoryId
in interface IdentifiedDataSerializable
public int getId()
getId
in interface IdentifiedDataSerializable
public boolean returnsResponse()
returnsResponse
in class AbstractOperation
public final String getServiceName()
getServiceName
in class Operation
protected WaitNotifyKey waitNotifyKey()
Copyright © 2014 Hazelcast, Inc.. All rights reserved.