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 java.lang.Object implements org.apache.pulsar.common.policies.data.ReplicatorStatsStatistics about a replicator.
-
-
Field Summary
Fields Modifier and Type Field Description booleanconnectedis the replication-subscriber up and running to replicate to remote cluster.java.lang.StringinboundConnectedSinceTimestamp of incoming connection establishment time.java.lang.StringinboundConnectionAddress of incoming replication connection.doublemsgRateExpiredTotal rate of messages expired (msg/s).doublemsgRateInTotal rate of messages received from the remote cluster (msg/s).doublemsgRateOutTotal rate of messages delivered to the replication-subscriber (msg/s).doublemsgThroughputInTotal throughput received from the remote cluster (bytes/s).doublemsgThroughputOutTotal throughput delivered to the replication-subscriber (bytes/s).java.lang.StringoutboundConnectedSinceTimestamp of outbound connection establishment time.java.lang.StringoutboundConnectionAddress of outbound replication connection.longreplicationBacklogNumber of messages pending to be replicated to remote cluster.longreplicationDelayInSecondsTime in seconds from the time a message was produced to the time when it is about to be replicated.
-
Constructor Summary
Constructors Constructor Description ReplicatorStatsImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ReplicatorStatsImpladd(ReplicatorStatsImpl stats)-
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 Detail
-
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 java.lang.String inboundConnection
Address of incoming replication connection.
-
inboundConnectedSince
public java.lang.String inboundConnectedSince
Timestamp of incoming connection establishment time.
-
outboundConnection
public java.lang.String outboundConnection
Address of outbound replication connection.
-
outboundConnectedSince
public java.lang.String outboundConnectedSince
Timestamp of outbound connection establishment time.
-
-
Method Detail
-
add
public ReplicatorStatsImpl add(ReplicatorStatsImpl stats)
-
-