org.jgroups.protocols.ring
Class RingNodeFlowControl

java.lang.Object
  extended by org.jgroups.protocols.ring.RingNodeFlowControl

public class RingNodeFlowControl
extends java.lang.Object


Field Summary
protected  org.apache.commons.logging.Log log
           
 
Constructor Summary
RingNodeFlowControl()
           
RingNodeFlowControl(int initialWindow, float windowReduceFactor, int belowThresholdAdvanceAmount, float aboveThresholdAdvanceAmount)
           
 
Method Summary
 int getAllowedToBroadcast(RingToken token)
           
 int getBacklog()
           
 int getBacklogDifference()
           
 int getPreviousBacklog()
           
 void invalidate()
           
 void setBacklog(int backlog)
           
 void setPreviousBacklog()
           
 void updateWindow(RingToken token)
           
 void viewChanged(int memberCount)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected final org.apache.commons.logging.Log log
Constructor Detail

RingNodeFlowControl

public RingNodeFlowControl(int initialWindow,
                           float windowReduceFactor,
                           int belowThresholdAdvanceAmount,
                           float aboveThresholdAdvanceAmount)

RingNodeFlowControl

public RingNodeFlowControl()
Method Detail

invalidate

public void invalidate()

getBacklog

public int getBacklog()

setBacklog

public void setBacklog(int backlog)

getBacklogDifference

public int getBacklogDifference()

getPreviousBacklog

public int getPreviousBacklog()

setPreviousBacklog

public void setPreviousBacklog()

viewChanged

public void viewChanged(int memberCount)

getAllowedToBroadcast

public int getAllowedToBroadcast(RingToken token)

updateWindow

public void updateWindow(RingToken token)


Copyright ? 1998-2006 Bela Ban. All Rights Reserved.