public final class PartitionInvocation extends Object
Invocation evaluates a Operation Invocation for a particular partition running on top of the
OperationServiceImpl.| Constructor and Description |
|---|
PartitionInvocation(NodeEngineImpl nodeEngine,
String serviceName,
Operation op,
int partitionId,
int replicaIndex,
int tryCount,
long tryPauseMillis,
long callTimeout,
ExecutionCallback callback,
boolean resultDeserialized) |
| Modifier and Type | Method and Description |
|---|---|
Address |
getTarget() |
com.hazelcast.spi.impl.operationservice.impl.InvocationFuture |
invoke() |
void |
invokeAsync() |
boolean |
isLocal()
Checks if this OperationResponseHandler is for a local invocation.
|
void |
run() |
void |
sendResponse(Operation op,
Object obj)
Sends a response.
|
String |
toString() |
public PartitionInvocation(NodeEngineImpl nodeEngine, String serviceName, Operation op, int partitionId, int replicaIndex, int tryCount, long tryPauseMillis, long callTimeout, ExecutionCallback callback, boolean resultDeserialized)
public Address getTarget()
public boolean isLocal()
OperationResponseHandlerisLocal in interface OperationResponseHandlerpublic final com.hazelcast.spi.impl.operationservice.impl.InvocationFuture invoke()
public final void invokeAsync()
public void sendResponse(Operation op, Object obj)
OperationResponseHandlersendResponse in interface OperationResponseHandlerop - the operation that got executed.obj - the response of the operation that got executed.Copyright © 2016 Hazelcast, Inc.. All Rights Reserved.