public class DigestResolver<E extends Endpoints<E>,P extends ReplicaPlan.ForRead<E>> extends ResponseResolver<E,P>
Modifier and Type | Class and Description |
---|---|
static class |
DigestResolver.DigestResolverDebugResult |
command, logger, queryStartNanoTime, replicaPlan, responses
Constructor and Description |
---|
DigestResolver(ReadCommand command,
ReplicaPlan.Shared<E,P> replicaPlan,
long queryStartNanoTime) |
Modifier and Type | Method and Description |
---|---|
PartitionIterator |
getData() |
DigestResolver.DigestResolverDebugResult[] |
getDigestsByEndpoint() |
boolean |
hasTransientResponse() |
boolean |
isDataPresent() |
void |
preprocess(Message<ReadResponse> message) |
boolean |
responsesMatch() |
getMessages, replicaPlan
public DigestResolver(ReadCommand command, ReplicaPlan.Shared<E,P> replicaPlan, long queryStartNanoTime)
public void preprocess(Message<ReadResponse> message)
preprocess
in class ResponseResolver<E extends Endpoints<E>,P extends ReplicaPlan.ForRead<E>>
public boolean hasTransientResponse()
public PartitionIterator getData()
public boolean responsesMatch()
public boolean isDataPresent()
isDataPresent
in class ResponseResolver<E extends Endpoints<E>,P extends ReplicaPlan.ForRead<E>>
public DigestResolver.DigestResolverDebugResult[] getDigestsByEndpoint()
Copyright © 2009-2022 The Apache Software Foundation