Package net.rubyeye.xmemcached.aws
Class ConfigurationPoller
java.lang.Object
net.rubyeye.xmemcached.aws.ConfigurationPoller
- All Implemented Interfaces:
Runnable
AWS ElastiCache configuration poller
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final AWSElasticCacheClient
private ClusterConfiguration
private static final org.slf4j.Logger
private final long
private ScheduledExecutorService
private final AtomicInteger
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
getCacheNodeOrder
(CacheNode node) Return current ClusterConfigration.void
void
run()
void
start()
void
stop()
-
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