public class ClassPathPollingConfigWatcher extends PollingConfigWatcher
Thread.State, Thread.UncaughtExceptionHandlerConfigWatcher.ConfigListenerMAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Constructor and Description |
|---|
ClassPathPollingConfigWatcher(String path,
ConfigWatcher.ConfigListener listener) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
doGetPath() |
protected byte[] |
doLoadConfig() |
config, run, runOnce, shutdownactiveCount, 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 ClassPathPollingConfigWatcher(String path, ConfigWatcher.ConfigListener listener) throws com.fasterxml.jackson.core.JsonParseException, com.fasterxml.jackson.databind.JsonMappingException, IOException
com.fasterxml.jackson.core.JsonParseExceptioncom.fasterxml.jackson.databind.JsonMappingExceptionIOExceptionprotected byte[] doLoadConfig()
throws IOException
doLoadConfig in class PollingConfigWatcherIOExceptionprotected String doGetPath()
doGetPath in class PollingConfigWatcherCopyright © 2020. All rights reserved.