public class PublisherStatsImpl extends Object implements PublisherStats
| Modifier and Type | Field and Description |
|---|---|
ProducerAccessMode |
accessMode |
double |
averageMsgSize
Average message size published by this publisher.
|
double |
chunkedMessageRate
total chunked message count received.
|
Map<String,String> |
metadata
Metadata (key/value strings) associated with this publisher.
|
double |
msgRateIn
Total rate of messages published by this publisher (msg/s).
|
double |
msgThroughputIn
Total throughput of messages published by this publisher (byte/s).
|
long |
producerId
Id of this publisher.
|
| Constructor and Description |
|---|
PublisherStatsImpl() |
| Modifier and Type | Method and Description |
|---|---|
PublisherStatsImpl |
add(PublisherStatsImpl stats) |
String |
getAddress() |
String |
getClientVersion() |
String |
getConnectedSince() |
String |
getProducerName() |
void |
setAddress(String address) |
void |
setClientVersion(String clientVersion) |
void |
setConnectedSince(String connectedSince) |
void |
setProducerName(String producerName) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAccessMode, getAverageMsgSize, getChunkedMessageRate, getMetadata, getMsgRateIn, getMsgThroughputIn, getProducerIdpublic ProducerAccessMode accessMode
public double msgRateIn
public double msgThroughputIn
public double averageMsgSize
public double chunkedMessageRate
public long producerId
public PublisherStatsImpl add(PublisherStatsImpl stats)
public String getProducerName()
getProducerName in interface PublisherStatspublic void setProducerName(String producerName)
public String getAddress()
getAddress in interface PublisherStatspublic void setAddress(String address)
public String getConnectedSince()
getConnectedSince in interface PublisherStatspublic void setConnectedSince(String connectedSince)
public String getClientVersion()
getClientVersion in interface PublisherStatspublic void setClientVersion(String clientVersion)
Copyright © 2017–2021 Apache Software Foundation. All rights reserved.