Uses of Class
io.roastedroot.zerofs.AbstractWatchService.Key
-
Uses of AbstractWatchService.Key in io.roastedroot.zerofs
Fields in io.roastedroot.zerofs with type parameters of type AbstractWatchService.KeyModifier and TypeFieldDescriptionprivate final ConcurrentMap<AbstractWatchService.Key, PollingWatchService.Snapshot> PollingWatchService.snapshotsMap of keys to the most recent directory snapshot for each key.Methods in io.roastedroot.zerofs that return AbstractWatchService.KeyModifier and TypeMethodDescriptionAbstractWatchService.register(Watchable watchable, Iterable<? extends WatchEvent.Kind<?>> eventTypes) Registers the given watchable with this service, returning a new watch key for it.PollingWatchService.register(Watchable watchable, Iterable<? extends WatchEvent.Kind<?>> eventTypes) Methods in io.roastedroot.zerofs with parameters of type AbstractWatchService.KeyModifier and TypeMethodDescriptionvoidAbstractWatchService.cancelled(AbstractWatchService.Key key) Called when the given key is cancelled.voidPollingWatchService.cancelled(AbstractWatchService.Key key) (package private) final voidAbstractWatchService.enqueue(AbstractWatchService.Key key) Enqueues the given key if the watch service is open; does nothing otherwise.(package private) booleanPollingWatchService.Snapshot.postChanges(PollingWatchService.Snapshot newState, AbstractWatchService.Key key) Posts events to the given key based on the kinds of events it subscribes to and what events have occurred between this state and the given new state.