public class DegradedBroker extends Object
Constructor and Description |
---|
DegradedBroker(int brokerId,
Set<DegradedBrokerComponent> degradedBrokerComponents) |
Modifier and Type | Method and Description |
---|---|
int |
brokerId()
The brokerId whose health state we want to alter.
|
Set<DegradedBrokerComponent> |
degradedBrokerComponents()
The set of degraded broker components.
|
boolean |
equals(Object o) |
int |
hashCode() |
List<String> |
reasons()
The list of reasons that this broker is currently degraded for.
|
org.apache.kafka.common.message.DescribeBrokerHealthResponseData.DegradedBroker |
response(short requestVersion)
Generates the response object using the request version.
|
String |
toString() |
public DegradedBroker(int brokerId, Set<DegradedBrokerComponent> degradedBrokerComponents)
public int brokerId()
public Set<DegradedBrokerComponent> degradedBrokerComponents()
public List<String> reasons()
public org.apache.kafka.common.message.DescribeBrokerHealthResponseData.DegradedBroker response(short requestVersion)