MCPcopy Create free account
hub / github.com/apache/hbase / Predicate

Interface Predicate

hbase-common/src/test/java/org/apache/hadoop/hbase/Waiter.java:85–93  ·  view source on GitHub ↗

A predicate 'closure' used by the Waiter#waitFor(Configuration, long, Predicate) and Waiter#waitFor(Configuration, long, Predicate) and Waiter#waitFor(Configuration, long, long, boolean, Predicate) methods.

Source from the content-addressed store, hash-verified

83 * {@link Waiter#waitFor(Configuration, long, long, boolean, Predicate)} methods.
84 */
85 @InterfaceAudience.Private
86 public interface Predicate<E extends Exception> {
87 /**
88 * Perform a predicate evaluation.
89 * @return the boolean result of the evaluation.
90 * @throws E thrown if the predicate evaluation could not evaluate.
91 */
92 boolean evaluate() throws E;
93 }
94
95 /**
96 * A mixin interface, can be used with {@link Waiter} to explain failed state.

Callers

nothing calls this directly

Implementers 15

SystemExitRulehbase-common/src/test/java/org/apache/
MatcherPredicatehbase-common/src/test/java/org/apache/
TestIOFencinghbase-server/src/test/java/org/apache/
TestClientClusterMetricshbase-server/src/test/java/org/apache/
HBaseTestingUtilityhbase-server/src/test/java/org/apache/
TestFullLogReconstructionhbase-server/src/test/java/org/apache/
TestSplitMergehbase-server/src/test/java/org/apache/
Noophbase-server/src/test/java/org/apache/
TestServerInternalsTracinghbase-server/src/test/java/org/apache/
TestMovedRegionCachehbase-server/src/test/java/org/apache/
TestNamespacehbase-server/src/test/java/org/apache/
TestClientClusterStatushbase-server/src/test/java/org/apache/

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…