Inheritance diagram for FileWatchdog:
Public Member Functions | |
void | setDelay (long delay) |
void | run () |
void | start () |
Static Public Attributes | |
long | DEFAULT_DELAY = 60000 |
Protected Attributes | |
String | filename |
long | delay |
|
If this thread was constructed using a separate Runnable run object, then that Runnable object's run method is called; otherwise, this method does nothing and returns. Reimplemented from Thread. |
|
Set the delay to observe between each check of the file changes. |
|
Causes this thread to begin execution; calls the run method of this thread. Reimplemented from Thread. |
|
The default delay between every file modification check, set to 60 seconds. |
|
The delay to observe between every check. By default set DEFAULT_DELAY. |
|
The name of the file to observe for changes. |