- 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
-
- ConsoleReporter(MetricsRegistry, PrintStream, MetricPredicate, Clock, TimeZone) - Constructor for class com.yammer.metrics.reporting.ConsoleReporter
-
- ConsoleReporter(MetricsRegistry, PrintStream, MetricPredicate, Clock, TimeZone, Locale) - Constructor for class com.yammer.metrics.reporting.ConsoleReporter
-
- 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
-
- CsvReporter(MetricsRegistry, MetricPredicate, File) - Constructor for class com.yammer.metrics.reporting.CsvReporter
-
- CsvReporter(MetricsRegistry, MetricPredicate, File, Clock) - Constructor for class com.yammer.metrics.reporting.CsvReporter
-
- CsvReporter.Context - Interface in com.yammer.metrics.reporting
-
The context used to output metrics.
- 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
-
- 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
-
- 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.
- 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
-
- MetricName(String, String, String) - Constructor for class com.yammer.metrics.core.MetricName
-
- MetricName(Class<?>, String, String) - Constructor for class com.yammer.metrics.core.MetricName
-
- MetricName(String, String, String, String) - Constructor for class com.yammer.metrics.core.MetricName
-
- MetricName(String, String, String, String, String) - Constructor for class com.yammer.metrics.core.MetricName
-
- 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
-
- MetricsRegistry(Clock) - Constructor for class com.yammer.metrics.core.MetricsRegistry
-
- 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.
- 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
-
- 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
-
- 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
-
- 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.