tynamo_watchdog
Class Watchdog
java.lang.Object
tynamo_watchdog.Watchdog
public class Watchdog
- extends Object
|
Method Summary |
void |
go()
|
static void |
main(String[] args)
|
void |
makeRounds()
makeRounds() will make system exit immediately if STOP_MESSAGE is received |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SMTP_HOST
public static final String SMTP_HOST
- See Also:
- Constant Field Values
SMTP_PORT
public static final String SMTP_PORT
- See Also:
- Constant Field Values
SEND_EMAIL
public static final String SEND_EMAIL
- See Also:
- Constant Field Values
EMAIL_PATH
public static final String EMAIL_PATH
- See Also:
- Constant Field Values
COMMAND
public static final String COMMAND
- See Also:
- Constant Field Values
KEEPALIVE_INTERVAL
public static final String KEEPALIVE_INTERVAL
- See Also:
- Constant Field Values
FINALALARM_DELAY
public static final String FINALALARM_DELAY
- See Also:
- Constant Field Values
STOP_MESSAGE
public static final String STOP_MESSAGE
Watchdog
public Watchdog(String appName,
String emailRecipient,
String smtpHost,
String smtpPort,
Long keepAliveInterval,
Long finalAlarmDelay)
main
public static void main(String[] args)
throws Exception
- Throws:
Exception
go
public void go()
makeRounds
public void makeRounds()
throws IOException
- makeRounds() will make system exit immediately if STOP_MESSAGE is received
- Throws:
IOException
Copyright © 2004-2010. All Rights Reserved.