public interface SubsystemMonitorManager
AsynchScope,
SubsystemMonitor| Modifier and Type | Method and Description |
|---|---|
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.
|
SubsystemMonitor create(java.lang.String name, int hbIntervalms, int missedBeatsForStale, int missedBeatsForDead) throws javax.ejb.DuplicateKeyException
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.javax.ejb.DuplicateKeyExceptionSubsystemMonitor find(java.lang.String name)