com.ibm.websphere.asynchbeans

Interface SubsystemMonitorManager


  1. 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

Modifier and Type Method and Description
  1. SubsystemMonitor
create(java.lang.String name,int hbIntervalms,int missedBeatsForStale,int missedBeatsForDead)
Creates a new subsystem monitor.
  1. SubsystemMonitor
find(java.lang.String name)
Find a named subsystem monitor.

Method Detail

create

  1. SubsystemMonitor create(java.lang.String name,
  2. int hbIntervalms,
  3. int missedBeatsForStale,
  4. int missedBeatsForDead)
  5. 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

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