Package org.jgroups.util
Class Table.Missing
- java.lang.Object
-
- org.jgroups.util.Table.Missing
-
- All Implemented Interfaces:
Table.Visitor<T>
protected class Table.Missing extends java.lang.Object implements Table.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, int row, int column)
Iteration over the table, used byTable.forEach(long,long,org.jgroups.util.Table.Visitor)
.
-
-
-
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, int row, int column)
Description copied from interface:Table.Visitor
Iteration over the table, used byTable.forEach(long,long,org.jgroups.util.Table.Visitor)
.- Specified by:
visit
in interfaceTable.Visitor<T>
- Parameters:
seqno
- The current seqnoelement
- The element at matrix[row][column]row
- The current rowcolumn
- The current column- Returns:
- True if we should continue the iteration, false if we should break out of the iteration
-
-