|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.cassandra.service.ReadResponseResolver
public class ReadResponseResolver
This class is used by all read functions and is called by the Quorum when at least a few of the servers (few is specified in Quorum) have sent the response . The resolve function then schedules read repair and resolution of read data from the various servers.
Constructor Summary | |
---|---|
ReadResponseResolver()
|
Method Summary | |
---|---|
boolean |
isDataPresent(java.util.List<Message> responses)
|
Row |
resolve(java.util.List<Message> responses)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ReadResponseResolver()
Method Detail |
---|
public Row resolve(java.util.List<Message> responses) throws DigestMismatchException
resolve
in interface IResponseResolver<Row>
DigestMismatchException
public boolean isDataPresent(java.util.List<Message> responses)
isDataPresent
in interface IResponseResolver<Row>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |