public static interface MacOSXListeningWatchService.Config
| Modifier and Type | Field and Description |
|---|---|
static double |
DEFAULT_LATENCY |
static int |
DEFAULT_QUEUE_SIZE |
| Modifier and Type | Method and Description |
|---|---|
default FileHasher |
fileHasher()
The file hasher to use to check whether files have changed.
|
default boolean |
fileLevelEvents()
Request file-level notifications from the watcher.
|
default FileTreeVisitor |
fileTreeVisitor()
The file tree visitor to use in order to find files.
|
default double |
latency()
The maximum number of seconds to wait after hearing about an event
|
default int |
queueSize()
The size of the queue used for each WatchKey
|
static final double DEFAULT_LATENCY
static final int DEFAULT_QUEUE_SIZE
default double latency()
default int queueSize()
default boolean fileLevelEvents()
NOTE: this feature will automatically be enabled when the file hasher is null, since the hasher is needed to determine which files in a directory were actually created or modified.
default FileHasher fileHasher()
default FileTreeVisitor fileTreeVisitor()