Package engineering.swat.watch
-
Interface Summary Interface Description ActiveWatch Marker interface for an active watch, in the future might get more properties you can inspect.WatchEventListener A visit like interface that allows you to only override the functions you are interested in -
Class Summary Class Description DaemonThreadPool Build thread pools that even when not properly shutdown, will still not prevent the termination of the JVM.Watch Watch a path for changes.WatchEvent The library publishes these events to all subscribers, they are immutable and safe to share around. -
Enum Summary Enum Description 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.WatchEvent.Kind What happened with the file or directoryWatchScope Configure the depth of the events you want to receive for a given path