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
FieldsModifier and TypeFieldDescriptionbooleanis the replication-subscriber up and running to replicate to remote cluster.Timestamp of incoming connection establishment time.Address of incoming replication connection.doubleTotal rate of messages expired (msg/s).doubleTotal rate of messages received from the remote cluster (msg/s).doubleTotal rate of messages delivered to the replication-subscriber (msg/s).doubleTotal throughput received from the remote cluster (bytes/s).doubleTotal throughput delivered to the replication-subscriber (bytes/s).Timestamp of outbound connection establishment time.Address of outbound replication connection.longNumber of messages pending to be replicated to remote cluster.longTime in seconds from the time a message was produced to the time when it is about to be replicated. -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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 msgRateInTotal rate of messages received from the remote cluster (msg/s). -
msgThroughputIn
public double msgThroughputInTotal throughput received from the remote cluster (bytes/s). -
msgRateOut
public double msgRateOutTotal rate of messages delivered to the replication-subscriber (msg/s). -
msgThroughputOut
public double msgThroughputOutTotal throughput delivered to the replication-subscriber (bytes/s). -
msgRateExpired
public double msgRateExpiredTotal rate of messages expired (msg/s). -
replicationBacklog
public long replicationBacklogNumber of messages pending to be replicated to remote cluster. -
connected
public boolean connectedis the replication-subscriber up and running to replicate to remote cluster. -
replicationDelayInSeconds
public long replicationDelayInSecondsTime in seconds from the time a message was produced to the time when it is about to be replicated. -
inboundConnection
Address of incoming replication connection. -
inboundConnectedSince
Timestamp of incoming connection establishment time. -
outboundConnection
Address of outbound replication connection. -
outboundConnectedSince
Timestamp of outbound connection establishment time.
-
-
Constructor Details
-
ReplicatorStatsImpl
public ReplicatorStatsImpl()
-
-
Method Details
-
add
-