org.apache.qpid.server.flow
Class AbstractFlowCreditManager
java.lang.Object
org.apache.qpid.server.flow.AbstractFlowCreditManager
- All Implemented Interfaces:
- FlowCreditManager
- Direct Known Subclasses:
- BytesOnlyCreditManager, CreditCreditManager, LimitlessCreditManager, MessageAndBytesCreditManager, MessageOnlyCreditManager, Pre0_10CreditManager, WindowCreditManager
public abstract class AbstractFlowCreditManager
- extends Object
- implements FlowCreditManager
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_suspended
protected final AtomicBoolean _suspended
AbstractFlowCreditManager
public AbstractFlowCreditManager()
addStateListener
public final void addStateListener(FlowCreditManager.FlowCreditManagerListener listener)
- Specified by:
addStateListener
in interface FlowCreditManager
removeListener
public final boolean removeListener(FlowCreditManager.FlowCreditManagerListener listener)
- Specified by:
removeListener
in interface FlowCreditManager
setSuspended
protected final void setSuspended(boolean suspended)
notifyIncreaseBytesCredit
protected final void notifyIncreaseBytesCredit()
Licensed to the Apache Software Foundation