org.logicalcobwebs.proxool
Interface StateListenerIF
- All Known Implementing Classes:
- CompositeStateListener, StateListenerTest.TestStateListener, StateResultMonitor
public interface StateListenerIF
Monitors the state of the pool so you can see whether it is
quiet, busy, overloaded, or down.
String alias = "myPool";
StateListenerIF myStateListener = new MyStateListener();
ProxoolFacade.addStateListenerIF
(alias, myStateListener);
- Version:
- $Revision: 1.5 $, $Date: 2003/03/03 11:11:58 $
- Author:
- billhorsman, $Author: billhorsman $ (current maintainer)
STATE_QUIET
static final int STATE_QUIET
- See Also:
- Constant Field Values
STATE_BUSY
static final int STATE_BUSY
- See Also:
- Constant Field Values
STATE_OVERLOADED
static final int STATE_OVERLOADED
- See Also:
- Constant Field Values
STATE_DOWN
static final int STATE_DOWN
- See Also:
- Constant Field Values
upStateChanged
void upStateChanged(int upState)