Package com.google.common.jimfs
Class WatchServiceConfiguration
- java.lang.Object
-
- com.google.common.jimfs.WatchServiceConfiguration
-
public abstract class WatchServiceConfiguration extends java.lang.ObjectConfiguration for theWatchServiceimplementation used by a file system.- Since:
- 1.1
- Author:
- Colin Decker
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static WatchServiceConfigurationpolling(long interval, java.util.concurrent.TimeUnit timeUnit)Returns a configuration for aWatchServicethat polls watched directories for changes everyintervalof the giventimeUnit(e.g.
-
-
-
Method Detail
-
polling
public static WatchServiceConfiguration polling(long interval, java.util.concurrent.TimeUnit timeUnit)
Returns a configuration for aWatchServicethat polls watched directories for changes everyintervalof the giventimeUnit(e.g. every 5seconds).
-
-