Class NodeService

java.lang.Object
org.elasticsearch.node.NodeService
All Implemented Interfaces:
Closeable, AutoCloseable

public class NodeService extends Object implements Closeable
  • Method Details

    • info

      public NodeInfo info(boolean settings, boolean os, boolean process, boolean jvm, boolean threadPool, boolean transport, boolean http, boolean plugin, boolean ingest, boolean aggs, boolean indices)
    • stats

      public NodeStats stats(CommonStatsFlags indices, boolean os, boolean process, boolean jvm, boolean threadPool, boolean fs, boolean transport, boolean http, boolean circuitBreaker, boolean script, boolean discoveryStats, boolean ingest, boolean adaptiveSelection, boolean scriptCache, boolean indexingPressure)
    • getIngestService

      public IngestService getIngestService()
    • getMonitorService

      public MonitorService getMonitorService()
    • close

      public void close() throws IOException
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface Closeable
      Throws:
      IOException
    • awaitClose

      public boolean awaitClose(long timeout, TimeUnit timeUnit) throws InterruptedException
      Wait for the node to be effectively closed.
      Throws:
      InterruptedException
      See Also:
      IndicesService.awaitClose(long, TimeUnit)