|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.logicalcobwebs.proxool.util.AbstractListenerContainer
org.logicalcobwebs.proxool.CompositeStateListener
public class CompositeStateListener
A 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.
| Field Summary |
|---|
| Fields inherited from interface org.logicalcobwebs.proxool.StateListenerIF |
|---|
STATE_BUSY, STATE_DOWN, STATE_OVERLOADED, STATE_QUIET |
| Constructor Summary | |
|---|---|
CompositeStateListener()
|
|
| Method Summary | |
|---|---|
void |
upStateChanged(int upState)
|
| Methods inherited from class org.logicalcobwebs.proxool.util.AbstractListenerContainer |
|---|
addListener, isEmpty, removeListener |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CompositeStateListener()
| Method Detail |
|---|
public void upStateChanged(int upState)
upStateChanged in interface StateListenerIFStateListenerIF.upStateChanged(int)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||