All Implemented Interfaces:
Writeable, org.elasticsearch.common.util.concurrent.RefCounted, org.elasticsearch.common.xcontent.ToXContent, org.elasticsearch.common.xcontent.ToXContentFragment

public class NodeStats
extends BaseNodeResponse
implements org.elasticsearch.common.xcontent.ToXContentFragment
Node statistics (dynamic, changes depending on when created).
  • Constructor Details

  • Method Details

    • getTimestamp

      public long getTimestamp()
    • getHostname

      @Nullable public java.lang.String getHostname()
    • getIndices

      @Nullable public NodeIndicesStats getIndices()
      Indices level stats.
    • getOs

      @Nullable public OsStats getOs()
      Operating System level statistics.
    • getProcess

      @Nullable public ProcessStats getProcess()
      Process level statistics.
    • getJvm

      @Nullable public JvmStats getJvm()
      JVM level statistics.
    • getThreadPool

      @Nullable public ThreadPoolStats getThreadPool()
      Thread Pool level statistics.
    • getFs

      @Nullable public FsInfo getFs()
      File system level stats.
    • getTransport

      @Nullable public TransportStats getTransport()
    • getHttp

      @Nullable public HttpStats getHttp()
    • getBreaker

      @Nullable public AllCircuitBreakerStats getBreaker()
    • getScriptStats

      @Nullable public ScriptStats getScriptStats()
    • getDiscoveryStats

      @Nullable public DiscoveryStats getDiscoveryStats()
    • getIngestStats

      @Nullable public IngestStats getIngestStats()
    • getAdaptiveSelectionStats

      @Nullable public AdaptiveSelectionStats getAdaptiveSelectionStats()
    • getScriptCacheStats

      @Nullable public ScriptCacheStats getScriptCacheStats()
    • getIndexingPressureStats

      @Nullable public IndexingPressureStats getIndexingPressureStats()
    • writeTo

      public void writeTo​(StreamOutput out) throws java.io.IOException
      Description copied from interface: Writeable
      Write this into the StreamOutput.
      Specified by:
      writeTo in interface Writeable
      Overrides:
      writeTo in class BaseNodeResponse
      Throws:
      java.io.IOException
    • toXContent

      public org.elasticsearch.common.xcontent.XContentBuilder toXContent​(org.elasticsearch.common.xcontent.XContentBuilder builder, org.elasticsearch.common.xcontent.ToXContent.Params params) throws java.io.IOException
      Specified by:
      toXContent in interface org.elasticsearch.common.xcontent.ToXContent
      Throws:
      java.io.IOException