@InterfaceStability.Evolving public class AlterBrokerHealthResult extends Object
ConfluentAdmin#alterBrokerHealth(AlterBrokerHealthSpec, AlterBrokerHealthOptions) . The API of this class is evolving. See ConfluentAdmin for details.| Modifier and Type | Method and Description |
|---|---|
KafkaFuture<Map<Integer,BrokerHealthStatusResult>> | all()Return a future which succeeds only if all the leadership priority changes succeed. |
Map<Integer,KafkaFuture<BrokerHealthStatusResult>> | values()Returns a collection of future results for each broker that attempted to change broker leadership. |
public Map<Integer,KafkaFuture<BrokerHealthStatusResult>> values()
public KafkaFuture<Map<Integer,BrokerHealthStatusResult>> all()