public class PollingConfigWatcher extends Thread implements ConfigWatcher, Instrumented
| Modifier and Type | Class and Description |
|---|---|
static interface |
PollingConfigWatcher.ConfigLoader |
Thread.State, Thread.UncaughtExceptionHandlerConfigWatcher.ConfigListenerMAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Constructor and Description |
|---|
PollingConfigWatcher(String args,
ConfigWatcher.ConfigListener listener) |
| Modifier and Type | Method and Description |
|---|---|
Config |
config() |
void |
run() |
void |
shutdown() |
void |
toPrometheus(Consumer<PrometheusMetric> fn) |
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 PollingConfigWatcher(String args, ConfigWatcher.ConfigListener listener)
public void shutdown()
shutdown in interface ConfigWatcherpublic Config config()
config in interface ConfigWatcherpublic void toPrometheus(Consumer<PrometheusMetric> fn)
toPrometheus in interface InstrumentedCopyright © 2021. All rights reserved.