public class ConfigurationPoller extends SpyThread
| Modifier and Type | Field and Description |
|---|---|
static long |
DEFAULT_POLL_INTERVAL |
| Constructor and Description |
|---|
ConfigurationPoller(MemcachedClient client) |
ConfigurationPoller(MemcachedClient client,
long pollingInterval,
boolean useDaemonThreads) |
| Modifier and Type | Method and Description |
|---|---|
void |
run() |
void |
shutdown() |
void |
subscribeForClusterConfiguration(ClusterConfigurationObserver observer) |
activeCount, checkAccess, 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, yieldpublic static final long DEFAULT_POLL_INTERVAL
public ConfigurationPoller(MemcachedClient client)
public ConfigurationPoller(MemcachedClient client, long pollingInterval, boolean useDaemonThreads)
public void subscribeForClusterConfiguration(ClusterConfigurationObserver observer)
public void run()
run in interface java.lang.Runnablerun in class java.lang.Threadpublic void shutdown()