Class AlterClientQuotasResult

java.lang.Object
org.apache.kafka.clients.admin.AlterClientQuotasResult

@Evolving public class AlterClientQuotasResult extends Object
The result of the Admin.alterClientQuotas(Collection, AlterClientQuotasOptions) call. The API of this class is evolving, see Admin for details.
  • Constructor Summary

    Constructors
    Constructor
    Description
    AlterClientQuotasResult(Map<org.apache.kafka.common.quota.ClientQuotaEntity,org.apache.kafka.common.KafkaFuture<Void>> futures)
    Maps an entity to its alteration result.
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.kafka.common.KafkaFuture<Void>
    all()
    Returns a future which succeeds only if all quota alterations succeed.
    Map<org.apache.kafka.common.quota.ClientQuotaEntity,org.apache.kafka.common.KafkaFuture<Void>>
    Returns a map from quota entity to a future which can be used to check the status of the operation.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • AlterClientQuotasResult

      public AlterClientQuotasResult(Map<org.apache.kafka.common.quota.ClientQuotaEntity,org.apache.kafka.common.KafkaFuture<Void>> futures)
      Maps an entity to its alteration result.
      Parameters:
      futures - maps entity to its alteration result
  • Method Details

    • values

      public Map<org.apache.kafka.common.quota.ClientQuotaEntity,org.apache.kafka.common.KafkaFuture<Void>> values()
      Returns a map from quota entity to a future which can be used to check the status of the operation.
    • all

      public org.apache.kafka.common.KafkaFuture<Void> all()
      Returns a future which succeeds only if all quota alterations succeed.