Package org.apache.kafka.clients.admin
Class AlterClientQuotasResult
- java.lang.Object
-
- org.apache.kafka.clients.admin.AlterClientQuotasResult
-
@Evolving public class AlterClientQuotasResult extends java.lang.Object
The result of theAdmin.alterClientQuotas(Collection, AlterClientQuotasOptions)
call. The API of this class is evolving, seeAdmin
for details.
-
-
Constructor Summary
Constructors Constructor Description AlterClientQuotasResult(java.util.Map<org.apache.kafka.common.quota.ClientQuotaEntity,KafkaFuture<java.lang.Void>> futures)
Maps an entity to its alteration result.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description KafkaFuture<java.lang.Void>
all()
Returns a future which succeeds only if all quota alterations succeed.java.util.Map<org.apache.kafka.common.quota.ClientQuotaEntity,KafkaFuture<java.lang.Void>>
values()
Returns a map from quota entity to a future which can be used to check the status of the operation.
-
-
-
Constructor Detail
-
AlterClientQuotasResult
public AlterClientQuotasResult(java.util.Map<org.apache.kafka.common.quota.ClientQuotaEntity,KafkaFuture<java.lang.Void>> futures)
Maps an entity to its alteration result.- Parameters:
futures
- maps entity to its alteration result
-
-
Method Detail
-
values
public java.util.Map<org.apache.kafka.common.quota.ClientQuotaEntity,KafkaFuture<java.lang.Void>> values()
Returns a map from quota entity to a future which can be used to check the status of the operation.
-
all
public KafkaFuture<java.lang.Void> all()
Returns a future which succeeds only if all quota alterations succeed.
-
-