Package | Description |
---|---|
org.elasticsearch.watcher |
Modifier and Type | Class and Description |
---|---|
class |
WatcherHandle<W extends ResourceWatcher> |
Modifier and Type | Class and Description |
---|---|
class |
AbstractResourceWatcher<Listener>
Abstract resource watcher framework, which handles adding and removing listeners
and calling resource observer.
|
class |
FileWatcher
File resources watcher
The file watcher checks directory and all its subdirectories for file changes and notifies its listeners accordingly
|
Modifier and Type | Method and Description |
---|---|
<W extends ResourceWatcher> |
ResourceWatcherService.add(W watcher)
Register new resource watcher that will be checked in default
MEDIUM frequency |
<W extends ResourceWatcher> |
ResourceWatcherService.add(W watcher,
ResourceWatcherService.Frequency frequency)
Register new resource watcher that will be checked in the given frequency
|
Copyright © 2009–2015. All rights reserved.