Class ClientQuotaAlteration.Op

java.lang.Object
org.apache.kafka.common.quota.ClientQuotaAlteration.Op
Enclosing class:
ClientQuotaAlteration

public static class ClientQuotaAlteration.Op extends Object
  • Constructor Details

    • Op

      public Op(String key, Double value)
      Parameters:
      key - the quota type to alter
      value - if set then the existing value is updated, otherwise if null, the existing value is cleared
  • Method Details

    • key

      public String key()
      Returns:
      the quota type to alter
    • value

      public Double value()
      Returns:
      if set then the existing value is updated, otherwise if null, the existing value is cleared
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object