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 WatchServiceConfigurationReturns a configuration for aWatchServicethat polls watched directories for changes everyintervalof the giventimeUnit(e.g.
-
Method Details
-
polling
Returns a configuration for aWatchServicethat polls watched directories for changes everyintervalof the giventimeUnit(e.g. every 5seconds).
-