register a metric with this sensor concode_field_sep Metrics registry concode_elem_sep List<Stat> stats concode_elem_sep String name concode_elem_sep List<KafkaMetric> metrics concode_elem_sep Time time concode_elem_sep MetricConfig config concode_elem_sep Sensor[] parents concode_field_sep void checkQuotas concode_elem_sep void record concode_elem_sep void record concode_elem_sep void record concode_elem_sep String name concode_elem_sep List<KafkaMetric> metrics concode_elem_sep void checkForest
void function ( String arg0 , String arg1 , MeasurableStat arg2 , MetricConfig arg3 ) { KafkaMetric loc0 = new KafkaMetric ( this , Utils . notNull ( arg0 ) , Utils . notNull ( arg1 ) , Utils . notNull ( arg2 ) , arg3 == null ? this . config : arg3 , time ) ; this . registry . registerMetric ( loc0 ) ; this . metrics . add ( loc0 ) ; this . stats . add ( arg2 ) ; }