Package org.logicalcobwebs.proxool
Interface StateListenerIF
-
- All Known Implementing Classes:
CompositeStateListener
public interface StateListenerIFMonitors 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)
-
-
Field Summary
Fields Modifier and Type Field Description static intSTATE_BUSYstatic intSTATE_DOWNstatic intSTATE_OVERLOADEDstatic intSTATE_QUIET
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidupStateChanged(int upState)
-
-
-
Field Detail
-
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
-
-