Class SegmentTopicStats

java.lang.Object
org.apache.pulsar.common.policies.data.SegmentTopicStats

public class SegmentTopicStats extends Object
Stats of a single segment of a scalable topic: the traffic, storage and backlog of the topic backing the segment, the producers attached to it, and its subscriptions with their consumers. This is the regular topic stats trimmed to what matters for a segment — no lifetime counters, quotas, offload, compaction, transaction, Key_Shared or throttling internals — with rates rounded to three decimals and times reported as ISO-8601 dates.
  • Constructor Details

    • SegmentTopicStats

      public SegmentTopicStats()