Package com.google.common.jimfs
Class WatchServiceConfiguration
- java.lang.Object
-
- com.google.common.jimfs.WatchServiceConfiguration
-
public abstract class WatchServiceConfiguration extends java.lang.Object
Configuration for theWatchService
implementation 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 WatchServiceConfiguration
polling(long interval, java.util.concurrent.TimeUnit timeUnit)
Returns a configuration for aWatchService
that polls watched directories for changes everyinterval
of the giventimeUnit
(e.g.
-
-
-
Method Detail
-
polling
public static WatchServiceConfiguration polling(long interval, java.util.concurrent.TimeUnit timeUnit)
Returns a configuration for aWatchService
that polls watched directories for changes everyinterval
of the giventimeUnit
(e.g. every 5seconds
).
-
-