Runnable, ConfigWatcherpublic class FileConfigWatcher extends Thread implements ConfigWatcher
ConfigWatcher.ConfigListenerThread.State, Thread.UncaughtExceptionHandlerMAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Constructor | Description |
|---|---|
FileConfigWatcher(File file,
ConfigWatcher.ConfigListener listener) |
| Modifier and Type | Method | Description |
|---|---|---|
Config |
config() |
|
void |
run() |
|
void |
shutdown() |
startequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitactiveCount, 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, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yieldpublic 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 © 2018. All rights reserved.