Package org.apache.hadoop.hbase
Interface Waiter.Predicate<E extends Exception>
- All Known Subinterfaces:
Waiter.ExplainingPredicate<E>
- All Known Implementing Classes:
MatcherPredicate,SpaceQuotaHelperForTests.NoFilesToDischarge,SpaceQuotaHelperForTests.SpaceQuotaSnapshotPredicate
- Enclosing class:
- Waiter
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.-
Method Summary
-
Method Details
-
evaluate
Perform a predicate evaluation.- Returns:
- the boolean result of the evaluation.
- Throws:
E- thrown if the predicate evaluation could not evaluate.
-