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