Uses of Class
org.forgerock.util.DirectoryWatcher.ChangeListener
Packages that use DirectoryWatcher.ChangeListener
-
Uses of DirectoryWatcher.ChangeListener in org.forgerock.util
Methods in org.forgerock.util that return DirectoryWatcher.ChangeListenerModifier and TypeMethodDescriptionDirectoryWatcher.ChangeListener.onChange
(BiConsumer<Path, WatchEvent.Kind<Path>> consumer) Registers a listener to be notified of change events for this directory.DirectoryWatcher.ChangeListener.onOverflow
(Runnable action) Registers a callback to be notified when the underlying watch service lost some change events due to overflow.DirectoryWatcher.watch
(Path directory, WatchEvent.Kind<Path>... eventKinds) Registers a directory to be watched for change notifications.