org.elasticsearch.discovery.zen.fd
Class MasterFaultDetection
java.lang.Object
org.elasticsearch.common.component.AbstractComponent
org.elasticsearch.discovery.zen.fd.MasterFaultDetection
public class MasterFaultDetection
- extends AbstractComponent
A fault detection that pings the master periodically to see if its alive.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MasterFaultDetection
public MasterFaultDetection(Settings settings,
ThreadPool threadPool,
TransportService transportService,
DiscoveryNodesProvider nodesProvider)
masterNode
public DiscoveryNode masterNode()
addListener
public void addListener(MasterFaultDetection.Listener listener)
removeListener
public void removeListener(MasterFaultDetection.Listener listener)
restart
public void restart(DiscoveryNode masterNode,
String reason)
start
public void start(DiscoveryNode masterNode,
String reason)
stop
public void stop(String reason)
close
public void close()
Copyright © 2009-2012. All Rights Reserved.