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.
| 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. |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…