org.elasticsearch.node.service
Class NodeService
java.lang.Object
org.elasticsearch.common.component.AbstractComponent
org.elasticsearch.node.service.NodeService
public class NodeService
- extends AbstractComponent
Method Summary |
com.google.common.collect.ImmutableMap<String,String> |
attributes()
Attributes different services in the node can add to be reported as part of the node info (for example). |
NodeInfo |
info()
|
NodeInfo |
info(boolean settings,
boolean os,
boolean process,
boolean jvm,
boolean threadPool,
boolean network,
boolean transport,
boolean http)
|
void |
putAttribute(String key,
String value)
|
void |
putNodeAttribute(String key,
String value)
Deprecated. |
void |
removeAttribute(String key)
|
void |
removeNodeAttribute(String key)
Deprecated. |
void |
setHttpServer(HttpServer httpServer)
|
NodeStats |
stats()
|
NodeStats |
stats(boolean indices,
boolean os,
boolean process,
boolean jvm,
boolean threadPool,
boolean network,
boolean fs,
boolean transport,
boolean http)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NodeService
@Inject
public NodeService(Settings settings,
ThreadPool threadPool,
MonitorService monitorService,
Discovery discovery,
ClusterService clusterService,
TransportService transportService,
IndicesService indicesService)
setHttpServer
public void setHttpServer(@Nullable
HttpServer httpServer)
putNodeAttribute
@Deprecated
public void putNodeAttribute(String key,
String value)
- Deprecated.
removeNodeAttribute
@Deprecated
public void removeNodeAttribute(String key)
- Deprecated.
putAttribute
public void putAttribute(String key,
String value)
removeAttribute
public void removeAttribute(String key)
attributes
public com.google.common.collect.ImmutableMap<String,String> attributes()
- Attributes different services in the node can add to be reported as part of the node info (for example).
info
public NodeInfo info()
info
public NodeInfo info(boolean settings,
boolean os,
boolean process,
boolean jvm,
boolean threadPool,
boolean network,
boolean transport,
boolean http)
stats
public NodeStats stats()
stats
public NodeStats stats(boolean indices,
boolean os,
boolean process,
boolean jvm,
boolean threadPool,
boolean network,
boolean fs,
boolean transport,
boolean http)
Copyright © 2009-2012. All Rights Reserved.