Record Class QuotaFactory.QuotaManagers

java.lang.Object
java.lang.Record
kafka.server.QuotaFactory.QuotaManagers
Enclosing class:
QuotaFactory

public static record QuotaFactory.QuotaManagers(org.apache.kafka.server.quota.ClientQuotaManager fetch, org.apache.kafka.server.quota.ClientQuotaManager produce, ClientRequestQuotaManager request, org.apache.kafka.server.quota.ControllerMutationQuotaManager controllerMutation, ReplicationQuotaManager leader, ReplicationQuotaManager follower, ReplicationQuotaManager alterLogDirs, Optional<org.apache.kafka.common.internals.Plugin<org.apache.kafka.server.quota.ClientQuotaCallback>> clientQuotaCallbackPlugin) extends Record
  • Constructor Details

    • QuotaManagers

      public QuotaManagers(org.apache.kafka.server.quota.ClientQuotaManager fetch, org.apache.kafka.server.quota.ClientQuotaManager produce, ClientRequestQuotaManager request, org.apache.kafka.server.quota.ControllerMutationQuotaManager controllerMutation, ReplicationQuotaManager leader, ReplicationQuotaManager follower, ReplicationQuotaManager alterLogDirs, Optional<org.apache.kafka.common.internals.Plugin<org.apache.kafka.server.quota.ClientQuotaCallback>> clientQuotaCallbackPlugin)
      Creates an instance of a QuotaManagers record class.
      Parameters:
      fetch - the value for the fetch record component
      produce - the value for the produce record component
      request - the value for the request record component
      controllerMutation - the value for the controllerMutation record component
      leader - the value for the leader record component
      follower - the value for the follower record component
      alterLogDirs - the value for the alterLogDirs record component
      clientQuotaCallbackPlugin - the value for the clientQuotaCallbackPlugin record component
  • Method Details

    • shutdown

      public void shutdown()
    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • fetch

      public org.apache.kafka.server.quota.ClientQuotaManager fetch()
      Returns the value of the fetch record component.
      Returns:
      the value of the fetch record component
    • produce

      public org.apache.kafka.server.quota.ClientQuotaManager produce()
      Returns the value of the produce record component.
      Returns:
      the value of the produce record component
    • request

      public ClientRequestQuotaManager request()
      Returns the value of the request record component.
      Returns:
      the value of the request record component
    • controllerMutation

      public org.apache.kafka.server.quota.ControllerMutationQuotaManager controllerMutation()
      Returns the value of the controllerMutation record component.
      Returns:
      the value of the controllerMutation record component
    • leader

      public ReplicationQuotaManager leader()
      Returns the value of the leader record component.
      Returns:
      the value of the leader record component
    • follower

      public ReplicationQuotaManager follower()
      Returns the value of the follower record component.
      Returns:
      the value of the follower record component
    • alterLogDirs

      public ReplicationQuotaManager alterLogDirs()
      Returns the value of the alterLogDirs record component.
      Returns:
      the value of the alterLogDirs record component
    • clientQuotaCallbackPlugin

      public Optional<org.apache.kafka.common.internals.Plugin<org.apache.kafka.server.quota.ClientQuotaCallback>> clientQuotaCallbackPlugin()
      Returns the value of the clientQuotaCallbackPlugin record component.
      Returns:
      the value of the clientQuotaCallbackPlugin record component