A C D E F G H I J M N O P R S T U V

A

AbstractPollingReporter - Class in com.yammer.metrics.reporting
 
AbstractPollingReporter(MetricsRegistry, String) - Constructor for class com.yammer.metrics.reporting.AbstractPollingReporter
 
AbstractReporter - Class in com.yammer.metrics.reporting
 
AbstractReporter(MetricsRegistry) - Constructor for class com.yammer.metrics.reporting.AbstractReporter
 
addListener(MetricsRegistryListener) - Method in class com.yammer.metrics.core.MetricsRegistry
Adds a MetricsRegistryListener to a collection of listeners that will be notified on metric creation.
ALL - Static variable in interface com.yammer.metrics.util.MetricPredicate
A predicate which matches all inputs.
allMetrics() - Method in class com.yammer.metrics.core.MetricsRegistry
Returns an unmodifiable map of all metrics and their names.
allMetrics() - Static method in class com.yammer.metrics.Metrics
Returns an unmodifiable map of all metrics and their names.

C

check() - Method in class com.yammer.metrics.core.DeadlockHealthCheck
 
check() - Method in class com.yammer.metrics.core.HealthCheck
 
clear() - Method in class com.yammer.metrics.core.CounterMetric
Resets the counter to 0.
clear() - Method in class com.yammer.metrics.core.HistogramMetric
Clears all recorded values.
clear() - Method in class com.yammer.metrics.core.TimerMetric
Clears all recorded durations.
clear() - Method in class com.yammer.metrics.stats.ExponentiallyDecayingSample
 
clear() - Method in interface com.yammer.metrics.stats.Sample
Clears all recorded values.
clear() - Method in class com.yammer.metrics.stats.UniformSample
 
Clock - Class in com.yammer.metrics.core
An abstraction for how time passes.
Clock() - Constructor for class com.yammer.metrics.core.Clock
 
Clock.CpuTime - Class in com.yammer.metrics.core
Another implementation, uses ThreadMXBean.getCurrentThreadCpuTime()
Clock.CpuTime() - Constructor for class com.yammer.metrics.core.Clock.CpuTime
 
Clock.UserTime - Class in com.yammer.metrics.core
Default implementation, uses System.nanoTime().
Clock.UserTime() - Constructor for class com.yammer.metrics.core.Clock.UserTime
 
com.yammer.metrics - package com.yammer.metrics
 
com.yammer.metrics.core - package com.yammer.metrics.core
 
com.yammer.metrics.reporting - package com.yammer.metrics.reporting
 
com.yammer.metrics.stats - package com.yammer.metrics.stats
 
com.yammer.metrics.util - package com.yammer.metrics.util
 
compareTo(MetricName) - Method in class com.yammer.metrics.core.MetricName
 
ConsoleReporter - Class in com.yammer.metrics.reporting
A simple reporters which prints out application metrics to a PrintStream periodically.
ConsoleReporter(PrintStream) - Constructor for class com.yammer.metrics.reporting.ConsoleReporter
Creates a new ConsoleReporter for the default metrics registry, with unrestricted output.
ConsoleReporter(MetricsRegistry, PrintStream, MetricPredicate) - Constructor for class com.yammer.metrics.reporting.ConsoleReporter
Creates a new ConsoleReporter for a given metrics registry.
ConsoleReporter(MetricsRegistry, PrintStream, MetricPredicate, Clock, TimeZone) - Constructor for class com.yammer.metrics.reporting.ConsoleReporter
Creates a new ConsoleReporter for a given metrics registry.
ConsoleReporter(MetricsRegistry, PrintStream, MetricPredicate, Clock, TimeZone, Locale) - Constructor for class com.yammer.metrics.reporting.ConsoleReporter
Creates a new ConsoleReporter for a given metrics registry.
count() - Method in class com.yammer.metrics.core.CounterMetric
Returns the counter's current value.
count() - Method in class com.yammer.metrics.core.HistogramMetric
Returns the number of values recorded.
count() - Method in interface com.yammer.metrics.core.Metered
Returns the number of events which have been marked.
count() - Method in class com.yammer.metrics.core.MeterMetric
 
count() - Method in class com.yammer.metrics.core.TimerMetric
 
CounterMetric - Class in com.yammer.metrics.core
An incrementing and decrementing counter metric.
CounterMetric() - Constructor for class com.yammer.metrics.core.CounterMetric
 
createName(Class<?>, String, String) - Method in class com.yammer.metrics.core.MetricsRegistry
Override to customize how MetricNames are created.
createStreamForMetric(MetricName) - Method in class com.yammer.metrics.reporting.CsvReporter
Override to do tricks (such as testing).
CsvReporter - Class in com.yammer.metrics.reporting
 
CsvReporter(File, MetricsRegistry, MetricPredicate) - Constructor for class com.yammer.metrics.reporting.CsvReporter
 
CsvReporter(File, MetricsRegistry, MetricPredicate, Clock) - Constructor for class com.yammer.metrics.reporting.CsvReporter
 
CsvReporter(File, MetricsRegistry) - Constructor for class com.yammer.metrics.reporting.CsvReporter
 
CsvReporter.Context - Interface in com.yammer.metrics.reporting
 

D

daemonThreadCount() - Static method in class com.yammer.metrics.core.VirtualMachineMetrics
Returns the number of live daemon threads.
deadlockedThreads() - Static method in class com.yammer.metrics.core.VirtualMachineMetrics
Returns a set of strings describing deadlocked threads, if any are deadlocked.
DeadlockHealthCheck - Class in com.yammer.metrics.core
A HealthCheck implementation which returns a list of deadlocked threads, if any.
DeadlockHealthCheck() - Constructor for class com.yammer.metrics.core.DeadlockHealthCheck
 
DeathRattleExceptionHandler - Class in com.yammer.metrics.util
When a thread throws an Exception that was not caught, a DeathRattleExceptionHandler will increment a counter signalling a thread has died and print out the name and stack trace of the thread.
DeathRattleExceptionHandler(CounterMetric) - Constructor for class com.yammer.metrics.util.DeathRattleExceptionHandler
 
dec() - Method in class com.yammer.metrics.core.CounterMetric
Decrement the counter by one.
dec(long) - Method in class com.yammer.metrics.core.CounterMetric
Decrement the counter by n
DEFAULT - Static variable in class com.yammer.metrics.core.Clock
The default clock to use.
defaultRegistry() - Static method in class com.yammer.metrics.HealthChecks
Returns the (static) default registry.
defaultRegistry() - Static method in class com.yammer.metrics.Metrics
Returns the (static) default registry.
dump(File) - Method in class com.yammer.metrics.core.HistogramMetric
Writes the values of the histogram's sample to the given file.
dump(File) - Method in class com.yammer.metrics.core.TimerMetric
Writes the values of the timer's sample to the given file.
dump(File) - Method in class com.yammer.metrics.stats.ExponentiallyDecayingSample
 
dump(File) - Method in interface com.yammer.metrics.stats.Sample
Writes the values of the sample to the given file.
dump(File) - Method in class com.yammer.metrics.stats.UniformSample
 
durationUnit() - Method in class com.yammer.metrics.core.TimerMetric
Returns the timer's duration scale unit.

E

enable(long, TimeUnit) - Static method in class com.yammer.metrics.reporting.ConsoleReporter
Enables the console reporter for the default metrics registry, and causes it to print to STDOUT with the specified period.
enable(MetricsRegistry, long, TimeUnit) - Static method in class com.yammer.metrics.reporting.ConsoleReporter
Enables the console reporter for the given metrics registry, and causes it to print to STDOUT with the specified period and unrestricted output.
enableConsoleReporting(long, TimeUnit) - Static method in class com.yammer.metrics.Metrics
Deprecated. use ConsoleReporter.enable(long, java.util.concurrent.TimeUnit) instead
equals(Object) - Method in class com.yammer.metrics.core.MetricName
 
eventType() - Method in interface com.yammer.metrics.core.Metered
Returns the type of events the meter is measuring.
eventType() - Method in class com.yammer.metrics.core.MeterMetric
 
eventType() - Method in class com.yammer.metrics.core.TimerMetric
 
EWMA - Class in com.yammer.metrics.stats
An exponentially-weighted moving average.
EWMA(double, long, TimeUnit) - Constructor for class com.yammer.metrics.stats.EWMA
Create a new EWMA with a specific smoothing constant.
execute() - Method in class com.yammer.metrics.core.HealthCheck
 
ExponentiallyDecayingSample - Class in com.yammer.metrics.stats
An exponentially-decaying random sample of longs.
ExponentiallyDecayingSample(int, double) - Constructor for class com.yammer.metrics.stats.ExponentiallyDecayingSample
Creates a new ExponentiallyDecayingSample.

F

fifteenMinuteEWMA() - Static method in class com.yammer.metrics.stats.EWMA
Creates a new EWMA which is equivalent to the UNIX fifteen minute load average and which expects to be ticked every 5 seconds.
fifteenMinuteRate() - Method in interface com.yammer.metrics.core.Metered
Returns the fifteen-minute exponentially-weighted moving average rate at which events have occurred since the meter was created.
fifteenMinuteRate() - Method in class com.yammer.metrics.core.MeterMetric
 
fifteenMinuteRate() - Method in class com.yammer.metrics.core.TimerMetric
 
fileDescriptorUsage() - Static method in class com.yammer.metrics.core.VirtualMachineMetrics
Returns the percentage of available file descriptors which are currently in use.
filterMetrics(Map<MetricName, Metric>, MetricPredicate) - Static method in class com.yammer.metrics.util.Utils
 
fiveMinuteEWMA() - Static method in class com.yammer.metrics.stats.EWMA
Creates a new EWMA which is equivalent to the UNIX five minute load average and which expects to be ticked every 5 seconds.
fiveMinuteRate() - Method in interface com.yammer.metrics.core.Metered
Returns the five-minute exponentially-weighted moving average rate at which events have occurred since the meter was created.
fiveMinuteRate() - Method in class com.yammer.metrics.core.MeterMetric
 
fiveMinuteRate() - Method in class com.yammer.metrics.core.TimerMetric
 

G

garbageCollectors() - Static method in class com.yammer.metrics.core.VirtualMachineMetrics
Returns a map of garbage collector names to garbage collector information.
GaugeMetric<T> - Class in com.yammer.metrics.core
A gauge metric is an instantaneous reading of a particular value.
GaugeMetric() - Constructor for class com.yammer.metrics.core.GaugeMetric
 
get50thPercentile() - Method in class com.yammer.metrics.reporting.JmxReporter.Histogram
 
get50thPercentile() - Method in interface com.yammer.metrics.reporting.JmxReporter.HistogramMBean
 
get50thPercentile() - Method in class com.yammer.metrics.reporting.JmxReporter.Timer
 
get75thPercentile() - Method in class com.yammer.metrics.reporting.JmxReporter.Histogram
 
get75thPercentile() - Method in interface com.yammer.metrics.reporting.JmxReporter.HistogramMBean
 
get75thPercentile() - Method in class com.yammer.metrics.reporting.JmxReporter.Timer
 
get95thPercentile() - Method in class com.yammer.metrics.reporting.JmxReporter.Histogram
 
get95thPercentile() - Method in interface com.yammer.metrics.reporting.JmxReporter.HistogramMBean
 
get95thPercentile() - Method in class com.yammer.metrics.reporting.JmxReporter.Timer
 
get98thPercentile() - Method in class com.yammer.metrics.reporting.JmxReporter.Histogram
 
get98thPercentile() - Method in interface com.yammer.metrics.reporting.JmxReporter.HistogramMBean
 
get98thPercentile() - Method in class com.yammer.metrics.reporting.JmxReporter.Timer
 
get999thPercentile() - Method in class com.yammer.metrics.reporting.JmxReporter.Histogram
 
get999thPercentile() - Method in interface com.yammer.metrics.reporting.JmxReporter.HistogramMBean
 
get999thPercentile() - Method in class com.yammer.metrics.reporting.JmxReporter.Timer
 
get99thPercentile() - Method in class com.yammer.metrics.reporting.JmxReporter.Histogram
 
get99thPercentile() - Method in interface com.yammer.metrics.reporting.JmxReporter.HistogramMBean
 
get99thPercentile() - Method in class com.yammer.metrics.reporting.JmxReporter.Timer
 
getCount() - Method in class com.yammer.metrics.reporting.JmxReporter.Counter
 
getCount() - Method in interface com.yammer.metrics.reporting.JmxReporter.CounterMBean
 
getCount() - Method in class com.yammer.metrics.reporting.JmxReporter.Histogram
 
getCount() - Method in interface com.yammer.metrics.reporting.JmxReporter.HistogramMBean
 
getCount() - Method in class com.yammer.metrics.reporting.JmxReporter.Meter
 
getCount() - Method in interface com.yammer.metrics.reporting.JmxReporter.MeterMBean
 
getError() - Method in class com.yammer.metrics.core.HealthCheck.Result
 
getEventType() - Method in class com.yammer.metrics.reporting.JmxReporter.Meter
 
getEventType() - Method in interface com.yammer.metrics.reporting.JmxReporter.MeterMBean
 
getFifteenMinuteRate() - Method in class com.yammer.metrics.reporting.JmxReporter.Meter
 
getFifteenMinuteRate() - Method in interface com.yammer.metrics.reporting.JmxReporter.MeterMBean
 
getFiveMinuteRate() - Method in class com.yammer.metrics.reporting.JmxReporter.Meter
 
getFiveMinuteRate() - Method in interface com.yammer.metrics.reporting.JmxReporter.MeterMBean
 
getGroup() - Method in class com.yammer.metrics.core.MetricName
Returns the group to which the Metric belongs.
getLatencyUnit() - Method in class com.yammer.metrics.reporting.JmxReporter.Timer
 
getLatencyUnit() - Method in interface com.yammer.metrics.reporting.JmxReporter.TimerMBean
 
getMax() - Method in class com.yammer.metrics.reporting.JmxReporter.Histogram
 
getMax() - Method in interface com.yammer.metrics.reporting.JmxReporter.HistogramMBean
 
getMax() - Method in class com.yammer.metrics.reporting.JmxReporter.Timer
 
getMBeanName() - Method in class com.yammer.metrics.core.MetricName
Returns the mbean name for the Metric identified by this metric name.
getMean() - Method in class com.yammer.metrics.reporting.JmxReporter.Histogram
 
getMean() - Method in interface com.yammer.metrics.reporting.JmxReporter.HistogramMBean
 
getMean() - Method in class com.yammer.metrics.reporting.JmxReporter.Timer
 
getMeanRate() - Method in class com.yammer.metrics.reporting.JmxReporter.Meter
 
getMeanRate() - Method in interface com.yammer.metrics.reporting.JmxReporter.MeterMBean
 
getMessage() - Method in class com.yammer.metrics.core.HealthCheck.Result
 
getMin() - Method in class com.yammer.metrics.reporting.JmxReporter.Histogram
 
getMin() - Method in interface com.yammer.metrics.reporting.JmxReporter.HistogramMBean
 
getMin() - Method in class com.yammer.metrics.reporting.JmxReporter.Timer
 
getName() - Method in class com.yammer.metrics.core.MetricName
Returns the name of the Metric.
getOneMinuteRate() - Method in class com.yammer.metrics.reporting.JmxReporter.Meter
 
getOneMinuteRate() - Method in interface com.yammer.metrics.reporting.JmxReporter.MeterMBean
 
getOrAdd(MetricName, T) - Method in class com.yammer.metrics.core.MetricsRegistry
 
getRateUnit() - Method in class com.yammer.metrics.reporting.JmxReporter.Meter
 
getRateUnit() - Method in interface com.yammer.metrics.reporting.JmxReporter.MeterMBean
 
getRuns() - Method in class com.yammer.metrics.core.VirtualMachineMetrics.GarbageCollector
 
getScope() - Method in class com.yammer.metrics.core.MetricName
Returns the scope of the Metric.
getStdDev() - Method in class com.yammer.metrics.reporting.JmxReporter.Histogram
 
getStdDev() - Method in interface com.yammer.metrics.reporting.JmxReporter.HistogramMBean
 
getStdDev() - Method in class com.yammer.metrics.reporting.JmxReporter.Timer
 
getStream(String) - Method in interface com.yammer.metrics.reporting.CsvReporter.Context
 
getTime(TimeUnit) - Method in class com.yammer.metrics.core.VirtualMachineMetrics.GarbageCollector
 
getType() - Method in class com.yammer.metrics.core.MetricName
Returns the type to which the Metric belongs.
getValue() - Method in class com.yammer.metrics.reporting.JmxReporter.Gauge
 
getValue() - Method in interface com.yammer.metrics.reporting.JmxReporter.GaugeMBean
 

H

hashCode() - Method in class com.yammer.metrics.core.MetricName
 
hasScope() - Method in class com.yammer.metrics.core.MetricName
Returns true if the Metric has a scope, false otherwise.
HealthCheck - Class in com.yammer.metrics.core
A template class for an encapsulated service health check.
HealthCheck() - Constructor for class com.yammer.metrics.core.HealthCheck
 
HealthCheck.Result - Class in com.yammer.metrics.core
 
HealthCheckRegistry - Class in com.yammer.metrics.core
A registry for health checks.
HealthCheckRegistry() - Constructor for class com.yammer.metrics.core.HealthCheckRegistry
 
HealthChecks - Class in com.yammer.metrics
A manager class for health checks.
healthy() - Static method in class com.yammer.metrics.core.HealthCheck.Result
 
healthy(String) - Static method in class com.yammer.metrics.core.HealthCheck.Result
 
heapUsage() - Static method in class com.yammer.metrics.core.VirtualMachineMetrics
Returns the percentage of the JVM's heap which is being used.
HistogramMetric - Class in com.yammer.metrics.core
A metric which calculates the distribution of a value.
HistogramMetric(HistogramMetric.SampleType) - Constructor for class com.yammer.metrics.core.HistogramMetric
Creates a new HistogramMetric with the given sample type.
HistogramMetric(Sample) - Constructor for class com.yammer.metrics.core.HistogramMetric
Creates a new HistogramMetric with the given sample.
HistogramMetric.SampleType - Enum in com.yammer.metrics.core
The type of sampling the histogram should be performing.

I

inc() - Method in class com.yammer.metrics.core.CounterMetric
Increment the counter by one.
inc(long) - Method in class com.yammer.metrics.core.CounterMetric
Increment the counter by n.
isHealthy() - Method in class com.yammer.metrics.core.HealthCheck.Result
 

J

JmxGauge - Class in com.yammer.metrics.core
A gauge which exposes an attribute of a JMX MBean.
JmxGauge(String, String) - Constructor for class com.yammer.metrics.core.JmxGauge
 
JmxReporter - Class in com.yammer.metrics.reporting
A reporter which exposes application metric as JMX MBeans.
JmxReporter(MetricsRegistry) - Constructor for class com.yammer.metrics.reporting.JmxReporter
 
JmxReporter.AbstractBean - Class in com.yammer.metrics.reporting
 
JmxReporter.AbstractBean(ObjectName) - Constructor for class com.yammer.metrics.reporting.JmxReporter.AbstractBean
 
JmxReporter.Context - Class in com.yammer.metrics.reporting
 
JmxReporter.Context(MetricName, ObjectName) - Constructor for class com.yammer.metrics.reporting.JmxReporter.Context
 
JmxReporter.Counter - Class in com.yammer.metrics.reporting
 
JmxReporter.Counter(CounterMetric, ObjectName) - Constructor for class com.yammer.metrics.reporting.JmxReporter.Counter
 
JmxReporter.CounterMBean - Interface in com.yammer.metrics.reporting
 
JmxReporter.Gauge - Class in com.yammer.metrics.reporting
 
JmxReporter.Gauge(GaugeMetric<?>, ObjectName) - Constructor for class com.yammer.metrics.reporting.JmxReporter.Gauge
 
JmxReporter.GaugeMBean - Interface in com.yammer.metrics.reporting
 
JmxReporter.Histogram - Class in com.yammer.metrics.reporting
 
JmxReporter.Histogram(HistogramMetric, ObjectName) - Constructor for class com.yammer.metrics.reporting.JmxReporter.Histogram
 
JmxReporter.HistogramMBean - Interface in com.yammer.metrics.reporting
 
JmxReporter.Meter - Class in com.yammer.metrics.reporting
 
JmxReporter.Meter(Metered, ObjectName) - Constructor for class com.yammer.metrics.reporting.JmxReporter.Meter
 
JmxReporter.MeterMBean - Interface in com.yammer.metrics.reporting
 
JmxReporter.MetricMBean - Interface in com.yammer.metrics.reporting
 
JmxReporter.Timer - Class in com.yammer.metrics.reporting
 
JmxReporter.Timer(TimerMetric, ObjectName) - Constructor for class com.yammer.metrics.reporting.JmxReporter.Timer
 
JmxReporter.TimerMBean - Interface in com.yammer.metrics.reporting
 

M

mark() - Method in class com.yammer.metrics.core.MeterMetric
Mark the occurrence of an event.
mark(long) - Method in class com.yammer.metrics.core.MeterMetric
Mark the occurrence of a given number of events.
matches(MetricName, Metric) - Method in interface com.yammer.metrics.util.MetricPredicate
Returns true if the metric matches the predicate.
max() - Method in class com.yammer.metrics.core.HistogramMetric
 
max() - Method in interface com.yammer.metrics.core.Summarized
Returns the largest recorded value.
max() - Method in class com.yammer.metrics.core.TimerMetric
Returns the longest recorded duration.
mean() - Method in class com.yammer.metrics.core.HistogramMetric
 
mean() - Method in interface com.yammer.metrics.core.Summarized
Returns the arithmetic mean of all recorded values.
mean() - Method in class com.yammer.metrics.core.TimerMetric
Returns the arithmetic mean of all recorded durations.
meanRate() - Method in interface com.yammer.metrics.core.Metered
Returns the mean rate at which events have occurred since the meter was created.
meanRate() - Method in class com.yammer.metrics.core.MeterMetric
 
meanRate() - Method in class com.yammer.metrics.core.TimerMetric
 
memoryPoolUsage() - Static method in class com.yammer.metrics.core.VirtualMachineMetrics
Returns a map of memory pool names to the percentage of that pool which is being used.
Metered - Interface in com.yammer.metrics.core
 
MeterMetric - Class in com.yammer.metrics.core
A meter metric which measures mean throughput and one-, five-, and fifteen-minute exponentially-weighted moving average throughputs.
MeterMetric(ScheduledExecutorService, String, TimeUnit, Clock) - Constructor for class com.yammer.metrics.core.MeterMetric
 
Metric - Interface in com.yammer.metrics.core
A tag interface to indicate that a class is a metric.
MetricName - Class in com.yammer.metrics.core
A value class encapsulating a metric's owning class and name.
MetricName(Class<?>, String) - Constructor for class com.yammer.metrics.core.MetricName
Creates a new MetricName without a scope.
MetricName(String, String, String) - Constructor for class com.yammer.metrics.core.MetricName
Creates a new MetricName without a scope.
MetricName(Class<?>, String, String) - Constructor for class com.yammer.metrics.core.MetricName
Creates a new MetricName without a scope.
MetricName(String, String, String, String) - Constructor for class com.yammer.metrics.core.MetricName
Creates a new MetricName without a scope.
MetricName(String, String, String, String, String) - Constructor for class com.yammer.metrics.core.MetricName
Creates a new MetricName without a scope.
metricName - Variable in class com.yammer.metrics.reporting.JmxReporter.Context
 
MetricPredicate - Interface in com.yammer.metrics.util
A MetricPredicate is used to determine whether a metric should be included when sorting and filtering metrics.
Metrics - Class in com.yammer.metrics
A set of factory methods for creating centrally registered metric instances.
MetricsProcessor<T> - Interface in com.yammer.metrics.core
 
MetricsRegistry - Class in com.yammer.metrics.core
A registry of metric instances.
MetricsRegistry() - Constructor for class com.yammer.metrics.core.MetricsRegistry
 
metricsRegistry - Variable in class com.yammer.metrics.reporting.AbstractReporter
 
MetricsRegistryListener - Interface in com.yammer.metrics.core
Listeners for events from the registry.
min() - Method in class com.yammer.metrics.core.HistogramMetric
 
min() - Method in interface com.yammer.metrics.core.Summarized
Returns the smallest recorded value.
min() - Method in class com.yammer.metrics.core.TimerMetric
Returns the shortest recorded duration.

N

name() - Method in class com.yammer.metrics.core.DeadlockHealthCheck
 
name() - Method in class com.yammer.metrics.core.HealthCheck
 
NamedThreadFactory - Class in com.yammer.metrics.util
A simple named thread factory.
NamedThreadFactory(String) - Constructor for class com.yammer.metrics.util.NamedThreadFactory
 
newCounter(Class<?>, String) - Method in class com.yammer.metrics.core.MetricsRegistry
Creates a new CounterMetric and registers it under the given class and name.
newCounter(Class<?>, String, String) - Method in class com.yammer.metrics.core.MetricsRegistry
Creates a new CounterMetric and registers it under the given class and name.
newCounter(MetricName) - Method in class com.yammer.metrics.core.MetricsRegistry
Creates a new CounterMetric and registers it under the given metric name.
newCounter(Class<?>, String) - Static method in class com.yammer.metrics.Metrics
Creates a new CounterMetric and registers it under the given class and name.
newCounter(Class<?>, String, String) - Static method in class com.yammer.metrics.Metrics
Creates a new CounterMetric and registers it under the given class and name.
newCounter(MetricName) - Static method in class com.yammer.metrics.Metrics
Creates a new CounterMetric and registers it under the given metric name.
newGauge(Class<?>, String, GaugeMetric<T>) - Method in class com.yammer.metrics.core.MetricsRegistry
Given a new GaugeMetric, registers it under the given class and name.
newGauge(Class<?>, String, String, GaugeMetric<T>) - Method in class com.yammer.metrics.core.MetricsRegistry
Given a new GaugeMetric, registers it under the given class and name.
newGauge(MetricName, GaugeMetric<T>) - Method in class com.yammer.metrics.core.MetricsRegistry
Given a new GaugeMetric, registers it under the given metric name.
newGauge(Class<?>, String, GaugeMetric<T>) - Static method in class com.yammer.metrics.Metrics
Given a new GaugeMetric, registers it under the given class and name.
newGauge(Class<?>, String, String, GaugeMetric<T>) - Static method in class com.yammer.metrics.Metrics
Given a new GaugeMetric, registers it under the given class and name.
newGauge(MetricName, GaugeMetric<T>) - Static method in class com.yammer.metrics.Metrics
Given a new GaugeMetric, registers it under the given metric name.
newHistogram(Class<?>, String, boolean) - Method in class com.yammer.metrics.core.MetricsRegistry
Creates a new HistogramMetric and registers it under the given class and name.
newHistogram(Class<?>, String, String, boolean) - Method in class com.yammer.metrics.core.MetricsRegistry
Creates a new HistogramMetric and registers it under the given class, name, and scope.
newHistogram(Class<?>, String) - Method in class com.yammer.metrics.core.MetricsRegistry
Creates a new non-biased HistogramMetric and registers it under the given class and name.
newHistogram(Class<?>, String, String) - Method in class com.yammer.metrics.core.MetricsRegistry
Creates a new non-biased HistogramMetric and registers it under the given class, name, and scope.
newHistogram(MetricName, boolean) - Method in class com.yammer.metrics.core.MetricsRegistry
Creates a new HistogramMetric and registers it under the given metric name.
newHistogram(Class<?>, String, boolean) - Static method in class com.yammer.metrics.Metrics
Creates a new HistogramMetric and registers it under the given class and name.
newHistogram(Class<?>, String, String, boolean) - Static method in class com.yammer.metrics.Metrics
Creates a new HistogramMetric and registers it under the given class, name, and scope.
newHistogram(MetricName, boolean) - Static method in class com.yammer.metrics.Metrics
Creates a new HistogramMetric and registers it under the given metric name.
newHistogram(Class<?>, String) - Static method in class com.yammer.metrics.Metrics
Creates a new non-biased HistogramMetric and registers it under the given class and name.
newHistogram(Class<?>, String, String) - Static method in class com.yammer.metrics.Metrics
Creates a new non-biased HistogramMetric and registers it under the given class, name, and scope.
newHistogram(MetricName) - Static method in class com.yammer.metrics.Metrics
Creates a new non-biased HistogramMetric and registers it under the given metric name.
newJmxGauge(Class<?>, String, String, String) - Method in class com.yammer.metrics.core.MetricsRegistry
Given a JMX MBean's object name and an attribute name, registers a gauge for that attribute under the given class and name.
newJmxGauge(Class<?>, String, String, String, String) - Method in class com.yammer.metrics.core.MetricsRegistry
Given a JMX MBean's object name and an attribute name, registers a gauge for that attribute under the given class, name, and scope.
newJmxGauge(MetricName, String, String) - Method in class com.yammer.metrics.core.MetricsRegistry
Given a JMX MBean's object name and an attribute name, registers a gauge for that attribute under the given metric name.
newJmxGauge(Class<?>, String, String, String) - Static method in class com.yammer.metrics.Metrics
Given a JMX MBean's object name and an attribute name, registers a gauge for that attribute under the given class and name.
newJmxGauge(Class<?>, String, String, String, String) - Static method in class com.yammer.metrics.Metrics
Given a JMX MBean's object name and an attribute name, registers a gauge for that attribute under the given class, name, and scope.
newJmxGauge(MetricName, String, String) - Static method in class com.yammer.metrics.Metrics
Given a JMX MBean's object name and an attribute name, registers a gauge for that attribute under the given metric name.
newMeter(String, TimeUnit) - Static method in class com.yammer.metrics.core.MeterMetric
Deprecated. use the other newMeter method or create a new meter via the MetricsRegistry or Metrics
newMeter(ScheduledExecutorService, String, TimeUnit) - Static method in class com.yammer.metrics.core.MeterMetric
Creates a new MeterMetric.
newMeter(Class<?>, String, String, TimeUnit) - Method in class com.yammer.metrics.core.MetricsRegistry
Creates a new MeterMetric and registers it under the given class and name.
newMeter(Class<?>, String, String, String, TimeUnit) - Method in class com.yammer.metrics.core.MetricsRegistry
Creates a new MeterMetric and registers it under the given class, name, and scope.
newMeter(MetricName, String, TimeUnit) - Method in class com.yammer.metrics.core.MetricsRegistry
Creates a new MeterMetric and registers it under the given metric name.
newMeter(Class<?>, String, String, TimeUnit) - Static method in class com.yammer.metrics.Metrics
Creates a new MeterMetric and registers it under the given class and name.
newMeter(Class<?>, String, String, String, TimeUnit) - Static method in class com.yammer.metrics.Metrics
Creates a new MeterMetric and registers it under the given class, name, and scope.
newMeter(MetricName, String, TimeUnit) - Static method in class com.yammer.metrics.Metrics
Creates a new MeterMetric and registers it under the given metric name.
newMeterTickThreadPool() - Method in class com.yammer.metrics.core.MetricsRegistry
 
newMetricsMap() - Method in class com.yammer.metrics.core.MetricsRegistry
Returns a new ConcurrentMap implementation.
newSample() - Method in enum com.yammer.metrics.core.HistogramMetric.SampleType
 
newScheduledThreadPool(int, String) - Method in class com.yammer.metrics.util.ThreadPools
Creates a new scheduled thread pool of a given size with the given name, or returns an existing thread pool if one was already created with the same name.
newScheduledThreadPool(int, String) - Static method in class com.yammer.metrics.util.Utils
Deprecated. Get a thread pool via MetricsRegistry.threadPools() instead
newThread(Runnable) - Method in class com.yammer.metrics.util.NamedThreadFactory
 
newTimer(Class<?>, String) - Method in class com.yammer.metrics.core.MetricsRegistry
Creates a new TimerMetric and registers it under the given class and name, measuring elapsed time in milliseconds and invocations per second.
newTimer(Class<?>, String, TimeUnit, TimeUnit) - Method in class com.yammer.metrics.core.MetricsRegistry
Creates a new TimerMetric and registers it under the given class and name.
newTimer(Class<?>, String, String) - Method in class com.yammer.metrics.core.MetricsRegistry
Creates a new TimerMetric and registers it under the given class, name, and scope, measuring elapsed time in milliseconds and invocations per second.
newTimer(Class<?>, String, String, TimeUnit, TimeUnit) - Method in class com.yammer.metrics.core.MetricsRegistry
Creates a new TimerMetric and registers it under the given class, name, and scope.
newTimer(MetricName, TimeUnit, TimeUnit) - Method in class com.yammer.metrics.core.MetricsRegistry
Creates a new TimerMetric and registers it under the given metric name.
newTimer(Class<?>, String, TimeUnit, TimeUnit) - Static method in class com.yammer.metrics.Metrics
Creates a new TimerMetric and registers it under the given class and name.
newTimer(Class<?>, String) - Static method in class com.yammer.metrics.Metrics
Creates a new TimerMetric and registers it under the given class and name, measuring elapsed time in milliseconds and invocations per second.
newTimer(Class<?>, String, String, TimeUnit, TimeUnit) - Static method in class com.yammer.metrics.Metrics
Creates a new TimerMetric and registers it under the given class, name, and scope.
newTimer(Class<?>, String, String) - Static method in class com.yammer.metrics.Metrics
Creates a new TimerMetric and registers it under the given class, name, and scope, measuring elapsed time in milliseconds and invocations per second.
newTimer(MetricName, TimeUnit, TimeUnit) - Static method in class com.yammer.metrics.Metrics
Creates a new TimerMetric and registers it under the given metric name.
nonHeapUsage() - Static method in class com.yammer.metrics.core.VirtualMachineMetrics
Returns the percentage of the JVM's non-heap memory (e.g., direct buffers) which is being used.

O

objectName() - Method in class com.yammer.metrics.reporting.JmxReporter.AbstractBean
 
objectName - Variable in class com.yammer.metrics.reporting.JmxReporter.Context
 
objectName() - Method in class com.yammer.metrics.reporting.JmxReporter.Histogram
 
objectName() - Method in interface com.yammer.metrics.reporting.JmxReporter.MetricMBean
 
oneMinuteEWMA() - Static method in class com.yammer.metrics.stats.EWMA
Creates a new EWMA which is equivalent to the UNIX one minute load average and which expects to be ticked every 5 seconds.
oneMinuteRate() - Method in interface com.yammer.metrics.core.Metered
Returns the one-minute exponentially-weighted moving average rate at which events have occurred since the meter was created.
oneMinuteRate() - Method in class com.yammer.metrics.core.MeterMetric
 
oneMinuteRate() - Method in class com.yammer.metrics.core.TimerMetric
 
onMetricAdded(MetricName, Metric) - Method in interface com.yammer.metrics.core.MetricsRegistryListener
Called when a metric has been added to the MetricsRegistry.
onMetricAdded(MetricName, Metric) - Method in class com.yammer.metrics.reporting.JmxReporter
 
onMetricRemoved(MetricName) - Method in interface com.yammer.metrics.core.MetricsRegistryListener
Called when a metric has been removed from the MetricsRegistry.
onMetricRemoved(MetricName) - Method in class com.yammer.metrics.reporting.JmxReporter
 

P

percentile(double) - Method in class com.yammer.metrics.core.HistogramMetric
Returns the value at the given percentile.
percentile(double) - Method in interface com.yammer.metrics.core.Percentiled
Returns the duration at the given percentile.
percentile(double) - Method in class com.yammer.metrics.core.TimerMetric
 
Percentiled - Interface in com.yammer.metrics.core
 
percentiles(Double...) - Method in class com.yammer.metrics.core.HistogramMetric
Returns an array of values at the given percentiles.
percentiles(Double...) - Method in interface com.yammer.metrics.core.Percentiled
Returns an array of durations at the given percentiles.
percentiles(Double...) - Method in class com.yammer.metrics.core.TimerMetric
 
processCounter(MetricName, CounterMetric, T) - Method in interface com.yammer.metrics.core.MetricsProcessor
 
processCounter(MetricName, CounterMetric, PrintStream) - Method in class com.yammer.metrics.reporting.ConsoleReporter
 
processCounter(MetricName, CounterMetric, CsvReporter.Context) - Method in class com.yammer.metrics.reporting.CsvReporter
 
processCounter(MetricName, CounterMetric, JmxReporter.Context) - Method in class com.yammer.metrics.reporting.JmxReporter
 
processGauge(MetricName, GaugeMetric<?>, T) - Method in interface com.yammer.metrics.core.MetricsProcessor
 
processGauge(MetricName, GaugeMetric<?>, PrintStream) - Method in class com.yammer.metrics.reporting.ConsoleReporter
 
processGauge(MetricName, GaugeMetric<?>, CsvReporter.Context) - Method in class com.yammer.metrics.reporting.CsvReporter
 
processGauge(MetricName, GaugeMetric<?>, JmxReporter.Context) - Method in class com.yammer.metrics.reporting.JmxReporter
 
processHistogram(MetricName, HistogramMetric, T) - Method in interface com.yammer.metrics.core.MetricsProcessor
 
processHistogram(MetricName, HistogramMetric, PrintStream) - Method in class com.yammer.metrics.reporting.ConsoleReporter
 
processHistogram(MetricName, HistogramMetric, CsvReporter.Context) - Method in class com.yammer.metrics.reporting.CsvReporter
 
processHistogram(MetricName, HistogramMetric, JmxReporter.Context) - Method in class com.yammer.metrics.reporting.JmxReporter
 
processMeter(MetricName, Metered, T) - Method in interface com.yammer.metrics.core.MetricsProcessor
 
processMeter(MetricName, Metered, PrintStream) - Method in class com.yammer.metrics.reporting.ConsoleReporter
 
processMeter(MetricName, Metered, CsvReporter.Context) - Method in class com.yammer.metrics.reporting.CsvReporter
 
processMeter(MetricName, Metered, JmxReporter.Context) - Method in class com.yammer.metrics.reporting.JmxReporter
 
processTimer(MetricName, TimerMetric, T) - Method in interface com.yammer.metrics.core.MetricsProcessor
 
processTimer(MetricName, TimerMetric, PrintStream) - Method in class com.yammer.metrics.reporting.ConsoleReporter
 
processTimer(MetricName, TimerMetric, CsvReporter.Context) - Method in class com.yammer.metrics.reporting.CsvReporter
 
processTimer(MetricName, TimerMetric, JmxReporter.Context) - Method in class com.yammer.metrics.reporting.JmxReporter
 
processWith(MetricsProcessor<T>, MetricName, T) - Method in class com.yammer.metrics.core.CounterMetric
 
processWith(MetricsProcessor<U>, MetricName, U) - Method in class com.yammer.metrics.core.GaugeMetric
 
processWith(MetricsProcessor<T>, MetricName, T) - Method in class com.yammer.metrics.core.HistogramMetric
 
processWith(MetricsProcessor<T>, MetricName, T) - Method in class com.yammer.metrics.core.MeterMetric
 
processWith(MetricsProcessor<T>, MetricName, T) - Method in interface com.yammer.metrics.core.Metric
 
processWith(MetricsProcessor<T>, MetricName, T) - Method in class com.yammer.metrics.core.TimerMetric
 

R

rate(TimeUnit) - Method in class com.yammer.metrics.stats.EWMA
Returns the rate in the given units of time.
rateUnit() - Method in interface com.yammer.metrics.core.Metered
Returns the meter's rate unit.
rateUnit() - Method in class com.yammer.metrics.core.MeterMetric
 
rateUnit() - Method in class com.yammer.metrics.core.TimerMetric
 
register(HealthCheck) - Method in class com.yammer.metrics.core.HealthCheckRegistry
Registers an application HealthCheck.
register(HealthCheck) - Static method in class com.yammer.metrics.HealthChecks
Registers an application HealthCheck with a given name.
removeListener(MetricsRegistryListener) - Method in class com.yammer.metrics.core.MetricsRegistry
Removes a MetricsRegistryListener from this registry's collection of listeners.
removeMetric(Class<?>, String) - Method in class com.yammer.metrics.core.MetricsRegistry
Removes the metric for the given class with the given name.
removeMetric(Class<?>, String, String) - Method in class com.yammer.metrics.core.MetricsRegistry
Removes the metric for the given class with the given name and scope.
removeMetric(MetricName) - Method in class com.yammer.metrics.core.MetricsRegistry
Removes the metric with the given name.
removeMetric(MetricName) - Static method in class com.yammer.metrics.Metrics
Removes the metric with the given name.
removeMetric(Class<?>, String) - Static method in class com.yammer.metrics.Metrics
Removes the metric for the given class with the given name.
removeMetric(Class<?>, String, String) - Static method in class com.yammer.metrics.Metrics
Removes the metric for the given class with the given name and scope.
run() - Method in class com.yammer.metrics.reporting.ConsoleReporter
 
run() - Method in class com.yammer.metrics.reporting.CsvReporter
 
runHealthChecks() - Method in class com.yammer.metrics.core.HealthCheckRegistry
Runs the registered health checks and returns a map of the results.
runHealthChecks() - Static method in class com.yammer.metrics.HealthChecks
Runs the registered health checks and returns a map of the results.

S

Sample - Interface in com.yammer.metrics.stats
A statistically representative sample of a data stream.
shutdown() - Static method in class com.yammer.metrics.Metrics
 
shutdown(long, TimeUnit) - Method in class com.yammer.metrics.reporting.AbstractPollingReporter
 
shutdown() - Method in class com.yammer.metrics.reporting.AbstractPollingReporter
 
shutdown() - Method in class com.yammer.metrics.reporting.AbstractReporter
Stops the reporter and closes any internal resources.
shutdown() - Method in class com.yammer.metrics.reporting.CsvReporter
 
shutdown() - Method in class com.yammer.metrics.reporting.JmxReporter
 
shutdownDefault() - Static method in class com.yammer.metrics.reporting.JmxReporter
 
shutdownThreadPools() - Method in class com.yammer.metrics.util.ThreadPools
Shuts down all thread pools created by this class in an orderly fashion.
shutdownThreadPools() - Static method in class com.yammer.metrics.util.Utils
Deprecated. Shut down the thread pools object of the relevant MetricsRegistry instead
size() - Method in class com.yammer.metrics.stats.ExponentiallyDecayingSample
 
size() - Method in interface com.yammer.metrics.stats.Sample
Returns the number of values recorded.
size() - Method in class com.yammer.metrics.stats.UniformSample
 
sortAndFilterMetrics(Map<MetricName, Metric>, MetricPredicate) - Static method in class com.yammer.metrics.util.Utils
 
sortMetrics(Map<MetricName, Metric>) - Static method in class com.yammer.metrics.util.Utils
 
start(long, TimeUnit) - Method in class com.yammer.metrics.reporting.AbstractPollingReporter
 
start(long, TimeUnit) - Method in class com.yammer.metrics.reporting.CsvReporter
 
start() - Method in class com.yammer.metrics.reporting.JmxReporter
 
startDefault(MetricsRegistry) - Static method in class com.yammer.metrics.reporting.JmxReporter
 
stdDev() - Method in class com.yammer.metrics.core.HistogramMetric
 
stdDev() - Method in interface com.yammer.metrics.core.Summarized
Returns the standard deviation of all recorded values.
stdDev() - Method in class com.yammer.metrics.core.TimerMetric
Returns the standard deviation of all recorded durations.
stop() - Method in class com.yammer.metrics.core.MeterMetric
 
stop() - Method in interface com.yammer.metrics.core.Stoppable
 
stop() - Method in class com.yammer.metrics.core.TimerContext
Stops recording the elapsed time and updates the timer.
stop() - Method in class com.yammer.metrics.core.TimerMetric
 
Stoppable - Interface in com.yammer.metrics.core
Interface for Metric instances that can be stopped.
Summarized - Interface in com.yammer.metrics.core
 

T

threadCount() - Static method in class com.yammer.metrics.core.VirtualMachineMetrics
Returns the number of live threads (includes VirtualMachineMetrics.daemonThreadCount().
threadDump(OutputStream) - Static method in class com.yammer.metrics.core.VirtualMachineMetrics
Dumps all of the threads' current information to an output stream.
threadPools() - Method in class com.yammer.metrics.core.MetricsRegistry
 
ThreadPools - Class in com.yammer.metrics.util
 
ThreadPools() - Constructor for class com.yammer.metrics.util.ThreadPools
 
threadStatePercentages() - Static method in class com.yammer.metrics.core.VirtualMachineMetrics
Returns a map of thread states to the percentage of all threads which are in that state.
tick() - Method in class com.yammer.metrics.core.Clock.CpuTime
 
tick() - Method in class com.yammer.metrics.core.Clock
Gets the current time tick
tick() - Method in class com.yammer.metrics.core.Clock.UserTime
 
tick() - Method in class com.yammer.metrics.stats.EWMA
Mark the passage of time and decay the current rate accordingly.
time() - Method in class com.yammer.metrics.core.Clock
Gets the current time in milliseconds
time(Callable<T>) - Method in class com.yammer.metrics.core.TimerMetric
Times and records the duration of event.
time() - Method in class com.yammer.metrics.core.TimerMetric
Returns a timing TimerContext, which measures an elapsed time in nanoseconds.
TimerContext - Class in com.yammer.metrics.core
A timing context.
TimerMetric - Class in com.yammer.metrics.core
A timer metric which aggregates timing durations and provides duration statistics, plus throughput statistics via MeterMetric.
TimerMetric(TimeUnit, TimeUnit) - Constructor for class com.yammer.metrics.core.TimerMetric
Deprecated. either use the other constructor or create via the MetricsRegistry or Metrics
TimerMetric(TimeUnit, TimeUnit, Clock) - Constructor for class com.yammer.metrics.core.TimerMetric
Deprecated. either use the other constructor or create via the MetricsRegistry or Metrics
TimerMetric(ScheduledExecutorService, TimeUnit, TimeUnit) - Constructor for class com.yammer.metrics.core.TimerMetric
Creates a new TimerMetric.
TimerMetric(ScheduledExecutorService, TimeUnit, TimeUnit, Clock) - Constructor for class com.yammer.metrics.core.TimerMetric
Creates a new TimerMetric.
toString() - Method in class com.yammer.metrics.core.MetricName
 

U

uncaughtException(Thread, Throwable) - Method in class com.yammer.metrics.util.DeathRattleExceptionHandler
 
unhealthy(String) - Static method in class com.yammer.metrics.core.HealthCheck.Result
 
unhealthy(Throwable) - Static method in class com.yammer.metrics.core.HealthCheck.Result
 
UniformSample - Class in com.yammer.metrics.stats
A random sample of a stream of longs.
UniformSample(int) - Constructor for class com.yammer.metrics.stats.UniformSample
Creates a new UniformSample.
unregister(String) - Method in class com.yammer.metrics.core.HealthCheckRegistry
Unregisters the application HealthCheck with the given name.
update(int) - Method in class com.yammer.metrics.core.HistogramMetric
Adds a recorded value.
update(long) - Method in class com.yammer.metrics.core.HistogramMetric
Adds a recorded value.
update(long, TimeUnit) - Method in class com.yammer.metrics.core.TimerMetric
Adds a recorded duration.
update(long) - Method in class com.yammer.metrics.stats.EWMA
Update the moving average with a new value.
update(long) - Method in class com.yammer.metrics.stats.ExponentiallyDecayingSample
 
update(long, long) - Method in class com.yammer.metrics.stats.ExponentiallyDecayingSample
Adds an old value with a fixed timestamp to the sample.
update(long) - Method in interface com.yammer.metrics.stats.Sample
Adds a new recorded value to the sample.
update(long) - Method in class com.yammer.metrics.stats.UniformSample
 
uptime() - Static method in class com.yammer.metrics.core.VirtualMachineMetrics
Returns the number of seconds the JVM process has been running.
Utils - Class in com.yammer.metrics.util
 

V

value() - Method in class com.yammer.metrics.core.GaugeMetric
Returns the metric's current value.
value() - Method in class com.yammer.metrics.core.JmxGauge
 
valueOf(String) - Static method in enum com.yammer.metrics.core.HistogramMetric.SampleType
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.yammer.metrics.core.HistogramMetric.SampleType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Method in class com.yammer.metrics.core.HistogramMetric
Returns a list of all values in the histogram's sample.
values() - Method in class com.yammer.metrics.core.TimerMetric
Returns a list of all recorded durations in the timer's sample.
values() - Method in class com.yammer.metrics.reporting.JmxReporter.Histogram
 
values() - Method in interface com.yammer.metrics.reporting.JmxReporter.HistogramMBean
 
values() - Method in class com.yammer.metrics.reporting.JmxReporter.Timer
 
values() - Method in class com.yammer.metrics.stats.ExponentiallyDecayingSample
 
values() - Method in interface com.yammer.metrics.stats.Sample
Returns a copy of the sample's values.
values() - Method in class com.yammer.metrics.stats.UniformSample
 
VirtualMachineMetrics - Class in com.yammer.metrics.core
A collection of Java Virtual Machine metrics.
VirtualMachineMetrics.GarbageCollector - Class in com.yammer.metrics.core
 
VirtualMachineMetrics.GarbageCollector(long, long) - Constructor for class com.yammer.metrics.core.VirtualMachineMetrics.GarbageCollector
 
vmName() - Static method in class com.yammer.metrics.core.VirtualMachineMetrics
Returns the name of the currently-running jvm.
vmVersion() - Static method in class com.yammer.metrics.core.VirtualMachineMetrics
Returns the version of the currently-running jvm.

A C D E F G H I J M N O P R S T U V

Copyright © 2011. All Rights Reserved.