Package org.apache.kafka.clients.admin
Class DeleteTopicsResult
java.lang.Object
org.apache.kafka.clients.admin.DeleteTopicsResult
The result of the
Admin.deleteTopics(Collection)
call.
The API of this class is evolving, see Admin
for details.-
Constructor Summary
ModifierConstructorDescriptionprotected
DeleteTopicsResult
(Map<Uuid, KafkaFuture<Void>> topicIdFutures, Map<String, KafkaFuture<Void>> nameFutures) -
Method Summary
Modifier and TypeMethodDescriptionall()
Use whenAdmin.deleteTopics(TopicCollection, DeleteTopicsOptions)
used a TopicIdCollectionUse whenAdmin.deleteTopics(TopicCollection, DeleteTopicsOptions)
used a TopicNameCollectionvalues()
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.Since 3.0 usetopicNameValues()
instead- 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.
-
all
- Returns:
- a future which succeeds only if all the topic deletions succeed.
-
topicNameValues()
instead