public class Publisher extends AbstractModel
Constructor and Description |
---|
Publisher() |
Publisher(Publisher source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
String |
getAddress()
Get Producer address.
|
Float |
getAverageMsgSize()
Get Average message size in bytes.
|
String |
getClientVersion()
Get Client version.
|
String |
getConnectedSince()
Get Connection time.
|
Float |
getMsgRateIn()
Get Message production rate (message/sec).
|
Float |
getMsgThroughputIn()
Get Message production throughput rate (byte/sec).
|
Long |
getPartition()
Get Serial number of the topic partition connected to the producer.
|
Long |
getProducerId()
Get Producer ID.
|
String |
getProducerName()
Get Producer name.
|
void |
setAddress(String Address)
Set Producer address.
|
void |
setAverageMsgSize(Float AverageMsgSize)
Set Average message size in bytes.
|
void |
setClientVersion(String ClientVersion)
Set Client version.
|
void |
setConnectedSince(String ConnectedSince)
Set Connection time.
|
void |
setMsgRateIn(Float MsgRateIn)
Set Message production rate (message/sec).
|
void |
setMsgThroughputIn(Float MsgThroughputIn)
Set Message production throughput rate (byte/sec).
|
void |
setPartition(Long Partition)
Set Serial number of the topic partition connected to the producer.
|
void |
setProducerId(Long ProducerId)
Set Producer ID.
|
void |
setProducerName(String ProducerName)
Set Producer name.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public Publisher()
public Publisher(Publisher source)
public Long getProducerId()
public void setProducerId(Long ProducerId)
ProducerId
- Producer ID.
Note: this field may return `null`, indicating that no valid values can be obtained.public String getProducerName()
public void setProducerName(String ProducerName)
ProducerName
- Producer name.
Note: this field may return `null`, indicating that no valid values can be obtained.public String getAddress()
public void setAddress(String Address)
Address
- Producer address.
Note: this field may return `null`, indicating that no valid values can be obtained.public String getClientVersion()
public void setClientVersion(String ClientVersion)
ClientVersion
- Client version.
Note: this field may return `null`, indicating that no valid values can be obtained.public Float getMsgRateIn()
public void setMsgRateIn(Float MsgRateIn)
MsgRateIn
- Message production rate (message/sec).
Note: this field may return `null`, indicating that no valid values can be obtained.public Float getMsgThroughputIn()
public void setMsgThroughputIn(Float MsgThroughputIn)
MsgThroughputIn
- Message production throughput rate (byte/sec).
Note: this field may return `null`, indicating that no valid values can be obtained.public Float getAverageMsgSize()
public void setAverageMsgSize(Float AverageMsgSize)
AverageMsgSize
- Average message size in bytes.
Note: this field may return `null`, indicating that no valid values can be obtained.public String getConnectedSince()
public void setConnectedSince(String ConnectedSince)
ConnectedSince
- Connection time.
Note: this field may return `null`, indicating that no valid values can be obtained.public Long getPartition()
public void setPartition(Long Partition)
Partition
- Serial number of the topic partition connected to the producer.
Note: this field may return `null`, indicating that no valid values can be obtained.Copyright © 2023. All rights reserved.