MCPcopy Create free account
hub / github.com/apache/kafka / add

Method add

clients/src/main/java/org/apache/kafka/common/metrics/Sensor.java:125–127  ·  view source on GitHub ↗

Register a compound statistic with this sensor with no config override

(CompoundStat stat)

Source from the content-addressed store, hash-verified

123 * Register a compound statistic with this sensor with no config override
124 */
125 public void add(CompoundStat stat) {
126 add(stat, null);
127 }
128
129 /**
130 * Register a compound statistic with this sensor which yields multiple measurable quantities (like a histogram)

Callers 15

testJmxRegistrationMethod · 0.95
testSimpleStatsMethod · 0.95
testQuotasMethod · 0.95
testPercentilesMethod · 0.95
writeMethod · 0.45
fetchMoreMethod · 0.45
nextMethod · 0.45
readTextMethod · 0.45
runMethod · 0.45

Calls 5

notNullMethod · 0.95
statMethod · 0.80
registerMetricMethod · 0.80
statsMethod · 0.65
nameMethod · 0.45

Tested by 15

testJmxRegistrationMethod · 0.76
testSimpleStatsMethod · 0.76
testQuotasMethod · 0.76
testPercentilesMethod · 0.76
connectMethod · 0.36
disconnectMethod · 0.36
completeSendMethod · 0.36
completeReceiveMethod · 0.36
benchMapMethod · 0.36
mainMethod · 0.36
clusterWithMethod · 0.36