use of voldemort.cluster.failuredetector.MutableStoreConnectionVerifier in project voldemort by voldemort.
the class FailureDetectorTestUtils method recordException.
public static void recordException(FailureDetector failureDetector, Node node, long requestTime, UnreachableStoreException e) {
((MutableStoreConnectionVerifier) failureDetector.getConfig().getConnectionVerifier()).setErrorStore(node, new UnreachableStoreException("junit injected test error"));
failureDetector.recordException(node, requestTime, e);
}
Aggregations