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, wait
fork, initialize, invalidate, isDirty, name, watchers
public static FileConfigurationWatcher getInstance()
public void startWatching()
startWatching
in interface ConfigurationWatcher
public void stopWatching()
stopWatching
in interface ConfigurationWatcher
public void watchFile(Path path, FileConfigurationWatcher.Listener listener)
Copyright © 2013-2018–2019 SeedStack. All rights reserved.