public abstract class AbstractFlowCreditManager extends Object implements FlowCreditManager
FlowCreditManager.FlowCreditManagerListener| Constructor and Description |
|---|
AbstractFlowCreditManager() |
| Modifier and Type | Method and Description |
|---|---|
void |
addStateListener(FlowCreditManager.FlowCreditManagerListener listener) |
protected void |
notifyIncreaseBytesCredit() |
boolean |
removeListener(FlowCreditManager.FlowCreditManagerListener listener) |
protected void |
setSuspended(boolean suspended) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waithasCredit, restoreCredit, useCreditForMessagepublic final void addStateListener(FlowCreditManager.FlowCreditManagerListener listener)
addStateListener in interface FlowCreditManagerpublic final boolean removeListener(FlowCreditManager.FlowCreditManagerListener listener)
removeListener in interface FlowCreditManagerprotected final void setSuspended(boolean suspended)
protected final void notifyIncreaseBytesCredit()
Copyright © 2006–2016 The Apache Software Foundation. All rights reserved.