Class NodeIndicesStats

java.lang.Object
org.elasticsearch.indices.NodeIndicesStats
All Implemented Interfaces:
Writeable, org.elasticsearch.common.xcontent.ToXContent, org.elasticsearch.common.xcontent.ToXContentFragment

public class NodeIndicesStats
extends java.lang.Object
implements Writeable, org.elasticsearch.common.xcontent.ToXContentFragment
Global information on indices stats running on a specific node.
  • Constructor Details

    • NodeIndicesStats

      public NodeIndicesStats​(StreamInput in) throws java.io.IOException
      Throws:
      java.io.IOException
    • NodeIndicesStats

      public NodeIndicesStats​(CommonStats oldStats, java.util.Map<Index,​java.util.List<IndexShardStats>> statsByShard)
  • Method Details

    • getStore

      @Nullable public StoreStats getStore()
    • getDocs

      @Nullable public DocsStats getDocs()
    • getIndexing

      @Nullable public IndexingStats getIndexing()
    • getGet

      @Nullable public GetStats getGet()
    • getSearch

      @Nullable public SearchStats getSearch()
    • getMerge

      @Nullable public MergeStats getMerge()
    • getRefresh

      @Nullable public RefreshStats getRefresh()
    • getFlush

      @Nullable public FlushStats getFlush()
    • getWarmer

      @Nullable public WarmerStats getWarmer()
    • getFieldData

      @Nullable public FieldDataStats getFieldData()
    • getQueryCache

      @Nullable public QueryCacheStats getQueryCache()
    • getRequestCache

      @Nullable public RequestCacheStats getRequestCache()
    • getCompletion

      @Nullable public CompletionStats getCompletion()
    • getSegments

      @Nullable public SegmentsStats getSegments()
    • getTranslog

      @Nullable public TranslogStats getTranslog()
    • getRecoveryStats

      @Nullable public RecoveryStats getRecoveryStats()
    • 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
      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
    • getShardStats

      public java.util.List<IndexShardStats> getShardStats​(Index index)