public class FileWatcher extends Object implements AutoCloseable
| Modifier and Type | Class and Description |
|---|---|
static class |
FileWatcher.Builder |
| Modifier and Type | Method and Description |
|---|---|
void |
await() |
boolean |
await(long timeout,
TimeUnit unit) |
void |
close() |
long |
getCount() |
public void close()
close in interface AutoCloseablepublic void await()
throws InterruptedException
InterruptedExceptionpublic boolean await(long timeout,
TimeUnit unit)
throws InterruptedException
InterruptedExceptionpublic long getCount()
Copyright © 2021. All rights reserved.