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,
Callable callable) |
Modifier and Type | Method and Description |
---|---|
void |
afterRun() |
void |
beforeRun() |
int |
getFactoryId() |
int |
getId() |
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, 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
readData, writeData
protected String name
protected String uuid
protected Callable callable
public int getFactoryId()
getFactoryId
in interface IdentifiedDataSerializable
public int getId()
getId
in interface IdentifiedDataSerializable
public final void beforeRun() throws Exception
public final void afterRun() throws Exception
public final boolean returnsResponse()
returnsResponse
in class Operation
public final Object getResponse()
getResponse
in class Operation
public Object getTraceIdentifier()
getTraceIdentifier
in interface TraceableOperation
protected void writeInternal(ObjectDataOutput out) throws IOException
writeInternal
in class Operation
IOException
protected void readInternal(ObjectDataInput in) throws IOException
readInternal
in class Operation
IOException
Copyright © 2014 Hazelcast, Inc.. All rights reserved.