org.jgroups.protocols.ring

Class RingNodeFlowControl


public class RingNodeFlowControl
extends java.lang.Object

Field Summary

protected 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)

Field Details

log

protected Log log

Constructor Details

RingNodeFlowControl

public RingNodeFlowControl()


RingNodeFlowControl

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

Method Details

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 B) 2001,2002 www.jgroups.com . All Rights Reserved.