java.io.Closeable, java.lang.AutoCloseable, LifecycleComponent, Releasable, Discovery, PingContextProvider, PublishClusterStateAction.IncomingClusterStateListenerpublic class TestZenDiscovery extends ZenDiscovery
| Modifier and Type | Class | Description |
|---|---|---|
static class |
TestZenDiscovery.TestPlugin |
A plugin which installs mock discovery and configures it to be used.
|
Discovery.AckListener, Discovery.FailedToCommitClusterStateExceptionZenDiscovery.RejoinClusterRequest| Modifier and Type | Field | Description |
|---|---|---|
static Setting<java.lang.Boolean> |
USE_MOCK_PINGS |
deprecationLogger, logger, settingslifecycleDISCOVERY_REJOIN_ACTION_NAME, JOIN_RETRY_ATTEMPTS_SETTING, JOIN_RETRY_DELAY_SETTING, JOIN_TIMEOUT_SETTING, MASTER_ELECTION_IGNORE_NON_MASTER_PINGS_SETTING, MASTER_ELECTION_WAIT_FOR_JOINS_TIMEOUT_SETTING, MAX_PENDING_CLUSTER_STATES_SETTING, MAX_PINGS_FROM_ANOTHER_MASTER_SETTING, PING_TIMEOUT_SETTING, SEND_LEAVE_REQUEST_SETTING, zenPing| Modifier and Type | Method | Description |
|---|---|---|
ZenPing |
getZenPing() |
|
protected ZenPing |
newZenPing(Settings settings,
ThreadPool threadPool,
TransportService transportService,
UnicastHostsProvider hostsProvider) |
logDeprecatedSetting, logRemovedSetting, nodeNameaddLifecycleListener, close, lifecycleState, removeLifecycleListener, start, stopaddLifecycleListener, lifecycleState, removeLifecycleListener, start, stopclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcloseclusterState, doClose, doStart, doStop, getDiscoverySettings, getOnJoinValidators, joiningCluster, onClusterStateCommitted, onIncomingClusterState, pendingClusterStates, publish, rejoin, shouldIgnoreOrRejectNewClusterState, startInitialJoin, stats, validateStateIsFromCurrentMasterpublic static final Setting<java.lang.Boolean> USE_MOCK_PINGS
protected ZenPing newZenPing(Settings settings, ThreadPool threadPool, TransportService transportService, UnicastHostsProvider hostsProvider)
newZenPing in class ZenDiscoverypublic ZenPing getZenPing()