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