@InterfaceStability.Evolving public class AlterClientQuotasResult extends java.lang.Object
Admin.alterClientQuotas(Collection, AlterClientQuotasOptions)
call.
The API of this class is evolving, see Admin
for details.Constructor and Description |
---|
AlterClientQuotasResult(java.util.Map<org.apache.kafka.common.quota.ClientQuotaEntity,KafkaFuture<java.lang.Void>> futures)
Maps an entity to its alteration result.
|
Modifier and Type | Method and 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.
|
public AlterClientQuotasResult(java.util.Map<org.apache.kafka.common.quota.ClientQuotaEntity,KafkaFuture<java.lang.Void>> futures)
futures
- maps entity to its alteration resultpublic java.util.Map<org.apache.kafka.common.quota.ClientQuotaEntity,KafkaFuture<java.lang.Void>> values()
public KafkaFuture<java.lang.Void> all()