类 ConsumerStatsImpl
java.lang.Object
org.apache.pulsar.common.policies.data.stats.ConsumerStatsImpl
- 所有已实现的接口:
ConsumerStats
Consumer statistics.
-
字段概要
字段修饰符和类型字段说明intNumber of available message permits for the consumer.intNumber of average messages per entry for the consumer consumed.booleanFlag to verify if consumer is blocked due to reaching threshold of unacked messages.longTotal bytes delivered to consumer (bytes).doubleThe total rate of chunked messages delivered to this consumer.Name of the consumer.Hash ranges assigned to this consumer if is Key_Shared sub mode.long已过时。longlong已过时。doubleTotal rate of message ack (msg/s).Metadata (key/value strings) associated with this consumer.longTotal messages delivered to consumer (msg).doubleTotal rate of messages delivered to the consumer (msg/s).doubleTotal rate of messages redelivered by this consumer (msg/s).doubleTotal throughput delivered to the consumer (bytes/s).The read position of the cursor when the consumer joining.intNumber of unacknowledged messages for the consumer, where an unacknowledged message is one that has been sent to the consumer but not yet acknowledged. -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明add(ConsumerStatsImpl stats) voidsetAddress(String address) voidsetClientVersion(String clientVersion) voidsetConnectedSince(String connectedSince) 从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait从接口继承的方法 org.apache.pulsar.common.policies.data.ConsumerStats
getAvailablePermits, getAvgMessagesPerEntry, getBytesOutCounter, getChunkedMessageRate, getConsumerName, getKeyHashRanges, getLastAckedTimestamp, getLastConsumedFlowTimestamp, getLastConsumedTimestamp, getMessageAckRate, getMetadata, getMsgOutCounter, getMsgRateOut, getMsgRateRedeliver, getMsgThroughputOut, getUnackedMessages, isBlockedConsumerOnUnackedMsgs
-
字段详细资料
-
msgRateOut
public double msgRateOutTotal rate of messages delivered to the consumer (msg/s). -
msgThroughputOut
public double msgThroughputOutTotal throughput delivered to the consumer (bytes/s). -
bytesOutCounter
public long bytesOutCounterTotal bytes delivered to consumer (bytes). -
msgOutCounter
public long msgOutCounterTotal messages delivered to consumer (msg). -
msgRateRedeliver
public double msgRateRedeliverTotal rate of messages redelivered by this consumer (msg/s). -
messageAckRate
public double messageAckRateTotal rate of message ack (msg/s). -
chunkedMessageRate
public double chunkedMessageRateThe total rate of chunked messages delivered to this consumer. -
consumerName
Name of the consumer. -
availablePermits
public int availablePermitsNumber of available message permits for the consumer. -
unackedMessages
public int unackedMessagesNumber of unacknowledged messages for the consumer, where an unacknowledged message is one that has been sent to the consumer but not yet acknowledged. This field is only meaningful when using aSubscriptionTypethat tracks individual message acknowledgement, likeSubscriptionType.SharedorSubscriptionType.Key_Shared. -
avgMessagesPerEntry
public int avgMessagesPerEntryNumber of average messages per entry for the consumer consumed. -
blockedConsumerOnUnackedMsgs
public boolean blockedConsumerOnUnackedMsgsFlag to verify if consumer is blocked due to reaching threshold of unacked messages. -
readPositionWhenJoining
The read position of the cursor when the consumer joining. -
lastAckedTimestamp
已过时。 -
lastConsumedTimestamp
已过时。 -
lastConsumedFlowTimestamp
public long lastConsumedFlowTimestamp -
keyHashRanges
Hash ranges assigned to this consumer if is Key_Shared sub mode. -
metadata
Metadata (key/value strings) associated with this consumer.
-
-
构造器详细资料
-
ConsumerStatsImpl
public ConsumerStatsImpl()
-
-
方法详细资料
-
add
-
getAddress
- 指定者:
getAddress在接口中ConsumerStats
-
setAddress
-
getConnectedSince
- 指定者:
getConnectedSince在接口中ConsumerStats
-
setConnectedSince
-
getClientVersion
- 指定者:
getClientVersion在接口中ConsumerStats
-
setClientVersion
-
getReadPositionWhenJoining
- 指定者:
getReadPositionWhenJoining在接口中ConsumerStats
-
getLastAckedTime
-
getLastConsumedTime
-