Package aQute.lib.watcher
Class FileWatcher
- java.lang.Object
-
- aQute.lib.watcher.FileWatcher
-
- All Implemented Interfaces:
java.lang.AutoCloseable
public class FileWatcher extends java.lang.Object implements java.lang.AutoCloseable
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
FileWatcher.Builder
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
await()
boolean
await(long timeout, java.util.concurrent.TimeUnit unit)
void
close()
long
getCount()
-
-
-
Method Detail
-
close
public void close()
- Specified by:
close
in interfacejava.lang.AutoCloseable
-
await
public void await() throws java.lang.InterruptedException
- Throws:
java.lang.InterruptedException
-
await
public boolean await(long timeout, java.util.concurrent.TimeUnit unit) throws java.lang.InterruptedException
- Throws:
java.lang.InterruptedException
-
getCount
public long getCount()
-
-