public class FileConfigWatcher extends Thread implements ConfigWatcher
Thread.State, Thread.UncaughtExceptionHandlerConfigWatcher.ConfigListenerMAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Constructor and Description |
|---|
FileConfigWatcher(File file,
ConfigWatcher.ConfigListener listener) |
| Modifier and Type | Method and Description |
|---|---|
Config |
config() |
void |
run() |
void |
shutdown() |
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yieldequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitstartpublic FileConfigWatcher(File file, ConfigWatcher.ConfigListener listener) throws com.fasterxml.jackson.core.JsonParseException, com.fasterxml.jackson.databind.JsonMappingException, IOException
com.fasterxml.jackson.core.JsonParseExceptioncom.fasterxml.jackson.databind.JsonMappingExceptionIOExceptionpublic Config config()
config in interface ConfigWatcherpublic void shutdown()
shutdown in interface ConfigWatcherCopyright © 2019. All rights reserved.