
public class Watchdog extends Object implements org.lsst.ccs.framework.HasLifecycle
| Constructor and Description |
|---|
Watchdog() |
| Modifier and Type | Method and Description |
|---|---|
void |
checkMessageCount()
If this is in the enabled state, raise an alert if no messages have yet been received and then reset
the count of messages received.
|
void |
countMessage()
If this is in the enabled state, increment the count of messages received.
|
void |
disable()
If this is in the enabled state, switch to the disabled state and set the count of messages received to zero.
|
void |
enable()
If this is in the disabled state, switch to the enabled state.
|
void |
shutdown() |
void |
start() |
public void start()
start in interface org.lsst.ccs.framework.HasLifecyclepublic void shutdown()
shutdown in interface org.lsst.ccs.framework.HasLifecyclepublic void enable()
throws InterruptedException
InterruptedExceptionpublic void disable()
throws InterruptedException
InterruptedExceptionpublic void countMessage()
throws InterruptedException
InterruptedExceptionpublic void checkMessageCount()
throws InterruptedException
InterruptedExceptionCopyright © 2022 LSST. All rights reserved.