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)

Field Summary
static int STATE_BUSY
           
static int STATE_DOWN
           
static int STATE_OVERLOADED
           
static int STATE_QUIET
           
 
Method Summary
 void upStateChanged(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
Method Detail

upStateChanged

void upStateChanged(int upState)