Package com.helixframework.file.watcher
Class DirWatcher
java.lang.Object
com.helixframework.file.watcher.DirWatcher
Watches configured directories for changes and emits a reactive stream of change events.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classCreates an instance ofDirWatcher.static classSub-builder ofDirWatcher.Builderfor creating directory watch configurations. -
Method Summary
Modifier and TypeMethodDescriptionstatic DirWatcher.Builderbuilder()Creates an instance ofDirWatcher.reactor.core.publisher.Flux<DirWatchEvent>watch()Starts the watcher.
-
Method Details
-
builder
Creates an instance ofDirWatcher.- Returns:
- a
DirWatcher
-
watch
Starts the watcher.- Returns:
- a flux of
DirWatchEvent
-