Package org.apache.kafka.clients.admin
Class DescribeLogDirsResult
java.lang.Object
org.apache.kafka.clients.admin.DescribeLogDirsResult
@Evolving public class DescribeLogDirsResult extends Object
The result of the
Admin.describeLogDirs(Collection)
call.
The API of this class is evolving, see Admin
for details.-
Method Summary
Modifier and Type Method Description KafkaFuture<Map<Integer,Map<String,org.apache.kafka.common.requests.DescribeLogDirsResponse.LogDirInfo>>>
all()
Deprecated.Deprecated Since Kafka 2.7.KafkaFuture<Map<Integer,Map<String,LogDirDescription>>>
allDescriptions()
Return a future which succeeds only if all the brokers have responded without error.Map<Integer,KafkaFuture<Map<String,LogDirDescription>>>
descriptions()
Return a map from brokerId to future which can be used to check the information of partitions on each individual broker.Map<Integer,KafkaFuture<Map<String,org.apache.kafka.common.requests.DescribeLogDirsResponse.LogDirInfo>>>
values()
Deprecated.Deprecated Since Kafka 2.7.
-
Method Details
-
values
@Deprecated public Map<Integer,KafkaFuture<Map<String,org.apache.kafka.common.requests.DescribeLogDirsResponse.LogDirInfo>>> values()Deprecated.Deprecated Since Kafka 2.7. Usedescriptions()
.Return a map from brokerId to future which can be used to check the information of partitions on each individual broker. -
descriptions
Return a map from brokerId to future which can be used to check the information of partitions on each individual broker. The result of the future is a map from broker log directory path to a description of that log directory. -
all
@Deprecated public KafkaFuture<Map<Integer,Map<String,org.apache.kafka.common.requests.DescribeLogDirsResponse.LogDirInfo>>> all()Deprecated.Deprecated Since Kafka 2.7. UseallDescriptions()
.Return a future which succeeds only if all the brokers have responded without error -
allDescriptions
Return a future which succeeds only if all the brokers have responded without error. The result of the future is a map from brokerId to a map from broker log directory path to a description of that log directory.
-