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.Key Modifier and Type Field Description private java.util.concurrent.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.Key Modifier and Type Method Description AbstractWatchService.KeyAbstractWatchService. register(java.nio.file.Watchable watchable, java.lang.Iterable<? extends java.nio.file.WatchEvent.Kind<?>> eventTypes)Registers the given watchable with this service, returning a new watch key for it.AbstractWatchService.KeyPollingWatchService. register(java.nio.file.Watchable watchable, java.lang.Iterable<? extends java.nio.file.WatchEvent.Kind<?>> eventTypes)Methods in com.google.common.jimfs with parameters of type AbstractWatchService.Key Modifier and Type Method Description voidAbstractWatchService. cancelled(AbstractWatchService.Key key)Called when the given key is cancelled.voidPollingWatchService. cancelled(AbstractWatchService.Key key)(package private) 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.
-