Class PublisherStatsImpl

java.lang.Object
org.apache.pulsar.common.policies.data.stats.PublisherStatsImpl
All Implemented Interfaces:
PublisherStats
Direct Known Subclasses:
NonPersistentPublisherStatsImpl

public class PublisherStatsImpl extends Object implements PublisherStats
Statistics about a publisher.
  • Field Details

    • accessMode

      public ProducerAccessMode accessMode
    • msgRateIn

      public double msgRateIn
      Total rate of messages published by this publisher (msg/s).
    • msgThroughputIn

      public double msgThroughputIn
      Total throughput of messages published by this publisher (byte/s).
    • averageMsgSize

      public double averageMsgSize
      Average message size published by this publisher.
    • chunkedMessageRate

      public double chunkedMessageRate
      The total rate of chunked messages published by this publisher.
    • producerId

      public long producerId
      Id of this publisher.
    • supportsPartialProducer

      public boolean supportsPartialProducer
      Whether partial producer is supported at client.
    • metadata

      public Map<String,String> metadata
      Metadata (key/value strings) associated with this publisher.
  • Constructor Details

    • PublisherStatsImpl

      public PublisherStatsImpl()
  • Method Details