org.jgroups.protocols.pbcast
Class NAKACK2.Counter

java.lang.Object
  extended by org.jgroups.protocols.pbcast.NAKACK2.Counter
All Implemented Interfaces:
Table.Visitor<Message>
Enclosing class:
NAKACK2

protected static class NAKACK2.Counter
extends java.lang.Object
implements Table.Visitor<Message>


Field Summary
protected  boolean count_size
           
protected  long result
           
 
Constructor Summary
NAKACK2.Counter(boolean count_size)
           
 
Method Summary
 long getResult()
           
 boolean visit(long seqno, Message element, int row, int column)
          Iteration over the table, used by Table.forEach(long,long,org.jgroups.util.Table.Visitor).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

count_size

protected final boolean count_size

result

protected long result
Constructor Detail

NAKACK2.Counter

public NAKACK2.Counter(boolean count_size)
Method Detail

getResult

public long getResult()

visit

public boolean visit(long seqno,
                     Message element,
                     int row,
                     int column)
Description copied from interface: Table.Visitor
Iteration over the table, used by Table.forEach(long,long,org.jgroups.util.Table.Visitor).

Specified by:
visit in interface Table.Visitor<Message>
Parameters:
seqno - The current seqno
element - The element at matrix[row][column]
row - The current row
column - The current column
Returns:
True if we should continue the iteration, false if we should break out of the iteration


Copyright © 1998-2012 Bela Ban / Red Hat. All Rights Reserved.