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, wait
hasCredit, restoreCredit, useCreditForMessage
public final void addStateListener(FlowCreditManager.FlowCreditManagerListener listener)
addStateListener
in interface FlowCreditManager
public final boolean removeListener(FlowCreditManager.FlowCreditManagerListener listener)
removeListener
in interface FlowCreditManager
protected final void setSuspended(boolean suspended)
protected final void notifyIncreaseBytesCredit()
Copyright © 2006–2016 The Apache Software Foundation. All rights reserved.