public class FileConfigurationWatcher extends Object implements ConfigurationWatcher, Runnable
| Modifier and Type | Class and Description |
|---|---|
static interface |
FileConfigurationWatcher.Listener |
| Modifier and Type | Method and Description |
|---|---|
static FileConfigurationWatcher |
getInstance() |
void |
run() |
void |
startWatching() |
void |
stopWatching() |
void |
watchFile(Path path,
FileConfigurationWatcher.Listener listener) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfork, initialize, invalidate, isDirty, name, watcherspublic static FileConfigurationWatcher getInstance()
public void startWatching()
startWatching in interface ConfigurationWatcherpublic void stopWatching()
stopWatching in interface ConfigurationWatcherpublic void watchFile(Path path, FileConfigurationWatcher.Listener listener)
Copyright © 2013-2018–2019 SeedStack. All rights reserved.