Record Class TenantMetrics.ApiSensorsMetricsRequestContext
java.lang.Object
java.lang.Record
io.confluent.kafka.multitenant.metrics.TenantMetrics.ApiSensorsMetricsRequestContext
- All Implemented Interfaces:
org.apache.kafka.server.metrics.MetricsBuilderContext
- Enclosing class:
TenantMetrics
public static record TenantMetrics.ApiSensorsMetricsRequestContext(TenantMetrics.MetricsRequestContext ctx)
extends Record
implements org.apache.kafka.server.metrics.MetricsBuilderContext
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of aApiSensorsMetricsRequestContextrecord class. -
Method Summary
Modifier and TypeMethodDescriptionctx()Returns the value of thectxrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ApiSensorsMetricsRequestContext
Creates an instance of aApiSensorsMetricsRequestContextrecord class.- Parameters:
ctx- the value for thectxrecord component
-
-
Method Details
-
metricsGroup
- Specified by:
metricsGroupin interfaceorg.apache.kafka.server.metrics.MetricsBuilderContext
-
metricTags
-
sensorSuffix
- Specified by:
sensorSuffixin interfaceorg.apache.kafka.server.metrics.MetricsBuilderContext
-
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). -
ctx
Returns the value of thectxrecord component.- Returns:
- the value of the
ctxrecord component
-