public final class BasicTargetInvocation extends Object
BasicInvocation
evaluates a Operation Invocation for a particular target running on top of the
BasicOperationService
.Modifier and Type | Field and Description |
---|---|
protected long |
callTimeout |
protected ILogger |
logger |
protected NodeEngineImpl |
nodeEngine |
protected Operation |
op |
protected int |
partitionId |
protected long |
pendingResponseReceivedMillis
The time in millis when the response of the primary has been received.
|
protected int |
replicaIndex |
protected String |
serviceName |
protected int |
tryCount |
protected long |
tryPauseMillis |
Constructor and Description |
---|
BasicTargetInvocation(NodeEngineImpl nodeEngine,
String serviceName,
Operation op,
Address target,
int tryCount,
long tryPauseMillis,
long callTimeout,
Callback<Object> callback,
String executorName,
boolean resultDeserialized) |
Modifier and Type | Method and Description |
---|---|
int |
getPartitionId() |
int |
getReplicaIndex() |
String |
getServiceName() |
Address |
getTarget() |
void |
handleBackupTimeout(long timeoutMillis) |
void |
handleOperationTimeout() |
com.hazelcast.spi.impl.BasicInvocationFuture |
invoke() |
boolean |
isCallTarget(MemberImpl leftMember) |
boolean |
isLocal() |
void |
notify(Object obj) |
void |
run() |
void |
sendResponse(Object obj) |
void |
signalOneBackupComplete() |
String |
toString() |
protected long pendingResponseReceivedMillis
protected final long callTimeout
protected final NodeEngineImpl nodeEngine
protected final String serviceName
protected final Operation op
protected final int partitionId
protected final int replicaIndex
protected final int tryCount
protected final long tryPauseMillis
protected final ILogger logger
public Address getTarget()
public String getServiceName()
public int getReplicaIndex()
public int getPartitionId()
public final com.hazelcast.spi.impl.BasicInvocationFuture invoke()
public void sendResponse(Object obj)
sendResponse
in interface ResponseHandler
public boolean isLocal()
isLocal
in interface ResponseHandler
public boolean isCallTarget(MemberImpl leftMember)
public void notify(Object obj)
public void signalOneBackupComplete()
public void handleOperationTimeout()
public void handleBackupTimeout(long timeoutMillis)
Copyright © 2014 Hazelcast, Inc.. All Rights Reserved.