com.hazelcast.executor.impl.client
public class SpecificTargetCallableRequest extends TargetClientRequest
TargetClientRequest
which sends
a Callable
task to the given target address.
Carries address with it for the case of dummy client. In case of the dummy client the node that got the request
will redirect the request to the chosen node.callId, clientEngine, endpoint, operationService, serializationService, service
BEGIN_AND_END_FLAGS, BEGIN_FLAG, END_FLAG, HEADER_SIZE, LISTENER_EVENT_FLAG, VERSION
buffer
Constructor and Description |
---|
SpecificTargetCallableRequest() |
SpecificTargetCallableRequest(String name,
String uuid,
Callable callable,
Address target) |
Modifier and Type | Method and Description |
---|---|
int |
getClassId()
Returns class identifier for this portable class.
|
int |
getFactoryId()
Returns PortableFactory id for this portable class
|
protected InvocationBuilder |
getInvocationBuilder(Operation op) |
Permission |
getRequiredPermission() |
String |
getServiceName() |
Address |
getTarget() |
protected Operation |
prepareOperation() |
void |
read(PortableReader reader) |
void |
write(PortableWriter writer) |
filter, onFailure, onResponse, process
getCallId, getClassVersion, getClientEngine, getDistributedObjectName, getDistributedObjectType, getEndpoint, getMethodName, getParameters, getService, readPortable, setCallId, setClientEngine, setEndpoint, setOperationService, setSerializationService, setService, writePortable
addFlag, create, createForDecode, createForEncode, createForEncode, getCorrelationId, getDataOffset, getFlags, getFrameLength, getMessageType, getPartitionId, getVersion, isComplete, isFlagSet, isRetryable, isUrgent, readFrom, setCorrelationId, setDataOffset, setFrameLength, setMessageType, setPartitionId, setRetryable, setVersion, toString, updateFrameLength, wrapForDecode, wrapForEncode, writeTo
buffer, getBoolean, getByteArray, getData, getDataList, getDataSet, getInt, getLong, getStringUtf8, index, index, int32Get, int32Set, set, set, set, set, set, set, set, uint16Get, uint16Put, uint32Get, uint32Put, uint8Get, uint8Put, wrap
protected InvocationBuilder getInvocationBuilder(Operation op)
getInvocationBuilder
in class TargetClientRequest
protected Operation prepareOperation()
prepareOperation
in class TargetClientRequest
public String getServiceName()
getServiceName
in class ClientRequest
public int getFactoryId()
Portable
public int getClassId()
Portable
public void write(PortableWriter writer) throws IOException
write
in class ClientRequest
IOException
public void read(PortableReader reader) throws IOException
read
in class ClientRequest
IOException
public Address getTarget()
public Permission getRequiredPermission()
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.