Package com.google.common.jimfs
Class WatchServiceConfiguration
java.lang.Object
com.google.common.jimfs.WatchServiceConfiguration
Configuration for the
WatchService
implementation used by a file system.- Since:
- 1.1
- Author:
- Colin Decker
-
Method Summary
Modifier and TypeMethodDescriptionstatic WatchServiceConfiguration
Returns a configuration for aWatchService
that polls watched directories for changes everyinterval
of the giventimeUnit
(e.g.
-
Method Details
-
polling
Returns a configuration for aWatchService
that polls watched directories for changes everyinterval
of the giventimeUnit
(e.g. every 5seconds
).
-