public final class CallableTaskOperation extends Operation implements IdentifiedDataSerializable
| Modifier and Type | Field and Description |
|---|---|
protected Callable |
callable |
protected String |
name |
protected String |
uuid |
| Constructor and Description |
|---|
CallableTaskOperation() |
CallableTaskOperation(String name,
String uuid,
Data callableData) |
| Modifier and Type | Method and Description |
|---|---|
void |
afterRun() |
void |
beforeRun() |
int |
getFactoryId()
Returns DataSerializableFactory factory id for this class.
|
int |
getId()
Returns type identifier for this class.
|
Object |
getResponse() |
Object |
getTraceIdentifier() |
protected void |
readInternal(ObjectDataInput in) |
boolean |
returnsResponse() |
void |
run() |
protected void |
writeInternal(ObjectDataOutput out) |
getCallerAddress, getCallerUuid, getCallId, getCallTimeout, getConnection, getExecutorName, getInvocationTime, getLogger, getNodeEngine, getPartitionId, getReplicaIndex, getResponseHandler, getService, getServiceName, 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, waitreadData, writeDataprotected String name
protected String uuid
protected transient Callable callable
public int getFactoryId()
IdentifiedDataSerializablegetFactoryId in interface IdentifiedDataSerializablepublic int getId()
IdentifiedDataSerializablegetId in interface IdentifiedDataSerializablepublic final void beforeRun()
throws Exception
public final void afterRun()
throws Exception
public final boolean returnsResponse()
returnsResponse in interface RemotePropagatable<Operation>returnsResponse in class Operationpublic final Object getResponse()
getResponse in class Operationpublic Object getTraceIdentifier()
getTraceIdentifier in interface TraceableOperationprotected void writeInternal(ObjectDataOutput out) throws IOException
writeInternal in class OperationIOExceptionprotected void readInternal(ObjectDataInput in) throws IOException
readInternal in class OperationIOExceptionCopyright © 2015 Hazelcast, Inc.. All Rights Reserved.