Class NodeService

  • All Implemented Interfaces:
    java.io.Closeable, java.lang.AutoCloseable

    public class NodeService
    extends java.lang.Object
    implements java.io.Closeable
    • Method Summary

      Modifier and Type Method Description
      void close()  
      IngestService getIngestService()  
      MonitorService getMonitorService()  
      NodeInfo info​(boolean settings, boolean os, boolean process, boolean jvm, boolean threadPool, boolean transport, boolean http, boolean plugin, boolean ingest, boolean indices)  
      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)  
      • Methods inherited from class java.lang.Object

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

      • info

        public NodeInfo info​(boolean settings,
                             boolean os,
                             boolean process,
                             boolean jvm,
                             boolean threadPool,
                             boolean transport,
                             boolean http,
                             boolean plugin,
                             boolean ingest,
                             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)
      • close

        public void close()
                   throws java.io.IOException
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface java.io.Closeable
        Throws:
        java.io.IOException