public class DigestResolver extends ResponseResolver
command, consistency, keyspace, logger, responses
Constructor and Description |
---|
DigestResolver(Keyspace keyspace,
ReadCommand command,
ConsistencyLevel consistency,
int maxResponseCount) |
Modifier and Type | Method and Description |
---|---|
PartitionIterator |
getData()
Special case of resolve() so that CL.ONE reads never throw DigestMismatchException in the foreground
|
boolean |
isDataPresent() |
void |
preprocess(MessageIn<ReadResponse> message) |
PartitionIterator |
resolve() |
getMessages
public DigestResolver(Keyspace keyspace, ReadCommand command, ConsistencyLevel consistency, int maxResponseCount)
public void preprocess(MessageIn<ReadResponse> message)
preprocess
in class ResponseResolver
public PartitionIterator getData()
getData
in class ResponseResolver
public PartitionIterator resolve() throws DigestMismatchException
resolve
in class ResponseResolver
DigestMismatchException
public boolean isDataPresent()
isDataPresent
in class ResponseResolver
Copyright © 2015 The Apache Software Foundation