public final class TargetInvocation extends Object
Invocation
evaluates a Operation Invocation for a particular target running on top of the
OperationServiceImpl
.Constructor and Description |
---|
TargetInvocation(NodeEngineImpl nodeEngine,
String serviceName,
Operation op,
Address target,
int tryCount,
long tryPauseMillis,
long callTimeout,
Object callback,
boolean resultDeserialized) |
Modifier and Type | Method and Description |
---|---|
Address |
getTarget() |
com.hazelcast.spi.impl.operationservice.impl.InvocationFuture |
invoke() |
void |
invokeAsync() |
boolean |
isLocal() |
void |
run() |
void |
sendResponse(Object obj) |
String |
toString() |
public TargetInvocation(NodeEngineImpl nodeEngine, String serviceName, Operation op, Address target, int tryCount, long tryPauseMillis, long callTimeout, Object callback, boolean resultDeserialized)
public Address getTarget()
public boolean isLocal()
isLocal
in interface ResponseHandler
public final com.hazelcast.spi.impl.operationservice.impl.InvocationFuture invoke()
public final void invokeAsync()
public void sendResponse(Object obj)
sendResponse
in interface ResponseHandler
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.