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 int
max_num_msgs
protected SeqnoList
missing_elements
protected int
num_msgs
-
Constructor Summary
Constructors Modifier Constructor Description protected
Missing(long start, int max_number_of_msgs)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected SeqnoList
getMissingElements()
boolean
visit(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.Visitor
Iteration over the table, used byDynamicBuffer.forEach(long, long, Buffer.Visitor, boolean)
.- Specified by:
visit
in 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
-
-