Package org.apache.kafka.clients.admin
Class DeleteAclsResult
- java.lang.Object
-
- org.apache.kafka.clients.admin.DeleteAclsResult
-
@Evolving public class DeleteAclsResult extends java.lang.Object
The result of theAdmin.deleteAcls(Collection)
call. The API of this class is evolving, seeAdmin
for details.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DeleteAclsResult.FilterResult
A class containing either the deleted ACL binding or an exception if the delete failed.static class
DeleteAclsResult.FilterResults
A class containing the results of the delete ACLs operation.
-
Constructor Summary
Constructors Constructor Description DeleteAclsResult(java.util.Map<AclBindingFilter,KafkaFuture<DeleteAclsResult.FilterResults>> futures)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description KafkaFuture<java.util.Collection<AclBinding>>
all()
Return a future which succeeds only if all the ACLs deletions succeed, and which contains all the deleted ACLs.java.util.Map<AclBindingFilter,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.
-
-
-
Constructor Detail
-
DeleteAclsResult
public DeleteAclsResult(java.util.Map<AclBindingFilter,KafkaFuture<DeleteAclsResult.FilterResults>> futures)
-
-
Method Detail
-
values
public java.util.Map<AclBindingFilter,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 KafkaFuture<java.util.Collection<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.
-
-