Package org.jgroups.util
Class Buffer.Missing
- java.lang.Object
-
- org.jgroups.util.Buffer.Missing
-
- All Implemented Interfaces:
Buffer.Visitor<T>
protected class Buffer.Missing extends java.lang.Object implements Buffer.Visitor<T>
-
-
Field Summary
Fields Modifier and Type Field Description protected intmax_num_msgsprotected SeqnoListmissing_elementsprotected intnum_msgs
-
Constructor Summary
Constructors Modifier Constructor Description protectedMissing(long start, int max_number_of_msgs)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected SeqnoListgetMissingElements()booleanvisit(long seqno, T element)Iteration over the table, used byDynamicBuffer.forEach(long, long, Buffer.Visitor, boolean).
-
-
-
Field Detail
-
missing_elements
protected final SeqnoList missing_elements
-
max_num_msgs
protected final int max_num_msgs
-
num_msgs
protected int num_msgs
-
-
Method Detail
-
getMissingElements
protected SeqnoList getMissingElements()
-
visit
public boolean visit(long seqno, T element)Description copied from interface:Buffer.VisitorIteration over the table, used byDynamicBuffer.forEach(long, long, Buffer.Visitor, boolean).- Specified by:
visitin interfaceBuffer.Visitor<T>- 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
-
-