Created
October 15, 2015 09:52
-
-
Save undeadcat/77427b3a5c8582ba3bda to your computer and use it in GitHub Desktop.
Beautiful Cassandra
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public abstract class AbstractReadExecutor | |
{ | |
protected void makeDataRequests(Iterable<InetAddress> endpoints) | |
protected void makeDigestRequests(Iterable<InetAddress> endpoints) | |
private void makeRequests(ReadCommand readCommand, Iterable<InetAddress> endpoints) | |
public abstract void maybeTryAdditionalReplicas(); | |
public abstract Collection<InetAddress> getContactedReplicas(); | |
public abstract void executeAsync(); | |
public PartitionIterator get() throws ReadFailureException, ReadTimeoutException, DigestMismatchException | |
public static AbstractReadExecutor getReadExecutor(SinglePartitionReadCommand command, ConsistencyLevel consistencyLevel) throws UnavailableException | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment