Class ReadRepairer<K,V>

  extended by voldemort.store.routed.ReadRepairer<K,V>
Type Parameters:
K - The class of the key in the fetch
V - The class of the value in the fetch

public class ReadRepairer<K,V>
extends java.lang.Object

Repair out-dated reads, by sending an up-to-date value back to the offending clients This class computes the set of repairs that need to be made.

Constructor Summary
Method Summary
 java.util.List<NodeValue<K,V>> getRepairs(java.util.List<NodeValue<K,V>> nodeValues)
          Compute the repair set from the given values and nodes
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public ReadRepairer()
Method Detail


public java.util.List<NodeValue<K,V>> getRepairs(java.util.List<NodeValue<K,V>> nodeValues)
Compute the repair set from the given values and nodes

nodeValues - The value found on each node
A set of repairs to perform

Jay Kreps, Roshan Sumbaly, Alex Feinberg, Bhupesh Bansal, Lei Gao, Chinmay Soman, Vinoth Chandar, Zhongjie Wu