com.hazelcast.executor.impl.client
public class PartitionTargetCallableRequest extends TargetClientRequest
TargetClientRequest
which sends a Callable
task
to a specific target. That specific target address is decided by using partitionId.callId, clientEngine, endpoint, operationService, serializationService, service
BEGIN_AND_END_FLAGS, BEGIN_FLAG, END_FLAG, HEADER_SIZE, LISTENER_EVENT_FLAG, VERSION
buffer
Constructor and Description |
---|
PartitionTargetCallableRequest() |
PartitionTargetCallableRequest(String name,
String uuid,
Callable callable,
int partitionId) |
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() |
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
public String getServiceName()
getServiceName
in class ClientRequest
public int getFactoryId()
Portable
protected Operation prepareOperation()
prepareOperation
in class TargetClientRequest
protected InvocationBuilder getInvocationBuilder(Operation op)
getInvocationBuilder
in class TargetClientRequest
public Permission getRequiredPermission()
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
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.