org.jgroups.protocols.ring

Class RingNodeFlowControl

public class RingNodeFlowControl extends Object

Field Summary
protected Loglog
Constructor Summary
RingNodeFlowControl(int initialWindow, float windowReduceFactor, int belowThresholdAdvanceAmount, float aboveThresholdAdvanceAmount)
RingNodeFlowControl()
Method Summary
intgetAllowedToBroadcast(RingToken token)
intgetBacklog()
intgetBacklogDifference()
intgetPreviousBacklog()
voidinvalidate()
voidsetBacklog(int backlog)
voidsetPreviousBacklog()
voidupdateWindow(RingToken token)
voidviewChanged(int memberCount)

Field Detail

log

protected final Log log

Constructor Detail

RingNodeFlowControl

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

RingNodeFlowControl

public RingNodeFlowControl()

Method Detail

getAllowedToBroadcast

public int getAllowedToBroadcast(RingToken token)

getBacklog

public int getBacklog()

getBacklogDifference

public int getBacklogDifference()

getPreviousBacklog

public int getPreviousBacklog()

invalidate

public void invalidate()

setBacklog

public void setBacklog(int backlog)

setPreviousBacklog

public void setPreviousBacklog()

updateWindow

public void updateWindow(RingToken token)

viewChanged

public void viewChanged(int memberCount)
Copyright ? 1998-2005 Bela Ban. All Rights Reserved.