public interface FileWatch
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Stops watching for changes.
|
void |
nextChange()
Blocks until the next change occurs, or this watch is closed.
|
void nextChange()
throws NativeException
NativeException - On some failure.ResourceClosedException - When this file watch is closed.void close()
throws NativeException
nextChange() will receive a ResourceClosedException.NativeException