org.elasticsearch.discovery.zen.fd
Class NodesFaultDetection

java.lang.Object
  extended by org.elasticsearch.common.component.AbstractComponent
      extended by org.elasticsearch.discovery.zen.fd.NodesFaultDetection

public class NodesFaultDetection
extends AbstractComponent

A fault detection of multiple nodes.


Nested Class Summary
static interface NodesFaultDetection.Listener
           
 
Field Summary
 
Fields inherited from class org.elasticsearch.common.component.AbstractComponent
componentSettings, logger, settings
 
Constructor Summary
NodesFaultDetection(Settings settings, ThreadPool threadPool, TransportService transportService)
           
 
Method Summary
 void addListener(NodesFaultDetection.Listener listener)
           
 void close()
           
 void removeListener(NodesFaultDetection.Listener listener)
           
 NodesFaultDetection start()
           
 NodesFaultDetection stop()
           
 void updateNodes(DiscoveryNodes nodes)
           
 
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

NodesFaultDetection

public NodesFaultDetection(Settings settings,
                           ThreadPool threadPool,
                           TransportService transportService)
Method Detail

addListener

public void addListener(NodesFaultDetection.Listener listener)

removeListener

public void removeListener(NodesFaultDetection.Listener listener)

updateNodes

public void updateNodes(DiscoveryNodes nodes)

start

public NodesFaultDetection start()

stop

public NodesFaultDetection stop()

close

public void close()


Copyright © 2009-2012. All Rights Reserved.