Package | Description |
---|---|
org.eclipse.jetty.util |
Jetty Util : Common Utility Classes
|
Modifier and Type | Field and Description |
---|---|
private PathWatcher.Config |
PathWatcher.PathWatchEvent.config |
protected PathWatcher.Config |
PathWatcher.Config.parent |
Modifier and Type | Field and Description |
---|---|
private java.util.List<PathWatcher.Config> |
PathWatcher.configs |
private java.util.Map<java.nio.file.WatchKey,PathWatcher.Config> |
PathWatcher.keys |
Modifier and Type | Method and Description |
---|---|
PathWatcher.Config |
PathWatcher.Config.asSubConfig(java.nio.file.Path dir)
Build a new config from a this configuration.
|
PathWatcher.Config |
PathWatcher.PathWatchEvent.getConfig() |
PathWatcher.Config |
PathWatcher.Config.getParent() |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<PathWatcher.Config> |
PathWatcher.getConfigs() |
Modifier and Type | Method and Description |
---|---|
protected void |
PathWatcher.register(java.nio.file.Path path,
PathWatcher.Config config) |
private void |
PathWatcher.register(java.nio.file.Path path,
PathWatcher.Config config,
java.nio.file.WatchEvent.Kind<?>[] kinds) |
private void |
PathWatcher.registerDir(java.nio.file.Path path,
PathWatcher.Config config) |
private void |
PathWatcher.registerTree(java.nio.file.Path dir,
PathWatcher.Config config,
boolean notify) |
void |
PathWatcher.watch(PathWatcher.Config config)
Request watch on a path with custom Config
provided.
|
Constructor and Description |
---|
Config(java.nio.file.Path path,
PathWatcher.Config parent) |
PathWatchEvent(java.nio.file.Path path,
PathWatcher.PathWatchEventType type,
PathWatcher.Config config) |
PathWatchEvent(java.nio.file.Path path,
java.nio.file.WatchEvent<java.nio.file.Path> event,
PathWatcher.Config config) |