public class CompositeStateListener extends org.logicalcobwebs.proxool.util.AbstractListenerContainer implements StateListenerIF
StateListenerIF that keeps a list of StateListenerIFs
and notifies them in a thread safe manner.
It also implements ListenerContainerIF
which provides methods for
adding and
removing listeners.STATE_BUSY, STATE_DOWN, STATE_OVERLOADED, STATE_QUIET| Constructor and Description |
|---|
CompositeStateListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
upStateChanged(int upState) |
public void upStateChanged(int upState)
upStateChanged in interface StateListenerIFStateListenerIF.upStateChanged(int)