Package aQute.lib.watcher
Class FileWatcher
java.lang.Object
aQute.lib.watcher.FileWatcher
- All Implemented Interfaces:
AutoCloseable
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
(package private) static class
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final CountDownLatch
private final Collection<FileWatcher.FileSystemWatcher>
-
Constructor Summary
ConstructorsConstructorDescriptionFileWatcher
(Collection<FileWatcher.FileSystemWatcher> watchers, CountDownLatch join) -
Method Summary
-
Field Details
-
watchers
-
join
-
-
Constructor Details
-
FileWatcher
FileWatcher(Collection<FileWatcher.FileSystemWatcher> watchers, CountDownLatch join)
-
-
Method Details
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
-
await
- Throws:
InterruptedException
-
await
- Throws:
InterruptedException
-
getCount
public long getCount()
-