Package org.apache.kafka.clients.admin
Class DeleteTopicsResult
java.lang.Object
org.apache.kafka.clients.admin.DeleteTopicsResult
@Evolving public class DeleteTopicsResult extends Object
The result of the
Admin.deleteTopics(Collection)
call.
The API of this class is evolving, see Admin
for details.-
Constructor Summary
Constructors Modifier Constructor Description protected
DeleteTopicsResult(Map<Uuid,KafkaFuture<Void>> topicIdFutures, Map<String,KafkaFuture<Void>> nameFutures)
-
Method Summary
Modifier and Type Method Description KafkaFuture<Void>
all()
Map<Uuid,KafkaFuture<Void>>
topicIdValues()
Use whenAdmin.deleteTopics(TopicCollection, DeleteTopicsOptions)
used a TopicIdCollectionMap<String,KafkaFuture<Void>>
topicNameValues()
Use whenAdmin.deleteTopics(TopicCollection, DeleteTopicsOptions)
used a TopicNameCollectionMap<String,KafkaFuture<Void>>
values()
Deprecated.
-
Constructor Details
-
DeleteTopicsResult
protected DeleteTopicsResult(Map<Uuid,KafkaFuture<Void>> topicIdFutures, Map<String,KafkaFuture<Void>> nameFutures)
-
-
Method Details
-
topicIdValues
Use whenAdmin.deleteTopics(TopicCollection, DeleteTopicsOptions)
used a TopicIdCollection- Returns:
- a map from topic IDs to futures which can be used to check the status of individual deletions if the deleteTopics request used topic IDs. Otherwise return null.
-
topicNameValues
Use whenAdmin.deleteTopics(TopicCollection, DeleteTopicsOptions)
used a TopicNameCollection- Returns:
- a map from topic names to futures which can be used to check the status of individual deletions if the deleteTopics request used topic names. Otherwise return null.
-
values
Deprecated. -
all
- Returns:
- a future which succeeds only if all the topic deletions succeed.
-