Package org.apache.kafka.clients.admin
Class DeleteAclsResult
java.lang.Object
org.apache.kafka.clients.admin.DeleteAclsResult
The result of the
Admin.deleteAcls(Collection) call.
The API of this class is evolving, see Admin for details.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classA class containing either the deleted ACL binding or an exception if the delete failed.static classA class containing the results of the delete ACLs operation. -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.kafka.common.KafkaFuture<Collection<org.apache.kafka.common.acl.AclBinding>> all()Return a future which succeeds only if all the ACLs deletions succeed, and which contains all the deleted ACLs.Map<org.apache.kafka.common.acl.AclBindingFilter, org.apache.kafka.common.KafkaFuture<DeleteAclsResult.FilterResults>> values()Return a map from acl filters to futures which can be used to check the status of the deletions by each filter.
-
Method Details
-
values
public Map<org.apache.kafka.common.acl.AclBindingFilter,org.apache.kafka.common.KafkaFuture<DeleteAclsResult.FilterResults>> values()Return a map from acl filters to futures which can be used to check the status of the deletions by each filter. -
all
public org.apache.kafka.common.KafkaFuture<Collection<org.apache.kafka.common.acl.AclBinding>> all()Return a future which succeeds only if all the ACLs deletions succeed, and which contains all the deleted ACLs. Note that it if the filters don't match any ACLs, this is not considered an error.
-