Package org.jgroups.auth.sasl
Class FileWatchTask
- java.lang.Object
-
- java.util.TimerTask
-
- org.jgroups.auth.sasl.FileWatchTask
-
- All Implemented Interfaces:
java.lang.Runnable
public class FileWatchTask extends java.util.TimerTask
FileWatchTask. Polls a file for modifications and invokes a providedFileObserver
- Since:
- 8.0
- Author:
- Tristan Tarrant
-
-
Constructor Summary
Constructors Constructor Description FileWatchTask(java.io.File file, FileObserver observer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
run()
-
-
-
Constructor Detail
-
FileWatchTask
public FileWatchTask(java.io.File file, FileObserver observer)
-
-