Class ConfigurationPoller
java.lang.Object
net.rubyeye.xmemcached.aws.ConfigurationPoller
- All Implemented Interfaces:
Runnable
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final AWSElasticCacheClientprivate ClusterConfigurationprivate static final org.slf4j.Loggerprivate final longprivate ScheduledExecutorServiceprivate final AtomicInteger -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetCacheNodeOrder(CacheNode node) Return current ClusterConfigration.voidvoidrun()voidstart()voidstop()
-
Field Details
-
serverOrderCounter
-
ordersMap
-
log
private static final org.slf4j.Logger log -
client
-
pollIntervalMills
private final long pollIntervalMills -
scheduledExecutorService
-
clusterConfigration
-
-
Constructor Details
-
ConfigurationPoller
-
-
Method Details
-
getClusterConfiguration
-
getCacheNodeOrder
-
removeCacheNodeOrder
-
start
public void start() -
stop
public void stop() -
run
-