Package com.google.common.jimfs
Class WatchServiceConfiguration.PollingConfig
- java.lang.Object
-
- com.google.common.jimfs.WatchServiceConfiguration
-
- com.google.common.jimfs.WatchServiceConfiguration.PollingConfig
-
- Enclosing class:
- WatchServiceConfiguration
private static final class WatchServiceConfiguration.PollingConfig extends WatchServiceConfiguration
Implementation forWatchServiceConfiguration.polling(long, java.util.concurrent.TimeUnit)
.
-
-
Field Summary
Fields Modifier and Type Field Description private long
interval
private java.util.concurrent.TimeUnit
timeUnit
-
Fields inherited from class com.google.common.jimfs.WatchServiceConfiguration
DEFAULT
-
-
Constructor Summary
Constructors Modifier Constructor Description private
PollingConfig(long interval, java.util.concurrent.TimeUnit timeUnit)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) AbstractWatchService
newWatchService(FileSystemView view, PathService pathService)
Creates a newAbstractWatchService
implementation.java.lang.String
toString()
-
Methods inherited from class com.google.common.jimfs.WatchServiceConfiguration
polling
-
-
-
-
Method Detail
-
newWatchService
AbstractWatchService newWatchService(FileSystemView view, PathService pathService)
Description copied from class:WatchServiceConfiguration
Creates a newAbstractWatchService
implementation.- Specified by:
newWatchService
in classWatchServiceConfiguration
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-