Package org.apache.storm.daemon.common
Class FileWatcher
java.lang.Object
org.apache.storm.daemon.common.FileWatcher
- All Implemented Interfaces:
Runnable
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionFileWatcher
(Path watchedFile, FileWatcher.Callback callback) FileWatcher
(Path watchedFile, FileWatcher.Callback callback, List<WatchEvent.Kind<Path>> kinds) -
Method Summary
-
Constructor Details
-
FileWatcher
- Throws:
IOException
-
FileWatcher
public FileWatcher(Path watchedFile, FileWatcher.Callback callback, List<WatchEvent.Kind<Path>> kinds) throws IOException - Throws:
IOException
-
-
Method Details