public class InvocationBuilder extends Object
Constructor and Description |
---|
InvocationBuilder(com.hazelcast.spi.impl.NodeEngineImpl nodeEngine,
String serviceName,
Operation op,
com.hazelcast.nio.Address target) |
InvocationBuilder(com.hazelcast.spi.impl.NodeEngineImpl nodeEngine,
String serviceName,
Operation op,
int partitionId) |
Modifier and Type | Method and Description |
---|---|
Invocation |
build() |
Callback |
getCallback() |
long |
getCallTimeout() |
Operation |
getOp() |
int |
getPartitionId() |
int |
getReplicaIndex() |
String |
getServiceName() |
com.hazelcast.nio.Address |
getTarget() |
int |
getTryCount() |
long |
getTryPauseMillis() |
InvocationBuilder |
setCallback(Callback<Object> callback) |
InvocationBuilder |
setCallTimeout(long callTimeout) |
InvocationBuilder |
setReplicaIndex(int replicaIndex) |
InvocationBuilder |
setTryCount(int tryCount) |
InvocationBuilder |
setTryPauseMillis(long tryPauseMillis) |
public InvocationBuilder(com.hazelcast.spi.impl.NodeEngineImpl nodeEngine, String serviceName, Operation op, int partitionId)
public InvocationBuilder setReplicaIndex(int replicaIndex)
public InvocationBuilder setTryCount(int tryCount)
public InvocationBuilder setTryPauseMillis(long tryPauseMillis)
public InvocationBuilder setCallTimeout(long callTimeout)
public String getServiceName()
public Operation getOp()
public int getReplicaIndex()
public int getTryCount()
public long getTryPauseMillis()
public com.hazelcast.nio.Address getTarget()
public int getPartitionId()
public long getCallTimeout()
public Callback getCallback()
public InvocationBuilder setCallback(Callback<Object> callback)
public Invocation build()
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.