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() |
void |
sendResponse(Operation op,
Object response)
Sends a response.
|
String |
toString() |
public final long firstInvocationTimeMillis
public void sendResponse(Operation op, Object response)
OperationResponseHandler
sendResponse
in interface OperationResponseHandler
op
- the operation that got executed.response
- the response of the operation that got executed.public final com.hazelcast.spi.impl.operationservice.impl.InvocationFuture invoke()
public final com.hazelcast.spi.impl.operationservice.impl.InvocationFuture invokeAsync()
protected abstract Address getTarget()
Copyright © 2017 Hazelcast, Inc.. All Rights Reserved.