Package org.opensearch.watcher
package org.opensearch.watcher
Base File / Directory Watcher package.
-
ClassDescriptionAbstractResourceWatcher<Listener>Abstract resource watcher framework, which handles adding and removing listeners and calling resource observer.Callback interface that file changes File Watcher is using to notify listeners about changes.File resources watcher The file watcher checks directory and all its subdirectories for file changes and notifies its listeners accordinglyAbstract resource watcher interface.Generic resource watcher service Other opensearch services can register their resource watchers with this service using
ResourceWatcherService.add(ResourceWatcher)
method.Frequency level to watch.WatcherHandle<W extends ResourceWatcher>Handle to a watcher