org.elasticsearch.node.service
Class NodeService

java.lang.Object
  extended by org.elasticsearch.common.component.AbstractComponent
      extended by org.elasticsearch.node.service.NodeService

public class NodeService
extends AbstractComponent


Field Summary
 
Fields inherited from class org.elasticsearch.common.component.AbstractComponent
componentSettings, logger, settings
 
Constructor Summary
NodeService(Settings settings, MonitorService monitorService, ClusterService clusterService, TransportService transportService, IndicesService indicesService)
           
 
Method Summary
 NodeInfo info()
           
 void putNodeAttribute(java.lang.String key, java.lang.String value)
           
 void removeNodeAttribute(java.lang.String key)
           
 void setHttpServer(HttpServer httpServer)
           
 NodeStats stats()
           
 
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

NodeService

@Inject
public NodeService(Settings settings,
                          MonitorService monitorService,
                          ClusterService clusterService,
                          TransportService transportService,
                          IndicesService indicesService)
Method Detail

setHttpServer

public void setHttpServer(@Nullable
                          HttpServer httpServer)

putNodeAttribute

public void putNodeAttribute(java.lang.String key,
                             java.lang.String value)

removeNodeAttribute

public void removeNodeAttribute(java.lang.String key)

info

public NodeInfo info()

stats

public NodeStats stats()