Package net.spy.memcached
Class ConfigurationPoller
java.lang.Object
java.lang.Thread
net.spy.memcached.compat.SpyThread
net.spy.memcached.ConfigurationPoller
- All Implemented Interfaces:
Runnable
A periodic poller to fetch configuration information from the server. This also acts as
the publisher when there is change in the configuration.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Thread
Thread.Builder, Thread.State, Thread.UncaughtExceptionHandler -
Field Summary
FieldsFields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY -
Constructor Summary
ConstructorsConstructorDescriptionConfigurationPoller(MemcachedClient client) ConfigurationPoller(MemcachedClient client, long pollingInterval, boolean useDaemonThreads) -
Method Summary
Methods inherited from class java.lang.Thread
activeCount, checkAccess, clone, countStackFrames, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, isVirtual, join, join, join, join, ofPlatform, ofVirtual, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, sleep, start, startVirtualThread, stop, suspend, threadId, toString, yield
-
Field Details
-
DEFAULT_POLL_INTERVAL
public static final long DEFAULT_POLL_INTERVAL- See Also:
-
-
Constructor Details
-
ConfigurationPoller
-
ConfigurationPoller
-
-
Method Details