接口 PublisherStats
-
- 所有已知子接口:
NonPersistentPublisherStats
public interface PublisherStatsStatistics about a publisher.
-
-
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 org.apache.pulsar.client.api.ProducerAccessModegetAccessMode()java.lang.StringgetAddress()Address of this publisher.doublegetAverageMsgSize()Average message size published by this publisher.doublegetChunkedMessageRate()total chunked message count received.java.lang.StringgetClientVersion()Client library version.java.lang.StringgetConnectedSince()Timestamp of connection.java.util.Map<java.lang.String,java.lang.String>getMetadata()Metadata (key/value strings) associated with this publisher.doublegetMsgRateIn()Total rate of messages published by this publisher (msg/s).doublegetMsgThroughputIn()Total throughput of messages published by this publisher (byte/s).longgetProducerId()Id of this publisher.java.lang.StringgetProducerName()Producer name.
-
-
-
方法详细资料
-
getAccessMode
org.apache.pulsar.client.api.ProducerAccessMode getAccessMode()
-
getMsgRateIn
double getMsgRateIn()
Total rate of messages published by this publisher (msg/s).
-
getMsgThroughputIn
double getMsgThroughputIn()
Total throughput of messages published by this publisher (byte/s).
-
getAverageMsgSize
double getAverageMsgSize()
Average message size published by this publisher.
-
getChunkedMessageRate
double getChunkedMessageRate()
total chunked message count received.
-
getProducerId
long getProducerId()
Id of this publisher.
-
getProducerName
java.lang.String getProducerName()
Producer name.
-
getAddress
java.lang.String getAddress()
Address of this publisher.
-
getConnectedSince
java.lang.String getConnectedSince()
Timestamp of connection.
-
getClientVersion
java.lang.String getClientVersion()
Client library version.
-
getMetadata
java.util.Map<java.lang.String,java.lang.String> getMetadata()
Metadata (key/value strings) associated with this publisher.
-
-