Class NodeService

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

public class NodeService extends Object implements Closeable
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    awaitClose(long timeout, TimeUnit timeUnit)
    Wait for the node to be effectively closed.
    void
     
     
     
    info(boolean settings, boolean os, boolean process, boolean jvm, boolean threadPool, boolean transport, boolean http, boolean remoteClusterServer, boolean plugin, boolean ingest, boolean aggs, boolean indices)
     
    stats(CommonStatsFlags indices, boolean includeShardsStats, 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, boolean repositoriesStats)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • info

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

      public NodeStats stats(CommonStatsFlags indices, boolean includeShardsStats, 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, boolean repositoriesStats)
    • 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: