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() |
getMessagespublic DigestResolver(Keyspace keyspace, ReadCommand command, ConsistencyLevel consistency, int maxResponseCount)
public void preprocess(MessageIn<ReadResponse> message)
preprocess in class ResponseResolverpublic PartitionIterator getData()
getData in class ResponseResolverpublic PartitionIterator resolve() throws DigestMismatchException
resolve in class ResponseResolverDigestMismatchExceptionpublic boolean isDataPresent()
isDataPresent in class ResponseResolverCopyright © 2015 The Apache Software Foundation