Lines Matching refs:bucket
85 * the number of metrics in the config. One can also adjust the bucket size for aggregate
91 * @param bucketMillis The bucket size, in milliseconds, for aggregate metrics
95 public ConfigMetadata getConfig(int replication, TimeUnit bucket, boolean placebo,
114 addCountMetric(metric, i, bucket, config);
120 addDurationMetric(metric, i, bucket, config);
126 addGaugeMetric(metric, i, bucket, config);
132 addValueMetric(metric, i, bucket, config);
188 * with the provided suffix, and overrides the bucket size. Then adds that metric to the config.
190 private void addCountMetric(CountMetric template, int suffix, TimeUnit bucket,
203 metric.setBucket(bucket);
209 * with the provided suffix, and overrides the bucket size. Then adds that metric to the config.
211 private void addDurationMetric(DurationMetric template, int suffix, TimeUnit bucket,
224 metric.setBucket(bucket);
230 * with the provided suffix, and overrides the bucket size. Then adds that metric to the config.
232 private void addGaugeMetric(GaugeMetric template, int suffix, TimeUnit bucket,
245 metric.setBucket(bucket);
251 * with the provided suffix, and overrides the bucket size. Then adds that metric to the config.
253 private void addValueMetric(ValueMetric template, int suffix, TimeUnit bucket,
266 metric.setBucket(bucket);