com.ibm.websphere.asynchbeans
Interface SubsystemMonitorManager
- public interface SubsystemMonitorManager
See Also:
Method Summary
Modifier and Type | Method and Description |
---|---|
create(java.lang.String name,int hbIntervalms,int missedBeatsForStale,int missedBeatsForDead)
Creates a new subsystem monitor.
|
|
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.