Package org.apache.kafka.clients.admin
Class CreateAclsResult
- java.lang.Object
-
- org.apache.kafka.clients.admin.CreateAclsResult
-
@Evolving public class CreateAclsResult extends java.lang.Object
The result of theAdmin.createAcls(Collection)
call. The API of this class is evolving, seeAdmin
for details.
-
-
Constructor Summary
Constructors Constructor Description CreateAclsResult(java.util.Map<AclBinding,KafkaFuture<java.lang.Void>> futures)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description KafkaFuture<java.lang.Void>
all()
Return a future which succeeds only if all the ACL creations succeed.java.util.Map<AclBinding,KafkaFuture<java.lang.Void>>
values()
Return a map from ACL bindings to futures which can be used to check the status of the creation of each ACL binding.
-
-
-
Constructor Detail
-
CreateAclsResult
public CreateAclsResult(java.util.Map<AclBinding,KafkaFuture<java.lang.Void>> futures)
-
-
Method Detail
-
values
public java.util.Map<AclBinding,KafkaFuture<java.lang.Void>> values()
Return a map from ACL bindings to futures which can be used to check the status of the creation of each ACL binding.
-
all
public KafkaFuture<java.lang.Void> all()
Return a future which succeeds only if all the ACL creations succeed.
-
-