public abstract class Operation extends Object implements DataSerializable, RemotePropagatable<Operation>
| Constructor and Description |
|---|
Operation() |
public boolean isUrgent()
isUrgent in interface RemotePropagatable<Operation>public abstract boolean returnsResponse()
returnsResponse in interface RemotePropagatable<Operation>public abstract Object getResponse()
public String getServiceName()
public final int getPartitionId()
public final Operation setPartitionId(int partitionId)
public final int getReplicaIndex()
public final Operation setReplicaIndex(int replicaIndex)
public String getExecutorName()
public void setExecutorName(String executorName)
public final long getCallId()
getCallId in interface RemotePropagatable<Operation>public boolean validatesTarget()
public final Operation setValidateTarget(boolean validateTarget)
public final NodeEngine getNodeEngine()
public final Operation setNodeEngine(NodeEngine nodeEngine)
public final <T> T getService()
public final Address getCallerAddress()
getCallerAddress in interface RemotePropagatable<Operation>public final Connection getConnection()
getConnection in interface RemotePropagatable<Operation>public final Operation setResponseHandler(ResponseHandler responseHandler)
setResponseHandler in interface RemotePropagatable<Operation>public final ResponseHandler getResponseHandler()
getResponseHandler in interface RemotePropagatable<Operation>public final long getInvocationTime()
public final long getCallTimeout()
public final long getWaitTimeout()
public final void setWaitTimeout(long timeout)
public ExceptionAction onException(Throwable throwable)
public String getCallerUuid()
protected final ILogger getLogger()
public void logError(Throwable e)
logError in interface RemotePropagatable<Operation>public final void writeData(ObjectDataOutput out) throws IOException
DataSerializablewriteData in interface DataSerializableout - outputIOExceptionpublic final void readData(ObjectDataInput in) throws IOException
DataSerializablereadData in interface DataSerializablein - inputIOExceptionprotected abstract void writeInternal(ObjectDataOutput out) throws IOException
IOExceptionprotected abstract void readInternal(ObjectDataInput in) throws IOException
IOExceptionCopyright © 2014 Hazelcast, Inc.. All Rights Reserved.