public abstract class Invocation extends Object implements OperationResponseHandler
Operation.
Using the InvocationFuture, one can wait for the completion of an invocation.| Modifier and Type | Field and Description |
|---|---|
long |
firstInvocationTimeMillis
The first time this invocation got executed.
|
Operation |
op
The
Operation this invocation is evaluating. |
| Modifier and Type | Method and Description |
|---|---|
protected abstract Address |
getTarget() |
com.hazelcast.spi.impl.operationservice.impl.InvocationFuture |
invoke() |
com.hazelcast.spi.impl.operationservice.impl.InvocationFuture |
invokeAsync() |
boolean |
isLocal()
Checks if this OperationResponseHandler is for a local invocation.
|
void |
sendResponse(Operation op,
Object response)
Sends a response.
|
String |
toString() |
public final long firstInvocationTimeMillis
protected abstract Address getTarget()
public final com.hazelcast.spi.impl.operationservice.impl.InvocationFuture invoke()
public final com.hazelcast.spi.impl.operationservice.impl.InvocationFuture invokeAsync()
public void sendResponse(Operation op, Object response)
OperationResponseHandlersendResponse in interface OperationResponseHandlerop - the operation that got executed.response - the response of the operation that got executed.public boolean isLocal()
OperationResponseHandlerisLocal in interface OperationResponseHandlerCopyright © 2016 Hazelcast, Inc.. All Rights Reserved.