Package org.apache.nifi.util
Interface RingBuffer.ForEachEvaluator<S>
- Type Parameters:
S
- the type to evaluate
- Enclosing class:
RingBuffer<T>
public static interface RingBuffer.ForEachEvaluator<S>
Defines an interface that can be used to iterate over all of the elements in the RingBuffer via the
RingBuffer.forEach(org.apache.nifi.util.RingBuffer.ForEachEvaluator<T>)
method-
Method Summary
-
Method Details
-
evaluate
Evaluates the given element and returnstrue
if the next element should be evaluated,false
otherwise- Parameters:
value
- the value to evaluate- Returns:
- true if should continue evaluating; false otherwise
-