public class RemoveBrokersResult
extends java.lang.Object
Modifier | Constructor and Description |
---|---|
protected |
RemoveBrokersResult(java.util.Map<java.lang.Integer,KafkaFuture<java.lang.Void>> futures) |
Modifier and Type | Method and Description |
---|---|
KafkaFuture<java.util.List<java.lang.Integer>> |
all()
Return a future which succeeds only if all the broker removal operations succeed.
|
java.util.Map<java.lang.Integer,KafkaFuture<java.lang.Void>> |
values()
Return a map of broker ids to futures which can be used to check the status of individual broker removals.
|
protected RemoveBrokersResult(java.util.Map<java.lang.Integer,KafkaFuture<java.lang.Void>> futures)
public java.util.Map<java.lang.Integer,KafkaFuture<java.lang.Void>> values()
public KafkaFuture<java.util.List<java.lang.Integer>> all()