public class Connection extends AbstractModel
Constructor and Description |
---|
Connection() |
Connection(Connection 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.
|
String |
getAverageMsgSize()
Get Average message size in bytes.
|
String |
getClientVersion()
Get Producer version.
|
String |
getMsgThroughputIn()
Get Production rate in bytes/sec.
|
Long |
getPartitions()
Get Topic partition.
|
String |
getProducerId()
Get Producer ID.
|
String |
getProducerName()
Get Producer name.
|
void |
setAddress(String Address)
Set Producer address.
|
void |
setAverageMsgSize(String AverageMsgSize)
Set Average message size in bytes.
|
void |
setClientVersion(String ClientVersion)
Set Producer version.
|
void |
setMsgThroughputIn(String MsgThroughputIn)
Set Production rate in bytes/sec.
|
void |
setPartitions(Long Partitions)
Set Topic partition.
|
void |
setProducerId(String 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 Connection()
public Connection(Connection source)
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 Long getPartitions()
public void setPartitions(Long Partitions)
Partitions
- Topic partition.
Note: this field may return null, indicating that no valid values can be obtained.public String getClientVersion()
public void setClientVersion(String ClientVersion)
ClientVersion
- Producer version.
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 getProducerId()
public void setProducerId(String ProducerId)
ProducerId
- Producer ID.
Note: this field may return null, indicating that no valid values can be obtained.public String getAverageMsgSize()
public void setAverageMsgSize(String AverageMsgSize)
AverageMsgSize
- Average message size in bytes.
Note: this field may return null, indicating that no valid values can be obtained.public String getMsgThroughputIn()
public void setMsgThroughputIn(String MsgThroughputIn)
MsgThroughputIn
- Production rate in bytes/sec.
Note: this field may return null, indicating that no valid values can be obtained.Copyright © 2022. All rights reserved.