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 longintervalprivate java.util.concurrent.TimeUnittimeUnit-
Fields inherited from class com.google.common.jimfs.WatchServiceConfiguration
DEFAULT
-
-
Constructor Summary
Constructors Modifier Constructor Description privatePollingConfig(long interval, java.util.concurrent.TimeUnit timeUnit)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) AbstractWatchServicenewWatchService(FileSystemView view, PathService pathService)Creates a newAbstractWatchServiceimplementation.java.lang.StringtoString()-
Methods inherited from class com.google.common.jimfs.WatchServiceConfiguration
polling
-
-
-
-
Method Detail
-
newWatchService
AbstractWatchService newWatchService(FileSystemView view, PathService pathService)
Description copied from class:WatchServiceConfigurationCreates a newAbstractWatchServiceimplementation.- Specified by:
newWatchServicein classWatchServiceConfiguration
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-