org.hyperic.sigar.win32
Class EventLogThread
java.lang.Object
org.hyperic.sigar.win32.EventLogThread
- All Implemented Interfaces:
- java.lang.Runnable
public class EventLogThread
- extends java.lang.Object
- implements java.lang.Runnable
A simple thread that runs forever monitoring the event log.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_INTERVAL
public static final int DEFAULT_INTERVAL
- See Also:
- Constant Field Values
EventLogThread
public EventLogThread()
getInstance
public static EventLogThread getInstance()
- Deprecated.
getInstance
public static EventLogThread getInstance(java.lang.String name)
closeInstances
public static void closeInstances()
setInterval
public void setInterval(long interval)
setLogName
public void setLogName(java.lang.String logName)
doStart
public void doStart()
doStop
public void doStop()
add
public void add(EventLogNotification notifier)
remove
public void remove(EventLogNotification notifier)
run
public void run()
- Specified by:
run
in interface java.lang.Runnable
die
public void die()
main
public static void main(java.lang.String[] args)
Copyright ? 2004-2009 Hyperic. All Rights Reserved.