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, writeDataclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitreadData, writeDataprotected String name
protected String uuid
protected Callable callable
public int getFactoryId()
getFactoryId in interface IdentifiedDataSerializablepublic int getId()
getId in interface IdentifiedDataSerializablepublic final void beforeRun()
throws Exception
public final void afterRun()
throws Exception
public final boolean returnsResponse()
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 © 2021 Hazelcast, Inc.. All rights reserved.