Class NodeDataTiersUsage.UsageStats

java.lang.Object
org.elasticsearch.xpack.core.datatiers.NodeDataTiersUsage.UsageStats
All Implemented Interfaces:
Writeable
Enclosing class:
NodeDataTiersUsage

public static class NodeDataTiersUsage.UsageStats extends Object implements Writeable
  • Constructor Details

    • UsageStats

      public UsageStats()
    • UsageStats

      public UsageStats(List<Long> primaryShardSizes, int totalShardCount, long docCount, long totalSize)
  • Method Details

    • writeTo

      public void writeTo(StreamOutput out) throws IOException
      Specified by:
      writeTo in interface Writeable
      Throws:
      IOException
    • addPrimaryShardSize

      public void addPrimaryShardSize(long primaryShardSize)
    • incrementTotalSize

      public void incrementTotalSize(long totalSize)
    • incrementDocCount

      public void incrementDocCount(long docCount)
    • incrementTotalShardCount

      public void incrementTotalShardCount(int totalShardCount)
    • getPrimaryShardSizes

      public List<Long> getPrimaryShardSizes()
    • getTotalShardCount

      public int getTotalShardCount()
    • getDocCount

      public long getDocCount()
    • getTotalSize

      public long getTotalSize()