Interface ConsumerStats
-
public interface ConsumerStatsConsumer statistics.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetAddress()Address of this consumer.intgetAvailablePermits()Number of available message permits for the consumer.intgetAvgMessagesPerEntry()Number of average messages per entry for the consumer consumed.longgetBytesOutCounter()Total bytes delivered to consumer (bytes).doublegetChunkedMessageRate()Total chunked messages dispatched.java.lang.StringgetClientVersion()Client library version.java.lang.StringgetConnectedSince()Timestamp of connection.java.lang.StringgetConsumerName()Name of the consumer.java.util.List<java.lang.String>getKeyHashRanges()Hash ranges assigned to this consumer if is Key_Shared sub mode.longgetLastAckedTimestamp()longgetLastConsumedTimestamp()java.util.Map<java.lang.String,java.lang.String>getMetadata()Metadata (key/value strings) associated with this consumer.longgetMsgOutCounter()Total messages delivered to consumer (msg).doublegetMsgRateOut()Total rate of messages delivered to the consumer (msg/s).doublegetMsgRateRedeliver()Total rate of messages redelivered by this consumer (msg/s).doublegetMsgThroughputOut()Total throughput delivered to the consumer (bytes/s).java.lang.StringgetReadPositionWhenJoining()The read position of the cursor when the consumer joining.intgetUnackedMessages()Number of unacknowledged messages for the consumer.booleanisBlockedConsumerOnUnackedMsgs()Flag to verify if consumer is blocked due to reaching threshold of unacked messages.
-
-
-
Method Detail
-
getMsgRateOut
double getMsgRateOut()
Total rate of messages delivered to the consumer (msg/s).
-
getMsgThroughputOut
double getMsgThroughputOut()
Total throughput delivered to the consumer (bytes/s).
-
getBytesOutCounter
long getBytesOutCounter()
Total bytes delivered to consumer (bytes).
-
getMsgOutCounter
long getMsgOutCounter()
Total messages delivered to consumer (msg).
-
getMsgRateRedeliver
double getMsgRateRedeliver()
Total rate of messages redelivered by this consumer (msg/s).
-
getChunkedMessageRate
double getChunkedMessageRate()
Total chunked messages dispatched.
-
getConsumerName
java.lang.String getConsumerName()
Name of the consumer.
-
getAvailablePermits
int getAvailablePermits()
Number of available message permits for the consumer.
-
getUnackedMessages
int getUnackedMessages()
Number of unacknowledged messages for the consumer.
-
getAvgMessagesPerEntry
int getAvgMessagesPerEntry()
Number of average messages per entry for the consumer consumed.
-
isBlockedConsumerOnUnackedMsgs
boolean isBlockedConsumerOnUnackedMsgs()
Flag to verify if consumer is blocked due to reaching threshold of unacked messages.
-
getReadPositionWhenJoining
java.lang.String getReadPositionWhenJoining()
The read position of the cursor when the consumer joining.
-
getAddress
java.lang.String getAddress()
Address of this consumer.
-
getConnectedSince
java.lang.String getConnectedSince()
Timestamp of connection.
-
getClientVersion
java.lang.String getClientVersion()
Client library version.
-
getLastAckedTimestamp
long getLastAckedTimestamp()
-
getLastConsumedTimestamp
long getLastConsumedTimestamp()
-
getKeyHashRanges
java.util.List<java.lang.String> getKeyHashRanges()
Hash ranges assigned to this consumer if is Key_Shared sub mode.
-
getMetadata
java.util.Map<java.lang.String,java.lang.String> getMetadata()
Metadata (key/value strings) associated with this consumer.
-
-