com.hazelcast.executor.impl.operations
public final class MemberCallableTaskOperation extends Operation implements IdentifiedDataSerializable
Modifier and Type | Field and Description |
---|---|
protected Callable |
callable |
protected String |
name |
protected String |
uuid |
CALL_ID_LOCAL_SKIPPED, GENERIC_PARTITION_ID
Constructor and Description |
---|
MemberCallableTaskOperation() |
MemberCallableTaskOperation(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() |
String |
getServiceName() |
Object |
getTraceIdentifier()
Returns the traceable identifier for this operation.
|
ExceptionAction |
onException(Throwable throwable) |
protected void |
readInternal(ObjectDataInput in) |
boolean |
returnsResponse() |
void |
run() |
protected void |
writeInternal(ObjectDataOutput out) |
getCallerAddress, getCallerUuid, getCallId, getCallTimeout, getConnection, getInvocationTime, getLogger, getNodeEngine, getPartitionId, getReplicaIndex, getResponseHandler, getService, getWaitTimeout, isUrgent, logError, readData, setCallerUuid, setNodeEngine, setPartitionId, setReplicaIndex, setResponseHandler, setService, setServiceName, setValidateTarget, setWaitTimeout, toString, validatesTarget, writeData
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
readData, writeData
protected String name
protected String uuid
protected transient Callable callable
public ExceptionAction onException(Throwable throwable)
onException
in class Operation
public int getFactoryId()
IdentifiedDataSerializable
getFactoryId
in interface IdentifiedDataSerializable
public int getId()
IdentifiedDataSerializable
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()
TraceableOperation
getTraceIdentifier
in interface TraceableOperation
public String getServiceName()
getServiceName
in class Operation
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 © 2015 Hazelcast, Inc.. All Rights Reserved.