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
An abstract base class for all reporter implementations which periodically poll registered metrics (e.g., to send the data to another service).
AbstractPollingReporter(MetricsRegistry, String) - Constructor for class com.yammer.metrics.reporting.AbstractPollingReporter
Creates a new AbstractPollingReporter instance.
AbstractReporter - Class in com.yammer.metrics.reporting
The base class for all metric reporters.
AbstractReporter(MetricsRegistry) - Constructor for class com.yammer.metrics.reporting.AbstractReporter
Creates a new AbstractReporter instance.
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.core.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.

C

check() - Method in class com.yammer.metrics.core.HealthCheck
Perform a check of the application component.
check() - Method in class com.yammer.metrics.util.DeadlockHealthCheck
 
chooseGroup(String, Class<?>) - Static method in class com.yammer.metrics.core.MetricName
If the group is empty, use the package name of the given class.
chooseName(String, Method) - Static method in class com.yammer.metrics.core.MetricName
If name is empty, use the name of the given method.
chooseType(String, Class<?>) - Static method in class com.yammer.metrics.core.MetricName
If the type is empty, use the simple name of the given class.
clear() - Method in class com.yammer.metrics.core.Counter
Resets the counter to 0.
clear() - Method in class com.yammer.metrics.core.Histogram
Clears all recorded values.
clear() - Method in class com.yammer.metrics.core.Timer
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.CpuTimeClock - Class in com.yammer.metrics.core
A clock implementation which returns the current thread's CPU time.
Clock.CpuTimeClock() - Constructor for class com.yammer.metrics.core.Clock.CpuTimeClock
 
Clock.UserTimeClock - Class in com.yammer.metrics.core
A clock implementation which returns the current time in epoch nanoseconds.
Clock.UserTimeClock() - Constructor for class com.yammer.metrics.core.Clock.UserTimeClock
 
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.Counter
Returns the counter's current value.
count() - Method in class com.yammer.metrics.core.Histogram
Returns the number of values recorded.
count() - Method in class com.yammer.metrics.core.Meter
 
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.Timer
 
Counter - Class in com.yammer.metrics.core
An incrementing and decrementing counter metric.
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
Returns an opened PrintStream for the given MetricName which outputs data to a metric-specific .csv file in the output directory.
CsvReporter - Class in com.yammer.metrics.reporting
A reporter which periodically appends data from each metric to a metric-specific CSV file in an output directory.
CsvReporter(MetricsRegistry, File) - Constructor for class com.yammer.metrics.reporting.CsvReporter
Creates a new CsvReporter which will write all metrics from the given MetricsRegistry to CSV files in the given output directory.
CsvReporter(MetricsRegistry, MetricPredicate, File) - Constructor for class com.yammer.metrics.reporting.CsvReporter
Creates a new CsvReporter which will write metrics from the given MetricsRegistry which match the given MetricPredicate to CSV files in the given output directory.
CsvReporter(MetricsRegistry, MetricPredicate, File, Clock) - Constructor for class com.yammer.metrics.reporting.CsvReporter
Creates a new CsvReporter which will write metrics from the given MetricsRegistry which match the given MetricPredicate to CSV files in the given output directory.
CsvReporter.Context - Interface in com.yammer.metrics.reporting
The context used to output metrics.

D

daemonThreadCount() - Method in class com.yammer.metrics.core.VirtualMachineMetrics
Returns the number of live daemon threads.
deadlockedThreads() - 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.util
A HealthCheck implementation which returns a list of deadlocked threads, if any.
DeadlockHealthCheck(VirtualMachineMetrics) - Constructor for class com.yammer.metrics.util.DeadlockHealthCheck
Creates a new DeadlockHealthCheck with the given VirtualMachineMetrics instance.
DeadlockHealthCheck() - Constructor for class com.yammer.metrics.util.DeadlockHealthCheck
Creates a new 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(Counter) - Constructor for class com.yammer.metrics.util.DeathRattleExceptionHandler
Creates a new DeathRattleExceptionHandler with the given Counter.
dec() - Method in class com.yammer.metrics.core.Counter
Decrement the counter by one.
dec(long) - Method in class com.yammer.metrics.core.Counter
Decrement the counter by n.
defaultClock() - Static method 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.stats.Snapshot
Writes the values of the sample to the given file.
durationUnit() - Method in class com.yammer.metrics.core.Timer
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.
enable(File, long, TimeUnit) - Static method in class com.yammer.metrics.reporting.CsvReporter
Enables the CSV reporter for the default metrics registry, and causes it to write to files in outputDir with the specified period.
enable(MetricsRegistry, File, long, TimeUnit) - Static method in class com.yammer.metrics.reporting.CsvReporter
Enables the CSV reporter for the given metrics registry, and causes it to write to files in outputDir with the specified period.
equals(Object) - Method in class com.yammer.metrics.core.HealthCheck.Result
 
equals(Object) - Method in class com.yammer.metrics.core.MetricName
 
eventType() - Method in class com.yammer.metrics.core.Meter
 
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.Timer
 
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
Executes the health check, catching and handling any exceptions raised by HealthCheck.check().
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 class com.yammer.metrics.core.Meter
 
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.Timer
 
fileDescriptorUsage() - Method in class com.yammer.metrics.core.VirtualMachineMetrics
Returns the percentage of available file descriptors which are currently in use.
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 class com.yammer.metrics.core.Meter
 
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.Timer
 

G

garbageCollectors() - Method in class com.yammer.metrics.core.VirtualMachineMetrics
Returns a map of garbage collector names to garbage collector information.
Gauge<T> - Class in com.yammer.metrics.core
A gauge metric is an instantaneous reading of a particular value.
Gauge() - Constructor for class com.yammer.metrics.core.Gauge
 
get50thPercentile() - Method in interface com.yammer.metrics.reporting.JmxReporter.HistogramMBean
 
get75thPercentile() - Method in interface com.yammer.metrics.reporting.JmxReporter.HistogramMBean
 
get75thPercentile() - Method in class com.yammer.metrics.stats.Snapshot
Returns the value at the 75th percentile in the distribution.
get95thPercentile() - Method in interface com.yammer.metrics.reporting.JmxReporter.HistogramMBean
 
get95thPercentile() - Method in class com.yammer.metrics.stats.Snapshot
Returns the value at the 95th percentile in the distribution.
get98thPercentile() - Method in interface com.yammer.metrics.reporting.JmxReporter.HistogramMBean
 
get98thPercentile() - Method in class com.yammer.metrics.stats.Snapshot
Returns the value at the 98th percentile in the distribution.
get999thPercentile() - Method in interface com.yammer.metrics.reporting.JmxReporter.HistogramMBean
 
get999thPercentile() - Method in class com.yammer.metrics.stats.Snapshot
Returns the value at the 99.9th percentile in the distribution.
get99thPercentile() - Method in interface com.yammer.metrics.reporting.JmxReporter.HistogramMBean
 
get99thPercentile() - Method in class com.yammer.metrics.stats.Snapshot
Returns the value at the 99th percentile in the distribution.
getBufferPoolStats() - Method in class com.yammer.metrics.core.VirtualMachineMetrics
 
getCount() - Method in class com.yammer.metrics.core.VirtualMachineMetrics.BufferPoolStats
Returns an estimate of the number of buffers in the pool.
getCount() - Method in interface com.yammer.metrics.reporting.JmxReporter.CounterMBean
 
getCount() - Method in interface com.yammer.metrics.reporting.JmxReporter.HistogramMBean
 
getCount() - Method in interface com.yammer.metrics.reporting.JmxReporter.MeterMBean
 
getDefault() - Static method in class com.yammer.metrics.reporting.JmxReporter
Returns the default instance of JmxReporter if it has been started.
getDenominator() - Method in class com.yammer.metrics.util.RatioGauge
Returns the denominator (the value on the bottom half of the fraction or the right-hand side of the ratio).
getError() - Method in class com.yammer.metrics.core.HealthCheck.Result
Returns any exception for the result, or null if the result has no exception.
getEventType() - Method in interface com.yammer.metrics.reporting.JmxReporter.MeterMBean
 
getFifteenMinuteRate() - Method in interface com.yammer.metrics.reporting.JmxReporter.MeterMBean
 
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.
getInstance() - Static method in class com.yammer.metrics.core.VirtualMachineMetrics
The default instance of VirtualMachineMetrics.
getLatencyUnit() - Method in interface com.yammer.metrics.reporting.JmxReporter.TimerMBean
 
getMax() - Method in interface com.yammer.metrics.reporting.JmxReporter.HistogramMBean
 
getMBeanName() - Method in class com.yammer.metrics.core.MetricName
Returns the MBean name for the Metric identified by this metric name.
getMean() - Method in interface com.yammer.metrics.reporting.JmxReporter.HistogramMBean
 
getMeanRate() - Method in interface com.yammer.metrics.reporting.JmxReporter.MeterMBean
 
getMedian() - Method in class com.yammer.metrics.stats.Snapshot
Returns the median value in the distribution.
getMemoryUsed() - Method in class com.yammer.metrics.core.VirtualMachineMetrics.BufferPoolStats
Returns an estimate of the memory that the Java virtual machine is using for this buffer pool.
getMessage() - Method in class com.yammer.metrics.core.HealthCheck.Result
Returns any additional message for the result, or null if the result has no message.
getMetricsRegistry() - Method in class com.yammer.metrics.reporting.AbstractReporter
Returns the reporter's MetricsRegistry.
getMin() - Method in interface com.yammer.metrics.reporting.JmxReporter.HistogramMBean
 
getName() - Method in class com.yammer.metrics.core.HealthCheck
Returns the health check's name.
getName() - Method in class com.yammer.metrics.core.MetricName
Returns the name of the Metric.
getNumerator() - Method in class com.yammer.metrics.util.RatioGauge
Returns the numerator (the value on the top half of the fraction or the left-hand side of the ratio).
getOneMinuteRate() - Method in interface com.yammer.metrics.reporting.JmxReporter.MeterMBean
 
getOrAdd(MetricName, T) - Method in class com.yammer.metrics.core.MetricsRegistry
Gets any existing metric with the given name or, if none exists, adds the given metric.
getRateUnit() - Method in interface com.yammer.metrics.reporting.JmxReporter.MeterMBean
 
getRuns() - Method in class com.yammer.metrics.core.VirtualMachineMetrics.GarbageCollectorStats
Returns the number of times the garbage collector has run.
getScope() - Method in class com.yammer.metrics.core.MetricName
Returns the scope of the Metric.
getSnapshot() - Method in class com.yammer.metrics.core.Histogram
 
getSnapshot() - Method in interface com.yammer.metrics.core.Sampling
Returns a snapshot of the values.
getSnapshot() - Method in class com.yammer.metrics.core.Timer
 
getSnapshot() - Method in class com.yammer.metrics.stats.ExponentiallyDecayingSample
 
getSnapshot() - Method in interface com.yammer.metrics.stats.Sample
Returns a snapshot of the sample's values.
getSnapshot() - Method in class com.yammer.metrics.stats.UniformSample
 
getStdDev() - Method in interface com.yammer.metrics.reporting.JmxReporter.HistogramMBean
 
getStream(String) - Method in interface com.yammer.metrics.reporting.CsvReporter.Context
Returns an open PrintStream for the metric with header already written to it.
getTime(TimeUnit) - Method in class com.yammer.metrics.core.VirtualMachineMetrics.GarbageCollectorStats
Returns the amount of time in the given unit the garbage collector has taken in total.
getTotalCapacity() - Method in class com.yammer.metrics.core.VirtualMachineMetrics.BufferPoolStats
Returns an estimate of the total capacity of the buffers in this pool.
getType() - Method in class com.yammer.metrics.core.MetricName
Returns the type to which the Metric belongs.
getValue() - Method in interface com.yammer.metrics.reporting.JmxReporter.GaugeMBean
 
getValue(double) - Method in class com.yammer.metrics.stats.Snapshot
Returns the value at the given quantile.
getValues() - Method in class com.yammer.metrics.stats.Snapshot
Returns the entire set of values in the snapshot.
groupedMetrics() - Method in class com.yammer.metrics.core.MetricsRegistry
Returns a grouped and sorted map of all registered metrics.
groupedMetrics(MetricPredicate) - Method in class com.yammer.metrics.core.MetricsRegistry
Returns a grouped and sorted map of all registered metrics which match then given MetricPredicate.

H

hashCode() - Method in class com.yammer.metrics.core.HealthCheck.Result
 
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 health check for a component of your application.
HealthCheck(String) - Constructor for class com.yammer.metrics.core.HealthCheck
Create a new HealthCheck instance with the given name.
HealthCheck.Result - Class in com.yammer.metrics.core
The result of a HealthCheck being run.
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
Returns a healthy HealthCheck.Result with no additional message.
healthy(String) - Static method in class com.yammer.metrics.core.HealthCheck.Result
Returns a healthy HealthCheck.Result with an additional message.
heapCommitted() - Method in class com.yammer.metrics.core.VirtualMachineMetrics
Returns the heap memory committed to the JVM.
heapInit() - Method in class com.yammer.metrics.core.VirtualMachineMetrics
Returns the heap initial memory of the current JVM.
heapMax() - Method in class com.yammer.metrics.core.VirtualMachineMetrics
Returns the heap memory currently used by the current JVM.
heapUsage() - Method in class com.yammer.metrics.core.VirtualMachineMetrics
Returns the percentage of the JVM's heap which is being used.
heapUsed() - Method in class com.yammer.metrics.core.VirtualMachineMetrics
Returns the heap memory currently used by the current JVM.
Histogram - Class in com.yammer.metrics.core
A metric which calculates the distribution of a value.

I

inc() - Method in class com.yammer.metrics.core.Counter
Increment the counter by one.
inc(long) - Method in class com.yammer.metrics.core.Counter
Increment the counter by n.
isHealthy() - Method in class com.yammer.metrics.core.HealthCheck.Result
Returns true if the result indicates the component is healthy; false otherwise.

J

JmxGauge - Class in com.yammer.metrics.util
A gauge which exposes an attribute of a JMX MBean.
JmxGauge(String, String) - Constructor for class com.yammer.metrics.util.JmxGauge
Creates a new JmxGauge for the given attribute of the given MBean.
JmxGauge(ObjectName, String) - Constructor for class com.yammer.metrics.util.JmxGauge
Creates a new JmxGauge for the given attribute of the given MBean.
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
Creates a new JmxReporter for the given registry.
JmxReporter.CounterMBean - Interface in com.yammer.metrics.reporting
 
JmxReporter.GaugeMBean - Interface in com.yammer.metrics.reporting
 
JmxReporter.HistogramMBean - Interface in com.yammer.metrics.reporting
 
JmxReporter.MeterMBean - Interface in com.yammer.metrics.reporting
 
JmxReporter.MetricMBean - Interface in com.yammer.metrics.reporting
 
JmxReporter.TimerMBean - Interface in com.yammer.metrics.reporting
 

M

mark() - Method in class com.yammer.metrics.core.Meter
Mark the occurrence of an event.
mark(long) - Method in class com.yammer.metrics.core.Meter
Mark the occurrence of a given number of events.
matches(MetricName, Metric) - Method in interface com.yammer.metrics.core.MetricPredicate
Returns true if the metric matches the predicate.
max() - Method in class com.yammer.metrics.core.Histogram
 
max() - Method in interface com.yammer.metrics.core.Summarizable
Returns the largest recorded value.
max() - Method in class com.yammer.metrics.core.Timer
Returns the longest recorded duration.
mean() - Method in class com.yammer.metrics.core.Histogram
 
mean() - Method in interface com.yammer.metrics.core.Summarizable
Returns the arithmetic mean of all recorded values.
mean() - Method in class com.yammer.metrics.core.Timer
Returns the arithmetic mean of all recorded durations.
meanRate() - Method in class com.yammer.metrics.core.Meter
 
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.Timer
 
memoryPoolUsage() - 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.
Meter - Class in com.yammer.metrics.core
A meter metric which measures mean throughput and one-, five-, and fifteen-minute exponentially-weighted moving average throughputs.
Metered - Interface in com.yammer.metrics.core
An object which maintains mean and exponentially-weighted rate.
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.
MetricPredicate - Interface in com.yammer.metrics.core
A MetricPredicate is used to determine whether a metric should be included when sorting and filtering metrics.
MetricProcessor<T> - Interface in com.yammer.metrics.core
A processor of metric instances.
Metrics - Class in com.yammer.metrics
A set of factory methods for creating centrally registered metric instances.
MetricsRegistry - Class in com.yammer.metrics.core
A registry of metric instances.
MetricsRegistry() - Constructor for class com.yammer.metrics.core.MetricsRegistry
Creates a new MetricsRegistry.
MetricsRegistry(Clock) - Constructor for class com.yammer.metrics.core.MetricsRegistry
Creates a new MetricsRegistry with the given Clock instance.
MetricsRegistryListener - Interface in com.yammer.metrics.core
Listeners for events from the registry.
min() - Method in class com.yammer.metrics.core.Histogram
 
min() - Method in interface com.yammer.metrics.core.Summarizable
Returns the smallest recorded value.
min() - Method in class com.yammer.metrics.core.Timer
Returns the shortest recorded duration.

N

name() - Method in class com.yammer.metrics.core.VirtualMachineMetrics
Returns the name of the currently-running jvm.
newCounter(Class<?>, String) - Method in class com.yammer.metrics.core.MetricsRegistry
Creates a new Counter and registers it under the given class and name.
newCounter(Class<?>, String, String) - Method in class com.yammer.metrics.core.MetricsRegistry
Creates a new Counter and registers it under the given class and name.
newCounter(MetricName) - Method in class com.yammer.metrics.core.MetricsRegistry
Creates a new Counter and registers it under the given metric name.
newCounter(Class<?>, String) - Static method in class com.yammer.metrics.Metrics
Creates a new Counter and registers it under the given class and name.
newCounter(Class<?>, String, String) - Static method in class com.yammer.metrics.Metrics
Creates a new Counter and registers it under the given class and name.
newCounter(MetricName) - Static method in class com.yammer.metrics.Metrics
Creates a new Counter and registers it under the given metric name.
newGauge(Class<?>, String, Gauge<T>) - Method in class com.yammer.metrics.core.MetricsRegistry
Given a new Gauge, registers it under the given class and name.
newGauge(Class<?>, String, String, Gauge<T>) - Method in class com.yammer.metrics.core.MetricsRegistry
Given a new Gauge, registers it under the given class and name.
newGauge(MetricName, Gauge<T>) - Method in class com.yammer.metrics.core.MetricsRegistry
Given a new Gauge, registers it under the given metric name.
newGauge(Class<?>, String, Gauge<T>) - Static method in class com.yammer.metrics.Metrics
Given a new Gauge, registers it under the given class and name.
newGauge(Class<?>, String, String, Gauge<T>) - Static method in class com.yammer.metrics.Metrics
Given a new Gauge, registers it under the given class and name.
newGauge(MetricName, Gauge<T>) - Static method in class com.yammer.metrics.Metrics
Given a new Gauge, registers it under the given metric name.
newHistogram(Class<?>, String, boolean) - Method in class com.yammer.metrics.core.MetricsRegistry
Creates a new Histogram 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 Histogram 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 Histogram 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 Histogram and registers it under the given class, name, and scope.
newHistogram(MetricName, boolean) - Method in class com.yammer.metrics.core.MetricsRegistry
Creates a new Histogram and registers it under the given metric name.
newHistogram(Class<?>, String, boolean) - Static method in class com.yammer.metrics.Metrics
Creates a new Histogram 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 Histogram and registers it under the given class, name, and scope.
newHistogram(MetricName, boolean) - Static method in class com.yammer.metrics.Metrics
Creates a new Histogram and registers it under the given metric name.
newHistogram(Class<?>, String) - Static method in class com.yammer.metrics.Metrics
Creates a new non-biased Histogram 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 Histogram 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 Histogram and registers it under the given metric name.
newMeter(Class<?>, String, String, TimeUnit) - Method in class com.yammer.metrics.core.MetricsRegistry
Creates a new Meter 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 Meter 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 Meter and registers it under the given metric name.
newMeter(Class<?>, String, String, TimeUnit) - Static method in class com.yammer.metrics.Metrics
Creates a new Meter 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 Meter 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 Meter and registers it under the given metric name.
newMetricsMap() - Method in class com.yammer.metrics.core.MetricsRegistry
Returns a new ConcurrentMap implementation.
newScheduledThreadPool(int, String) - Method in class com.yammer.metrics.core.MetricsRegistry
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.
newTimer(Class<?>, String) - Method in class com.yammer.metrics.core.MetricsRegistry
Creates a new Timer 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 Timer and registers it under the given class and name.
newTimer(Class<?>, String, String) - Method in class com.yammer.metrics.core.MetricsRegistry
Creates a new Timer 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 Timer 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 Timer and registers it under the given metric name.
newTimer(Class<?>, String, TimeUnit, TimeUnit) - Static method in class com.yammer.metrics.Metrics
Creates a new Timer and registers it under the given class and name.
newTimer(Class<?>, String) - Static method in class com.yammer.metrics.Metrics
Creates a new Timer 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 Timer 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 Timer 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 Timer and registers it under the given metric name.
nonHeapUsage() - 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 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 class com.yammer.metrics.core.Meter
 
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.Timer
 
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

PercentGauge - Class in com.yammer.metrics.util
A RatioGauge extension which returns a percentage, not a ratio.
PercentGauge() - Constructor for class com.yammer.metrics.util.PercentGauge
 
processCounter(MetricName, Counter, T) - Method in interface com.yammer.metrics.core.MetricProcessor
Process the given counter.
processCounter(MetricName, Counter, PrintStream) - Method in class com.yammer.metrics.reporting.ConsoleReporter
 
processCounter(MetricName, Counter, CsvReporter.Context) - Method in class com.yammer.metrics.reporting.CsvReporter
 
processCounter(MetricName, Counter, JmxReporter.Context) - Method in class com.yammer.metrics.reporting.JmxReporter
 
processGauge(MetricName, Gauge<?>, T) - Method in interface com.yammer.metrics.core.MetricProcessor
Process the given gauge.
processGauge(MetricName, Gauge<?>, PrintStream) - Method in class com.yammer.metrics.reporting.ConsoleReporter
 
processGauge(MetricName, Gauge<?>, CsvReporter.Context) - Method in class com.yammer.metrics.reporting.CsvReporter
 
processGauge(MetricName, Gauge<?>, JmxReporter.Context) - Method in class com.yammer.metrics.reporting.JmxReporter
 
processHistogram(MetricName, Histogram, T) - Method in interface com.yammer.metrics.core.MetricProcessor
Process the given histogram.
processHistogram(MetricName, Histogram, PrintStream) - Method in class com.yammer.metrics.reporting.ConsoleReporter
 
processHistogram(MetricName, Histogram, CsvReporter.Context) - Method in class com.yammer.metrics.reporting.CsvReporter
 
processHistogram(MetricName, Histogram, JmxReporter.Context) - Method in class com.yammer.metrics.reporting.JmxReporter
 
processMeter(MetricName, Metered, T) - Method in interface com.yammer.metrics.core.MetricProcessor
Process the given Metered instance.
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, Timer, T) - Method in interface com.yammer.metrics.core.MetricProcessor
Process the given timer.
processTimer(MetricName, Timer, PrintStream) - Method in class com.yammer.metrics.reporting.ConsoleReporter
 
processTimer(MetricName, Timer, CsvReporter.Context) - Method in class com.yammer.metrics.reporting.CsvReporter
 
processTimer(MetricName, Timer, JmxReporter.Context) - Method in class com.yammer.metrics.reporting.JmxReporter
 
processWith(MetricProcessor<T>, MetricName, T) - Method in class com.yammer.metrics.core.Counter
 
processWith(MetricProcessor<U>, MetricName, U) - Method in class com.yammer.metrics.core.Gauge
 
processWith(MetricProcessor<T>, MetricName, T) - Method in class com.yammer.metrics.core.Histogram
 
processWith(MetricProcessor<T>, MetricName, T) - Method in class com.yammer.metrics.core.Meter
 
processWith(MetricProcessor<T>, MetricName, T) - Method in interface com.yammer.metrics.core.Metric
Allow the given MetricProcessor to process this as a metric.
processWith(MetricProcessor<T>, MetricName, T) - Method in class com.yammer.metrics.core.Timer
 

R

rate(TimeUnit) - Method in class com.yammer.metrics.stats.EWMA
Returns the rate in the given units of time.
rateUnit() - Method in class com.yammer.metrics.core.Meter
 
rateUnit() - Method in interface com.yammer.metrics.core.Metered
Returns the meter's rate unit.
rateUnit() - Method in class com.yammer.metrics.core.Timer
 
RatioGauge - Class in com.yammer.metrics.util
A gauge which measures the ratio of one value to another.
RatioGauge() - Constructor for class com.yammer.metrics.util.RatioGauge
 
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.
run() - Method in class com.yammer.metrics.reporting.AbstractPollingReporter
The method called when a a poll is scheduled to occur.
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.
Sampling - Interface in com.yammer.metrics.core
An object which samples values.
shutdown() - Method in class com.yammer.metrics.core.MetricsRegistry
Shut down this registry's thread pools.
shutdown() - Static method in class com.yammer.metrics.Metrics
Shuts down all thread pools for the default registry.
shutdown(long, TimeUnit) - Method in class com.yammer.metrics.reporting.AbstractPollingReporter
Shuts down the reporter polling, waiting the specific amount of time for any current polls to complete.
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
Stops the default instance of JmxReporter.
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.Snapshot
Returns the number of values in the snapshot.
size() - Method in class com.yammer.metrics.stats.UniformSample
 
Snapshot - Class in com.yammer.metrics.stats
A statistical snapshot of a Snapshot.
Snapshot(Collection<Long>) - Constructor for class com.yammer.metrics.stats.Snapshot
Create a new Snapshot with the given values.
Snapshot(double[]) - Constructor for class com.yammer.metrics.stats.Snapshot
Create a new Snapshot with the given values.
start(long, TimeUnit) - Method in class com.yammer.metrics.reporting.AbstractPollingReporter
Starts the reporter polling at the given period.
start(long, TimeUnit) - Method in class com.yammer.metrics.reporting.CsvReporter
 
start() - Method in class com.yammer.metrics.reporting.JmxReporter
Starts the reporter.
startDefault(MetricsRegistry) - Static method in class com.yammer.metrics.reporting.JmxReporter
Starts the default instance of JmxReporter.
stdDev() - Method in class com.yammer.metrics.core.Histogram
 
stdDev() - Method in interface com.yammer.metrics.core.Summarizable
Returns the standard deviation of all recorded values.
stdDev() - Method in class com.yammer.metrics.core.Timer
Returns the standard deviation of all recorded durations.
stop() - Method in class com.yammer.metrics.core.Meter
 
stop() - Method in interface com.yammer.metrics.core.Stoppable
Stop the instance.
stop() - Method in class com.yammer.metrics.core.Timer
 
stop() - Method in class com.yammer.metrics.core.TimerContext
Stops recording the elapsed time and updates the timer.
Stoppable - Interface in com.yammer.metrics.core
Interface for Metric instances that can be stopped.
sum() - Method in class com.yammer.metrics.core.Histogram
 
sum() - Method in interface com.yammer.metrics.core.Summarizable
Returns the sum of all recorded values.
sum() - Method in class com.yammer.metrics.core.Timer
Returns the sum of all recorded durations.
Summarizable - Interface in com.yammer.metrics.core
An object which can produce statistical summaries.

T

threadCount() - Method in class com.yammer.metrics.core.VirtualMachineMetrics
Returns the number of live threads (includes VirtualMachineMetrics.daemonThreadCount().
threadDump(OutputStream) - Method in class com.yammer.metrics.core.VirtualMachineMetrics
Dumps all of the threads' current information to an output stream.
threadStatePercentages() - 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.CpuTimeClock
 
tick() - Method in class com.yammer.metrics.core.Clock
Returns the current time tick.
tick() - Method in class com.yammer.metrics.core.Clock.UserTimeClock
 
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
Returns the current time in milliseconds.
time(Callable<T>) - Method in class com.yammer.metrics.core.Timer
Times and records the duration of event.
time() - Method in class com.yammer.metrics.core.Timer
Returns a timing TimerContext, which measures an elapsed time in nanoseconds.
Timer - Class in com.yammer.metrics.core
A timer metric which aggregates timing durations and provides duration statistics, plus throughput statistics via Meter.
TimerContext - Class in com.yammer.metrics.core
A timing context.
ToggleGauge - Class in com.yammer.metrics.util
Returns a 1 the first time it's called, a 0 every time after that.
ToggleGauge() - Constructor for class com.yammer.metrics.util.ToggleGauge
 
toString() - Method in class com.yammer.metrics.core.HealthCheck.Result
 
toString() - Method in class com.yammer.metrics.core.MetricName
 
totalCommitted() - Method in class com.yammer.metrics.core.VirtualMachineMetrics
Returns the total memory committed to the JVM.
totalInit() - Method in class com.yammer.metrics.core.VirtualMachineMetrics
Returns the total initial memory of the current JVM.
totalMax() - Method in class com.yammer.metrics.core.VirtualMachineMetrics
Returns the total memory currently used by the current JVM.
totalUsed() - Method in class com.yammer.metrics.core.VirtualMachineMetrics
Returns the total memory currently used by the current JVM.

U

uncaughtException(Thread, Throwable) - Method in class com.yammer.metrics.util.DeathRattleExceptionHandler
 
unhealthy(String) - Static method in class com.yammer.metrics.core.HealthCheck.Result
Returns an unhealthy HealthCheck.Result with the given message.
unhealthy(Throwable) - Static method in class com.yammer.metrics.core.HealthCheck.Result
Returns an unhealthy HealthCheck.Result with the given error.
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.
unregister(HealthCheck) - Method in class com.yammer.metrics.core.HealthCheckRegistry
Unregisters the given HealthCheck.
update(int) - Method in class com.yammer.metrics.core.Histogram
Adds a recorded value.
update(long) - Method in class com.yammer.metrics.core.Histogram
Adds a recorded value.
update(long, TimeUnit) - Method in class com.yammer.metrics.core.Timer
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() - Method in class com.yammer.metrics.core.VirtualMachineMetrics
Returns the number of seconds the JVM process has been running.

V

value() - Method in class com.yammer.metrics.core.Gauge
Returns the metric's current value.
value() - Method in class com.yammer.metrics.util.JmxGauge
 
value() - Method in class com.yammer.metrics.util.PercentGauge
 
value() - Method in class com.yammer.metrics.util.RatioGauge
 
value() - Method in class com.yammer.metrics.util.ToggleGauge
 
values() - Method in interface com.yammer.metrics.reporting.JmxReporter.HistogramMBean
 
version() - Method in class com.yammer.metrics.core.VirtualMachineMetrics
Returns the version of the currently-running jvm.
VirtualMachineMetrics - Class in com.yammer.metrics.core
A collection of Java Virtual Machine metrics.
VirtualMachineMetrics.BufferPoolStats - Class in com.yammer.metrics.core
The management interface for a buffer pool, for example a pool of direct or mapped buffers.
VirtualMachineMetrics.GarbageCollectorStats - Class in com.yammer.metrics.core
Per-GC statistics.

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

Copyright © 2012. All Rights Reserved.