public class TestZenDiscovery
extends org.elasticsearch.discovery.zen.ZenDiscovery
Modifier and Type | Class and Description |
---|---|
static class |
TestZenDiscovery.TestPlugin
A plugin which installs mock discovery and configures it to be used.
|
Modifier and Type | Field and Description |
---|---|
static org.elasticsearch.common.settings.Setting<java.lang.Boolean> |
USE_MOCK_PINGS |
DISCOVERY_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 and Description |
---|---|
org.elasticsearch.discovery.zen.ZenPing |
getZenPing() |
protected org.elasticsearch.discovery.zen.ZenPing |
newZenPing(org.elasticsearch.common.settings.Settings settings,
org.elasticsearch.threadpool.ThreadPool threadPool,
org.elasticsearch.transport.TransportService transportService,
org.elasticsearch.discovery.zen.UnicastHostsProvider hostsProvider) |
clusterState, doClose, doStart, doStop, getDiscoverySettings, joiningCluster, onClusterStateCommitted, onIncomingClusterState, pendingClusterStates, publish, rejoin, shouldIgnoreOrRejectNewClusterState, startInitialJoin, stats, validateStateIsFromCurrentMaster
addLifecycleListener, close, lifecycleState, removeLifecycleListener, start, stop
logDeprecatedSetting, logRemovedSetting, nodeName
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public static final org.elasticsearch.common.settings.Setting<java.lang.Boolean> USE_MOCK_PINGS
protected org.elasticsearch.discovery.zen.ZenPing newZenPing(org.elasticsearch.common.settings.Settings settings, org.elasticsearch.threadpool.ThreadPool threadPool, org.elasticsearch.transport.TransportService transportService, org.elasticsearch.discovery.zen.UnicastHostsProvider hostsProvider)
newZenPing
in class org.elasticsearch.discovery.zen.ZenDiscovery
public org.elasticsearch.discovery.zen.ZenPing getZenPing()