All Classes
-
All Classes Interface Summary Class Summary Enum Summary Class Description ActiveWatch Marker interface for an active watch, in the future might get more properties you can inspect.Approximation Constants to indicate for which regular files/directories in the scope of the watch an approximation of synthetic events (of kindsWatchEvent.Kind.CREATED
,WatchEvent.Kind.MODIFIED
, and/orWatchEvent.Kind.DELETED
) should be issued when an overflow event happens.BaseFileVisitor Base extension ofSimpleFileVisitor
, intended to be further specialized by subclasses to auto-handleWatchEvent.Kind.OVERFLOW
events.BundledSubscription<Key extends @NonNull Object,Event extends @NonNull Object> This is an internal class where we can join multiple subscriptions to the same target by only taking 1 actual subscription but forwarding them to all the interested parties.EventHandlingWatch IndexingRescanner ISubscribable<Key,Event> JDKBaseWatch JDKDirectoryWatch JDKFileTreeWatch JDKFileWatch It's not possible to monitor a single file (or directory), so we have to find a directory watcher, and connect to that Note that you should take care to call start only once.MemorylessRescanner SubscriptionKey Watcher Watch a path for changes.WatchEvent The library publishes these events to all subscribers, they are immutable and safe to share around.WatchEvent.Kind What happened with the file or directoryWatchEventListener A visit like interface that allows you to only override the functions you are interested inWatchScope Configure the depth of the events you want to receive for a given path