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 theAdmin.describeLogDirs(Collection)
call. The API of this class is evolving, seeAdmin
for details.
-
-
Constructor Summary
Constructors Constructor Description DescribeLogDirsResult(Map<Integer,KafkaFuture<Map<String,org.apache.kafka.common.requests.DescribeLogDirsResponse.LogDirInfo>>> futures)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description KafkaFuture<Map<Integer,Map<String,org.apache.kafka.common.requests.DescribeLogDirsResponse.LogDirInfo>>>
all()
Return a future which succeeds only if all the brokers have responded without errorMap<Integer,KafkaFuture<Map<String,org.apache.kafka.common.requests.DescribeLogDirsResponse.LogDirInfo>>>
values()
Return a map from brokerId to future which can be used to check the information of partitions on each individual broker
-
-
-
Constructor Detail
-
DescribeLogDirsResult
public DescribeLogDirsResult(Map<Integer,KafkaFuture<Map<String,org.apache.kafka.common.requests.DescribeLogDirsResponse.LogDirInfo>>> futures)
-
-
Method Detail
-
values
public Map<Integer,KafkaFuture<Map<String,org.apache.kafka.common.requests.DescribeLogDirsResponse.LogDirInfo>>> values()
Return a map from brokerId to future which can be used to check the information of partitions on each individual broker
-
all
public KafkaFuture<Map<Integer,Map<String,org.apache.kafka.common.requests.DescribeLogDirsResponse.LogDirInfo>>> all()
Return a future which succeeds only if all the brokers have responded without error
-
-