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 Summary
ConstructorsConstructorDescriptionQuotaManagers(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 aQuotaManagersrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thealterLogDirsrecord component.Optional<org.apache.kafka.common.internals.Plugin<org.apache.kafka.server.quota.ClientQuotaCallback>> Returns the value of theclientQuotaCallbackPluginrecord component.org.apache.kafka.server.quota.ControllerMutationQuotaManagerReturns the value of thecontrollerMutationrecord component.final booleanIndicates whether some other object is "equal to" this one.org.apache.kafka.server.quota.ClientQuotaManagerfetch()Returns the value of thefetchrecord component.follower()Returns the value of thefollowerrecord component.final inthashCode()Returns a hash code value for this object.leader()Returns the value of theleaderrecord component.org.apache.kafka.server.quota.ClientQuotaManagerproduce()Returns the value of theproducerecord component.request()Returns the value of therequestrecord component.voidshutdown()final StringtoString()Returns a string representation of this record class.
-
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 aQuotaManagersrecord class.- Parameters:
fetch- the value for thefetchrecord componentproduce- the value for theproducerecord componentrequest- the value for therequestrecord componentcontrollerMutation- the value for thecontrollerMutationrecord componentleader- the value for theleaderrecord componentfollower- the value for thefollowerrecord componentalterLogDirs- the value for thealterLogDirsrecord componentclientQuotaCallbackPlugin- the value for theclientQuotaCallbackPluginrecord component
-
-
Method Details
-
shutdown
public void shutdown() -
toString
-
hashCode
-
equals
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 withObjects::equals(Object,Object). -
fetch
public org.apache.kafka.server.quota.ClientQuotaManager fetch()Returns the value of thefetchrecord component.- Returns:
- the value of the
fetchrecord component
-
produce
public org.apache.kafka.server.quota.ClientQuotaManager produce()Returns the value of theproducerecord component.- Returns:
- the value of the
producerecord component
-
request
Returns the value of therequestrecord component.- Returns:
- the value of the
requestrecord component
-
controllerMutation
public org.apache.kafka.server.quota.ControllerMutationQuotaManager controllerMutation()Returns the value of thecontrollerMutationrecord component.- Returns:
- the value of the
controllerMutationrecord component
-
leader
Returns the value of theleaderrecord component.- Returns:
- the value of the
leaderrecord component
-
follower
Returns the value of thefollowerrecord component.- Returns:
- the value of the
followerrecord component
-
alterLogDirs
Returns the value of thealterLogDirsrecord component.- Returns:
- the value of the
alterLogDirsrecord component
-
clientQuotaCallbackPlugin
public Optional<org.apache.kafka.common.internals.Plugin<org.apache.kafka.server.quota.ClientQuotaCallback>> clientQuotaCallbackPlugin()Returns the value of theclientQuotaCallbackPluginrecord component.- Returns:
- the value of the
clientQuotaCallbackPluginrecord component
-