voldemort.cluster.failuredetector
Class BasicStoreVerifier<K,V,T>
java.lang.Object
voldemort.cluster.failuredetector.BasicStoreVerifier<K,V,T>
- All Implemented Interfaces:
- StoreVerifier
public class BasicStoreVerifier<K,V,T>
- extends java.lang.Object
- implements StoreVerifier
BasicStoreVerifier is used to test Node->Store mappings when the mappings are
already present at the time of FailureDetector implementation creation. This
is usually (always) in the case of tests rather than running "live."
| Fields inherited from interface voldemort.cluster.failuredetector.StoreVerifier |
KEY |
|
Method Summary |
void |
verifyStore(Node node)
Verifies the ability to connect to a Store for this node. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BasicStoreVerifier
public BasicStoreVerifier(java.util.Map<java.lang.Integer,Store<K,V,T>> stores,
K key)
verifyStore
public void verifyStore(Node node)
throws UnreachableStoreException,
VoldemortException
- Description copied from interface:
StoreVerifier
- Verifies the ability to connect to a Store for this node.
- Specified by:
verifyStore in interface StoreVerifier
- Parameters:
node - Node to test
- Throws:
UnreachableStoreException
VoldemortException
Jay Kreps, Roshan Sumbaly, Alex Feinberg, Bhupesh Bansal, Lei Gao