public class DataResolver extends ResponseResolver
command, consistency, keyspace, logger, responses| Modifier and Type | Method and Description |
|---|---|
void |
compareResponses()
Compares received responses, potentially triggering a digest mismatch (for a digest resolver) and read-repairs
(for a data resolver).
|
PartitionIterator |
getData() |
boolean |
isDataPresent() |
PartitionIterator |
resolve() |
getMessages, preprocesspublic PartitionIterator getData()
getData in class ResponseResolverpublic boolean isDataPresent()
isDataPresent in class ResponseResolverpublic void compareResponses()
ResponseResolver
This is functionally equivalent to calling ResponseResolver.resolve() and consuming the result, but can be slightly more
efficient in some case due to the fact that we don't care about the result itself. This is used when doing
asynchronous read-repairs.
compareResponses in class ResponseResolverpublic PartitionIterator resolve()
resolve in class ResponseResolverCopyright © 2018 The Apache Software Foundation