Uses of Class
com.google.common.jimfs.AbstractWatchService.Key
-
Uses of AbstractWatchService.Key in com.google.common.jimfs
Fields in com.google.common.jimfs 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 com.google.common.jimfs 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 com.google.common.jimfs 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.