public class RowDataResolver extends AbstractRowResolver
Modifier and Type | Field and Description |
---|---|
java.util.List<AsyncOneResponse> |
repairResults |
key, keyspaceName, logger, replies
Constructor and Description |
---|
RowDataResolver(java.lang.String keyspaceName,
java.nio.ByteBuffer key,
IDiskAtomFilter qFilter,
long timestamp) |
Modifier and Type | Method and Description |
---|---|
Row |
getData()
returns the data response without comparing with any digests
|
int |
getMaxLiveCount() |
boolean |
isDataPresent() |
Row |
resolve()
This Method resolves the responses that are passed in .
|
static java.util.List<AsyncOneResponse> |
scheduleRepairs(ColumnFamily resolved,
java.lang.String keyspaceName,
DecoratedKey key,
java.util.List<ColumnFamily> versions,
java.util.List<java.net.InetAddress> endpoints)
For each row version, compare with resolved (the superset of all row versions);
if it is missing anything, send a mutation to the endpoint it come from.
|
getMessages, preprocess
public java.util.List<AsyncOneResponse> repairResults
public RowDataResolver(java.lang.String keyspaceName, java.nio.ByteBuffer key, IDiskAtomFilter qFilter, long timestamp)
public Row resolve() throws DigestMismatchException
IResponseResolver
DigestMismatchException
public static java.util.List<AsyncOneResponse> scheduleRepairs(ColumnFamily resolved, java.lang.String keyspaceName, DecoratedKey key, java.util.List<ColumnFamily> versions, java.util.List<java.net.InetAddress> endpoints)
public Row getData()
IResponseResolver
public boolean isDataPresent()
public int getMaxLiveCount()
Copyright © 2013 The Apache Software Foundation