public static class AbstractReadExecutor.NeverSpeculatingReadExecutor extends AbstractReadExecutor
AbstractReadExecutor.NeverSpeculatingReadExecutor
command, 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, makeDigestRequests
public NeverSpeculatingReadExecutor(Keyspace keyspace, ReadCommand command, ConsistencyLevel consistencyLevel, java.util.List<java.net.InetAddress> targetReplicas, long queryStartNanoTime)
public void executeAsync()
AbstractReadExecutor
executeAsync
in class AbstractReadExecutor
public void maybeTryAdditionalReplicas()
AbstractReadExecutor
maybeTryAdditionalReplicas
in class AbstractReadExecutor
public java.util.Collection<java.net.InetAddress> getContactedReplicas()
AbstractReadExecutor
getContactedReplicas
in class AbstractReadExecutor
Copyright © 2009- The Apache Software Foundation