Package org.apache.hadoop.hbase.client
Class TestRegistryEndpointsRefresher
java.lang.Object
org.apache.hadoop.hbase.client.TestRegistryEndpointsRefresher
-
Field Summary
Modifier and TypeFieldDescriptionprivate CopyOnWriteArrayList<Long>
static final HBaseClassTestRule
private org.apache.hadoop.conf.Configuration
private static final String
private static final String
private static final String
private AtomicInteger
private org.apache.hadoop.hbase.client.RegistryEndpointsRefresher
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate void
createRefresher
(long initialDelaySecs, long intervalSecs, long minIntervalSecs) private void
refresh()
void
setUp()
void
tearDown()
void
void
void
void
-
Field Details
-
CLASS_RULE
-
INITIAL_DELAY_SECS_CONFIG_NAME
- See Also:
-
INTERVAL_SECS_CONFIG_NAME
- See Also:
-
MIN_INTERVAL_SECS_CONFIG_NAME
- See Also:
-
conf
-
refresher
-
refreshCallCounter
-
callTimestamps
-
-
Constructor Details
-
TestRegistryEndpointsRefresher
public TestRegistryEndpointsRefresher()
-
-
Method Details
-
setUp
-
tearDown
-
refresh
-
createRefresher
-
testDisableRefresh
-
testInitialDelay
- Throws:
InterruptedException
-
testPeriodicMasterEndPointRefresh
-
testDurationBetweenRefreshes
-