Class ReplicatorStatsImpl

java.lang.Object
org.apache.pulsar.common.policies.data.stats.ReplicatorStatsImpl
All Implemented Interfaces:
org.apache.pulsar.common.policies.data.ReplicatorStats
Direct Known Subclasses:
NonPersistentReplicatorStatsImpl

public class ReplicatorStatsImpl extends Object implements org.apache.pulsar.common.policies.data.ReplicatorStats
Statistics about a replicator.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    boolean
    is the replication-subscriber up and running to replicate to remote cluster.
    Timestamp of incoming connection establishment time.
    Address of incoming replication connection.
    double
    Total rate of messages expired (msg/s).
    double
    Total rate of messages received from the remote cluster (msg/s).
    double
    Total rate of messages delivered to the replication-subscriber (msg/s).
    double
    Total throughput received from the remote cluster (bytes/s).
    double
    Total throughput delivered to the replication-subscriber (bytes/s).
    Timestamp of outbound connection establishment time.
    Address of outbound replication connection.
    long
    Number of messages pending to be replicated to remote cluster.
    long
    Time in seconds from the time a message was produced to the time when it is about to be replicated.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.apache.pulsar.common.policies.data.ReplicatorStats

    getInboundConnectedSince, getInboundConnection, getMsgRateExpired, getMsgRateIn, getMsgRateOut, getMsgThroughputIn, getMsgThroughputOut, getOutboundConnectedSince, getOutboundConnection, getReplicationBacklog, getReplicationDelayInSeconds, isConnected
  • Field Details

    • msgRateIn

      public double msgRateIn
      Total rate of messages received from the remote cluster (msg/s).
    • msgThroughputIn

      public double msgThroughputIn
      Total throughput received from the remote cluster (bytes/s).
    • msgRateOut

      public double msgRateOut
      Total rate of messages delivered to the replication-subscriber (msg/s).
    • msgThroughputOut

      public double msgThroughputOut
      Total throughput delivered to the replication-subscriber (bytes/s).
    • msgRateExpired

      public double msgRateExpired
      Total rate of messages expired (msg/s).
    • replicationBacklog

      public long replicationBacklog
      Number of messages pending to be replicated to remote cluster.
    • connected

      public boolean connected
      is the replication-subscriber up and running to replicate to remote cluster.
    • replicationDelayInSeconds

      public long replicationDelayInSeconds
      Time in seconds from the time a message was produced to the time when it is about to be replicated.
    • inboundConnection

      public String inboundConnection
      Address of incoming replication connection.
    • inboundConnectedSince

      public String inboundConnectedSince
      Timestamp of incoming connection establishment time.
    • outboundConnection

      public String outboundConnection
      Address of outbound replication connection.
    • outboundConnectedSince

      public String outboundConnectedSince
      Timestamp of outbound connection establishment time.
  • Constructor Details

    • ReplicatorStatsImpl

      public ReplicatorStatsImpl()
  • Method Details