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
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
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 © 2016 Hazelcast, Inc.. All Rights Reserved.