org.mbari.siam.core
Class WDTManager

java.lang.Object
  extended by java.lang.Thread
      extended by org.mbari.siam.core.WDTManager
All Implemented Interfaces:
java.lang.Runnable
Direct Known Subclasses:
MOOSWDTManager

public class WDTManager
extends java.lang.Thread

WDTManager is a singleton object that manages initialization and strobing of the watchdog timer.

Author:
Brian Kieft

Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
 
Field Summary
protected  boolean _debug
           
protected static WDTManager _instance
           
protected static int _instanceCount
           
protected  NodeManager _nodeManager
           
protected  NodeProperties _nodeProperties
           
protected  boolean _WDTManagerEnabled
           
static java.lang.String PROP_PREFIX
          Name of property indicating environmental service registry name
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
WDTManager()
           
 
Method Summary
 boolean enabled()
           
static WDTManager getInstance()
          Method to get singleton instance.
 void set(boolean enable)
           
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, run, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

PROP_PREFIX

public static final java.lang.String PROP_PREFIX
Name of property indicating environmental service registry name

See Also:
Constant Field Values

_instanceCount

protected static int _instanceCount

_instance

protected static WDTManager _instance

_WDTManagerEnabled

protected boolean _WDTManagerEnabled

_nodeManager

protected NodeManager _nodeManager

_nodeProperties

protected NodeProperties _nodeProperties

_debug

protected boolean _debug
Constructor Detail

WDTManager

public WDTManager()
Method Detail

getInstance

public static WDTManager getInstance()
Method to get singleton instance.


enabled

public boolean enabled()

set

public void set(boolean enable)


Copyright © 2003 MBARI.

The Monterey Bay Aquarium Research Institute (MBARI) provides this documentation and code "as is", with no warranty, express or implied, of its quality or consistency. It is provided without support and without obligation on the part of MBARI to assist in its use, correction, modification, or enhancement.