@Confluent @InterfaceStability.Evolving public class ReplicaStatusResult extends java.lang.Object
ConfluentAdmin.replicaStatus(Set, ReplicaStatusOptions)
.
The API of this class is evolving, see Admin
for details.Constructor and Description |
---|
ReplicaStatusResult(java.util.Map<TopicPartition,KafkaFuture<java.util.List<org.apache.kafka.common.replica.ReplicaStatus>>> result) |
Modifier and Type | Method and Description |
---|---|
KafkaFuture<java.lang.Void> |
all()
Returns a future which succeeds only if all replica status requests succeed.
|
java.util.Map<TopicPartition,KafkaFuture<java.util.List<org.apache.kafka.common.replica.ReplicaStatus>>> |
result()
Returns a map from topic and partition to the status of each of its replicas.
|
public ReplicaStatusResult(java.util.Map<TopicPartition,KafkaFuture<java.util.List<org.apache.kafka.common.replica.ReplicaStatus>>> result)
public java.util.Map<TopicPartition,KafkaFuture<java.util.List<org.apache.kafka.common.replica.ReplicaStatus>>> result()
public KafkaFuture<java.lang.Void> all()