public static class AbstractReadExecutor.NeverSpeculatingReadExecutor extends AbstractReadExecutor
AbstractReadExecutor.NeverSpeculatingReadExecutorcommand, handler, targetReplicas, traceState| Constructor and Description |
|---|
NeverSpeculatingReadExecutor(Keyspace keyspace,
ReadCommand command,
ConsistencyLevel consistencyLevel,
java.util.List<java.net.InetAddress> targetReplicas,
long queryStartNanoTime) |
| Modifier and Type | Method and Description |
|---|---|
void |
executeAsync()
send the initial set of requests
|
java.util.Collection<java.net.InetAddress> |
getContactedReplicas()
Get the replicas involved in the [finished] request.
|
void |
maybeTryAdditionalReplicas()
Perform additional requests if it looks like the original will time out.
|
get, getReadExecutor, makeDataRequests, makeDigestRequestspublic NeverSpeculatingReadExecutor(Keyspace keyspace, ReadCommand command, ConsistencyLevel consistencyLevel, java.util.List<java.net.InetAddress> targetReplicas, long queryStartNanoTime)
public void executeAsync()
AbstractReadExecutorexecuteAsync in class AbstractReadExecutorpublic void maybeTryAdditionalReplicas()
AbstractReadExecutormaybeTryAdditionalReplicas in class AbstractReadExecutorpublic java.util.Collection<java.net.InetAddress> getContactedReplicas()
AbstractReadExecutorgetContactedReplicas in class AbstractReadExecutorCopyright © 2018 The Apache Software Foundation