tynamo_watchdog
Class Watchdog

java.lang.Object
  extended by tynamo_watchdog.Watchdog

public class Watchdog
extends Object


Field Summary
static String COMMAND
           
static String EMAIL_PATH
           
static String FINALALARM_DELAY
           
static String KEEPALIVE_INTERVAL
           
static String SEND_EMAIL
           
static String SMTP_HOST
           
static String SMTP_PORT
           
static String STOP_MESSAGE
           
 
Constructor Summary
Watchdog(String appName, String emailRecipient, String smtpHost, String smtpPort, Long keepAliveInterval, Long finalAlarmDelay)
           
 
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
 

Field Detail

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
Constructor Detail

Watchdog

public Watchdog(String appName,
                String emailRecipient,
                String smtpHost,
                String smtpPort,
                Long keepAliveInterval,
                Long finalAlarmDelay)
Method Detail

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.