Package org.jgroups.util
Class FileWatcher
java.lang.Object
org.jgroups.util.FileWatcher
- All Implemented Interfaces:
AutoCloseable,Runnable
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescription(package private) static final Logprivate booleanstatic final intprivate final Threadprivate final ConcurrentHashMap<Path, FileWatcher.Watched> -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
LOG
-
SLEEP
public static final int SLEEP- See Also:
-
thread
-
watched
-
running
private boolean running
-
-
Constructor Details
-
FileWatcher
public FileWatcher()
-
-
Method Details
-
unwatch
-
watch
-
run
public void run() -
stop
public void stop() -
close
public void close()- Specified by:
closein interfaceAutoCloseable
-