IBM WebSphere Application ServerTM
Release 7

com.ibm.websphere.asynchbeans
Interface SubsystemMonitorManager


public interface SubsystemMonitorManager

This manages a set of subsystem monitors. If the manager is destroyed then it destroys all monitors that it created.

See Also:
AsynchScope, SubsystemMonitor

Method Summary
 SubsystemMonitor create(java.lang.String name, int hbIntervalms, int missedBeatsForStale, int missedBeatsForDead)
          Creates a new subsystem monitor.
 SubsystemMonitor find(java.lang.String name)
          Find a named subsystem monitor.
 

Method Detail

create

SubsystemMonitor create(java.lang.String name,
                        int hbIntervalms,
                        int missedBeatsForStale,
                        int missedBeatsForDead)
                        throws javax.ejb.DuplicateKeyException
Creates a new subsystem monitor. This creates a new monitor but does not start it. You must call start to start the subsystem monitoring. missedBeatsForDead is not a delta from missedBeatsForStale. If we want stale after 2 missed beats and dead after 4 missed beats then the settings are 2 and 4.

Parameters:
name - The name of the monitor.
hbIntervalms - The expected time between heart beats.
missedBeatsForStale - The number of missed beats before we say its stale.
missedBeatsForDead - The number of missed beats before we say its dead.
Throws:
javax.ejb.DuplicateKeyException

find

SubsystemMonitor find(java.lang.String name)
Find a named subsystem monitor.


IBM WebSphere Application ServerTM
Release 7