|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.elasticsearch.common.component.AbstractComponent
org.elasticsearch.discovery.zen.fd.MasterFaultDetection
public class MasterFaultDetection
A fault detection that pings the master periodically to see if its alive.
Nested Class Summary | |
---|---|
static interface |
MasterFaultDetection.Listener
|
Field Summary |
---|
Fields inherited from class org.elasticsearch.common.component.AbstractComponent |
---|
componentSettings, logger, settings |
Constructor Summary | |
---|---|
MasterFaultDetection(Settings settings,
ThreadPool threadPool,
TransportService transportService,
DiscoveryNodesProvider nodesProvider)
|
Method Summary | |
---|---|
void |
addListener(MasterFaultDetection.Listener listener)
|
void |
close()
|
DiscoveryNode |
masterNode()
|
void |
removeListener(MasterFaultDetection.Listener listener)
|
void |
restart(DiscoveryNode masterNode,
java.lang.String reason)
|
void |
start(DiscoveryNode masterNode,
java.lang.String reason)
|
void |
stop(java.lang.String reason)
|
Methods inherited from class org.elasticsearch.common.component.AbstractComponent |
---|
nodeName |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MasterFaultDetection(Settings settings, ThreadPool threadPool, TransportService transportService, DiscoveryNodesProvider nodesProvider)
Method Detail |
---|
public DiscoveryNode masterNode()
public void addListener(MasterFaultDetection.Listener listener)
public void removeListener(MasterFaultDetection.Listener listener)
public void restart(DiscoveryNode masterNode, java.lang.String reason)
public void start(DiscoveryNode masterNode, java.lang.String reason)
public void stop(java.lang.String reason)
public void close()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |