Package org.jgroups.util
Interface Buffer.Visitor<T>
-
- All Known Implementing Classes:
Buffer.HighestDeliverable,Buffer.Missing,Buffer.NumDeliverable,Buffer.Remover
public static interface Buffer.Visitor<T>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanvisit(long seqno, T element)Iteration over the table, used byDynamicBuffer.forEach(long, long, Buffer.Visitor, boolean).
-
-
-
Method Detail
-
visit
boolean visit(long seqno, T element)Iteration over the table, used byDynamicBuffer.forEach(long, long, Buffer.Visitor, boolean).- Parameters:
seqno- The current seqnoelement- The element at matrix[row][column]- Returns:
- True if we should continue the iteration, false if we should break out of the iteration
-
-