public class FileWatcherThread
extends java.lang.Object
implements java.lang.Runnable
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_INTERVAL |
Constructor and Description |
---|
FileWatcherThread() |
Modifier and Type | Method and Description |
---|---|
void |
add(FileWatcher watcher) |
void |
check() |
void |
die() |
void |
doStart() |
void |
doStop() |
static FileWatcherThread |
getInstance() |
long |
getInterval() |
void |
remove(FileWatcher watcher) |
void |
run() |
void |
setInterval(long interval) |
public static final int DEFAULT_INTERVAL
public static FileWatcherThread getInstance()
public void doStart()
public void doStop()
public void setInterval(long interval)
public long getInterval()
public void add(FileWatcher watcher)
public void remove(FileWatcher watcher)
public void run()
run
in interface java.lang.Runnable
public void die()
public void check()
Copyright ? 2004-2011 Hyperic. All Rights Reserved.