|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use MetricName | |
|---|---|
| com.yammer.metrics | |
| com.yammer.metrics.core | |
| com.yammer.metrics.reporting | |
| com.yammer.metrics.util | |
| Uses of MetricName in com.yammer.metrics |
|---|
| Methods in com.yammer.metrics that return types with arguments of type MetricName | |
|---|---|
static Map<MetricName,Metric> |
Metrics.allMetrics()
Returns an unmodifiable map of all metrics and their names. |
| Methods in com.yammer.metrics with parameters of type MetricName | ||
|---|---|---|
static CounterMetric |
Metrics.newCounter(MetricName metricName)
Creates a new CounterMetric and registers it under the given metric name. |
|
static
|
Metrics.newGauge(MetricName metricName,
GaugeMetric<T> metric)
Given a new GaugeMetric, registers it under the given metric name. |
|
static HistogramMetric |
Metrics.newHistogram(MetricName metricName)
Creates a new non-biased HistogramMetric and registers it under the given metric
name. |
|
static HistogramMetric |
Metrics.newHistogram(MetricName metricName,
boolean biased)
Creates a new HistogramMetric and registers it under the given metric name. |
|
static JmxGauge |
Metrics.newJmxGauge(MetricName metricName,
String objectName,
String attribute)
Given a JMX MBean's object name and an attribute name, registers a gauge for that attribute under the given metric name. |
|
static MeterMetric |
Metrics.newMeter(MetricName metricName,
String eventType,
TimeUnit unit)
Creates a new MeterMetric and registers it under the given metric name. |
|
static TimerMetric |
Metrics.newTimer(MetricName metricName,
TimeUnit durationUnit,
TimeUnit rateUnit)
Creates a new TimerMetric and registers it under the given metric name. |
|
static void |
Metrics.removeMetric(MetricName name)
Removes the metric with the given name. |
|
| Uses of MetricName in com.yammer.metrics.core |
|---|
| Methods in com.yammer.metrics.core that return MetricName | |
|---|---|
MetricName |
MetricsRegistry.createName(Class<?> klass,
String name,
String scope)
Override to customize how MetricNames are created. |
| Methods in com.yammer.metrics.core that return types with arguments of type MetricName | |
|---|---|
Map<MetricName,Metric> |
MetricsRegistry.allMetrics()
Returns an unmodifiable map of all metrics and their names. |
protected ConcurrentMap<MetricName,Metric> |
MetricsRegistry.newMetricsMap()
Returns a new ConcurrentMap implementation. |
| Methods in com.yammer.metrics.core with parameters of type MetricName | ||
|---|---|---|
int |
MetricName.compareTo(MetricName o)
|
|
protected
|
MetricsRegistry.getOrAdd(MetricName name,
T metric)
|
|
CounterMetric |
MetricsRegistry.newCounter(MetricName metricName)
Creates a new CounterMetric and registers it under the given
metric name. |
|
|
MetricsRegistry.newGauge(MetricName metricName,
GaugeMetric<T> metric)
Given a new GaugeMetric, registers it under the given metric
name. |
|
HistogramMetric |
MetricsRegistry.newHistogram(MetricName metricName,
boolean biased)
Creates a new HistogramMetric and registers it under the given metric name. |
|
JmxGauge |
MetricsRegistry.newJmxGauge(MetricName metricName,
String objectName,
String attribute)
Given a JMX MBean's object name and an attribute name, registers a gauge for that attribute under the given metric name. |
|
MeterMetric |
MetricsRegistry.newMeter(MetricName metricName,
String eventType,
TimeUnit unit)
Creates a new MeterMetric and registers it under the given metric name. |
|
TimerMetric |
MetricsRegistry.newTimer(MetricName metricName,
TimeUnit durationUnit,
TimeUnit rateUnit)
Creates a new TimerMetric and registers it under the given metric name. |
|
void |
MetricsRegistryListener.onMetricAdded(MetricName name,
Metric metric)
Called when a metric has been added to the MetricsRegistry. |
|
void |
MetricsRegistryListener.onMetricRemoved(MetricName name)
Called when a metric has been removed from the MetricsRegistry. |
|
void |
MetricsProcessor.processCounter(MetricName name,
CounterMetric counter,
T context)
|
|
void |
MetricsProcessor.processGauge(MetricName name,
GaugeMetric<?> gauge,
T context)
|
|
void |
MetricsProcessor.processHistogram(MetricName name,
HistogramMetric histogram,
T context)
|
|
void |
MetricsProcessor.processMeter(MetricName name,
Metered meter,
T context)
|
|
void |
MetricsProcessor.processTimer(MetricName name,
TimerMetric timer,
T context)
|
|
|
TimerMetric.processWith(MetricsProcessor<T> processor,
MetricName name,
T context)
|
|
|
Metric.processWith(MetricsProcessor<T> reporter,
MetricName name,
T context)
|
|
|
MeterMetric.processWith(MetricsProcessor<T> processor,
MetricName name,
T context)
|
|
|
HistogramMetric.processWith(MetricsProcessor<T> processor,
MetricName name,
T context)
|
|
|
CounterMetric.processWith(MetricsProcessor<T> processor,
MetricName name,
T context)
|
|
|
GaugeMetric.processWith(MetricsProcessor<U> processor,
MetricName name,
U context)
|
|
void |
MetricsRegistry.removeMetric(MetricName name)
Removes the metric with the given name. |
|
| Uses of MetricName in com.yammer.metrics.reporting |
|---|
| Fields in com.yammer.metrics.reporting declared as MetricName | |
|---|---|
MetricName |
JmxReporter.Context.metricName
|
| Constructors in com.yammer.metrics.reporting with parameters of type MetricName | |
|---|---|
JmxReporter.Context(MetricName metricName,
ObjectName objectName)
|
|
| Uses of MetricName in com.yammer.metrics.util |
|---|
| Methods in com.yammer.metrics.util that return types with arguments of type MetricName | |
|---|---|
static Map<MetricName,Metric> |
Utils.filterMetrics(Map<MetricName,Metric> metrics,
MetricPredicate predicate)
|
static Map<String,Map<MetricName,Metric>> |
Utils.sortAndFilterMetrics(Map<MetricName,Metric> metrics,
MetricPredicate predicate)
|
static Map<String,Map<MetricName,Metric>> |
Utils.sortMetrics(Map<MetricName,Metric> metrics)
|
| Methods in com.yammer.metrics.util with parameters of type MetricName | |
|---|---|
boolean |
MetricPredicate.matches(MetricName name,
Metric metric)
Returns true if the metric matches the predicate. |
| Method parameters in com.yammer.metrics.util with type arguments of type MetricName | |
|---|---|
static Map<MetricName,Metric> |
Utils.filterMetrics(Map<MetricName,Metric> metrics,
MetricPredicate predicate)
|
static Map<String,Map<MetricName,Metric>> |
Utils.sortAndFilterMetrics(Map<MetricName,Metric> metrics,
MetricPredicate predicate)
|
static Map<String,Map<MetricName,Metric>> |
Utils.sortMetrics(Map<MetricName,Metric> metrics)
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||