Class ShardIndexingPressureTracker.StatsTracker

java.lang.Object
org.opensearch.index.ShardIndexingPressureTracker.StatsTracker
Enclosing class:
ShardIndexingPressureTracker

public static class ShardIndexingPressureTracker.StatsTracker extends Object
StatsTracker is used to track request level aggregated statistics for a shard. This includes: a. currentBytes - Bytes of data that is inflight/processing for a shard. b. totalBytes - Total bytes that are processed/completed successfully for a shard. c. requestCount - Total number of requests that are processed/completed successfully for a shard.
Opensearch.internal:
  • Constructor Details

    • StatsTracker

      public StatsTracker()
  • Method Details

    • getCurrentBytes

      public long getCurrentBytes()
    • incrementCurrentBytes

      public long incrementCurrentBytes(long bytes)
    • getTotalBytes

      public long getTotalBytes()
    • incrementTotalBytes

      public long incrementTotalBytes(long bytes)
    • getRequestCount

      public long getRequestCount()
    • incrementRequestCount

      public long incrementRequestCount()