Package org.apache.kafka.clients.admin
Class AlterReplicaLogDirsResult
- java.lang.Object
-
- org.apache.kafka.clients.admin.AlterReplicaLogDirsResult
-
@Evolving public class AlterReplicaLogDirsResult extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description AlterReplicaLogDirsResult(java.util.Map<TopicPartitionReplica,KafkaFuture<java.lang.Void>> futures)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description KafkaFuture<java.lang.Void>
all()
Return a future which succeeds if all the replica movement have succeededjava.util.Map<TopicPartitionReplica,KafkaFuture<java.lang.Void>>
values()
Return a map from replica to future which can be used to check the status of individual replica movement.
-
-
-
Constructor Detail
-
AlterReplicaLogDirsResult
public AlterReplicaLogDirsResult(java.util.Map<TopicPartitionReplica,KafkaFuture<java.lang.Void>> futures)
-
-
Method Detail
-
values
public java.util.Map<TopicPartitionReplica,KafkaFuture<java.lang.Void>> values()
Return a map from replica to future which can be used to check the status of individual replica movement. Possible error code: LOG_DIR_NOT_FOUND (57) KAFKA_STORAGE_ERROR (56) REPLICA_NOT_AVAILABLE (9) UNKNOWN (-1)
-
all
public KafkaFuture<java.lang.Void> all()
Return a future which succeeds if all the replica movement have succeeded
-
-