|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.logicalcobwebs.proxool.util.AbstractListenerContainer org.logicalcobwebs.proxool.CompositeStateListener
public class CompositeStateListener
A StateListenerIF
that keeps a list of StateListenerIF
s
and notifies them in a thread safe manner.
It also implements ListenerContainerIF
which provides methods for
adding
and
removing
listeners.
Field Summary | |
---|---|
(package private) static Log |
LOG
|
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, getListeners, isEmpty, removeListener |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
static final Log LOG
Constructor Detail |
---|
public CompositeStateListener()
Method Detail |
---|
public void upStateChanged(int upState)
upStateChanged
in interface StateListenerIF
StateListenerIF.upStateChanged(int)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |