public final class OnTimeoutListener extends java.lang.Object implements DirectoryChangeListener
| Constructor and Description |
|---|
OnTimeoutListener(int timeoutMillis,
java.util.function.Consumer<java.lang.Integer> timeoutCallback) |
| Modifier and Type | Method and Description |
|---|---|
void |
onEvent(DirectoryChangeEvent event) |
void |
onIdle(int count) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisWatching, of, onExceptionpublic OnTimeoutListener(int timeoutMillis,
java.util.function.Consumer<java.lang.Integer> timeoutCallback)
public void onEvent(DirectoryChangeEvent event)
onEvent in interface DirectoryChangeListenerpublic void onIdle(int count)
onIdle in interface DirectoryChangeListener