public abstract class Invocation extends Object implements OperationResponseHandler, Runnable
| Modifier and Type | Method and Description |
|---|---|
protected abstract 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 final Operation op
protected abstract 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. All Rights Reserved.