- CachedGauge<T> - Class in com.codahale.metrics
-
A
Gauge
implementation which caches its value for a period of time.
- CachedGauge(long, TimeUnit) - Constructor for class com.codahale.metrics.CachedGauge
-
Creates a new cached gauge with the given timeout period.
- CachedGauge(Clock, long, TimeUnit) - Constructor for class com.codahale.metrics.CachedGauge
-
Creates a new cached gauge with the given clock and timeout period.
- clear() - Static method in class com.codahale.metrics.SharedMetricRegistries
-
- Clock - Class in com.codahale.metrics
-
An abstraction for how time passes.
- Clock() - Constructor for class com.codahale.metrics.Clock
-
- Clock.CpuTimeClock - Class in com.codahale.metrics
-
A clock implementation which returns the current thread's CPU time.
- Clock.UserTimeClock - Class in com.codahale.metrics
-
A clock implementation which returns the current time in epoch nanoseconds.
- close() - Method in class com.codahale.metrics.JmxReporter
-
Stops the reporter.
- close() - Method in class com.codahale.metrics.ScheduledReporter
-
Stops the reporter and shuts down its thread of execution.
- close() - Method in class com.codahale.metrics.Timer.Context
-
- com.codahale.metrics - package com.codahale.metrics
-
- ConsoleReporter - Class in com.codahale.metrics
-
A reporter which outputs measurements to a
PrintStream
, like
System.out
.
- ConsoleReporter.Builder - Class in com.codahale.metrics
-
- convertDuration(double) - Method in class com.codahale.metrics.ScheduledReporter
-
- convertDurationsTo(TimeUnit) - Method in class com.codahale.metrics.ConsoleReporter.Builder
-
Convert durations to the given time unit.
- convertDurationsTo(TimeUnit) - Method in class com.codahale.metrics.CsvReporter.Builder
-
Convert durations to the given time unit.
- convertDurationsTo(TimeUnit) - Method in class com.codahale.metrics.JmxReporter.Builder
-
Convert durations to the given time unit.
- convertDurationsTo(TimeUnit) - Method in class com.codahale.metrics.Slf4jReporter.Builder
-
Convert durations to the given time unit.
- convertRate(double) - Method in class com.codahale.metrics.ScheduledReporter
-
- convertRatesTo(TimeUnit) - Method in class com.codahale.metrics.ConsoleReporter.Builder
-
Convert rates to the given time unit.
- convertRatesTo(TimeUnit) - Method in class com.codahale.metrics.CsvReporter.Builder
-
Convert rates to the given time unit.
- convertRatesTo(TimeUnit) - Method in class com.codahale.metrics.JmxReporter.Builder
-
Convert rates to the given time unit.
- convertRatesTo(TimeUnit) - Method in class com.codahale.metrics.Slf4jReporter.Builder
-
Convert rates to the given time unit.
- Counter - Class in com.codahale.metrics
-
An incrementing and decrementing counter metric.
- Counter() - Constructor for class com.codahale.metrics.Counter
-
- counter(String) - Method in class com.codahale.metrics.MetricRegistry
-
Return the
Counter
registered under this name; or create and register
a new
Counter
if none is registered.
- Counting - Interface in com.codahale.metrics
-
An interface for metric types which have counts.
- CpuTimeClock() - Constructor for class com.codahale.metrics.Clock.CpuTimeClock
-
- createName(String, String, String) - Method in class com.codahale.metrics.DefaultObjectNameFactory
-
- createName(String, String, String) - Method in interface com.codahale.metrics.ObjectNameFactory
-
- createsObjectNamesWith(ObjectNameFactory) - Method in class com.codahale.metrics.JmxReporter.Builder
-
- CsvReporter - Class in com.codahale.metrics
-
A reporter which creates a comma-separated values file of the measurements for each metric.
- CsvReporter.Builder - Class in com.codahale.metrics
-
- Gauge<T> - Interface in com.codahale.metrics
-
A gauge metric is an instantaneous reading of a particular value.
- get50thPercentile() - Method in interface com.codahale.metrics.JmxReporter.JmxHistogramMBean
-
- get50thPercentile() - Method in interface com.codahale.metrics.JmxReporter.JmxTimerMBean
-
- get75thPercentile() - Method in interface com.codahale.metrics.JmxReporter.JmxHistogramMBean
-
- get75thPercentile() - Method in interface com.codahale.metrics.JmxReporter.JmxTimerMBean
-
- get75thPercentile() - Method in class com.codahale.metrics.Snapshot
-
Returns the value at the 75th percentile in the distribution.
- get95thPercentile() - Method in interface com.codahale.metrics.JmxReporter.JmxHistogramMBean
-
- get95thPercentile() - Method in interface com.codahale.metrics.JmxReporter.JmxTimerMBean
-
- get95thPercentile() - Method in class com.codahale.metrics.Snapshot
-
Returns the value at the 95th percentile in the distribution.
- get98thPercentile() - Method in interface com.codahale.metrics.JmxReporter.JmxHistogramMBean
-
- get98thPercentile() - Method in interface com.codahale.metrics.JmxReporter.JmxTimerMBean
-
- get98thPercentile() - Method in class com.codahale.metrics.Snapshot
-
Returns the value at the 98th percentile in the distribution.
- get999thPercentile() - Method in interface com.codahale.metrics.JmxReporter.JmxHistogramMBean
-
- get999thPercentile() - Method in interface com.codahale.metrics.JmxReporter.JmxTimerMBean
-
- get999thPercentile() - Method in class com.codahale.metrics.Snapshot
-
Returns the value at the 99.9th percentile in the distribution.
- get99thPercentile() - Method in interface com.codahale.metrics.JmxReporter.JmxHistogramMBean
-
- get99thPercentile() - Method in interface com.codahale.metrics.JmxReporter.JmxTimerMBean
-
- get99thPercentile() - Method in class com.codahale.metrics.Snapshot
-
Returns the value at the 99th percentile in the distribution.
- getCount() - Method in class com.codahale.metrics.Counter
-
Returns the counter's current value.
- getCount() - Method in interface com.codahale.metrics.Counting
-
Returns the current count.
- getCount() - Method in class com.codahale.metrics.Histogram
-
Returns the number of values recorded.
- getCount() - Method in interface com.codahale.metrics.JmxReporter.JmxCounterMBean
-
- getCount() - Method in interface com.codahale.metrics.JmxReporter.JmxHistogramMBean
-
- getCount() - Method in interface com.codahale.metrics.JmxReporter.JmxMeterMBean
-
- getCount() - Method in class com.codahale.metrics.Meter
-
- getCount() - Method in interface com.codahale.metrics.Metered
-
Returns the number of events which have been marked.
- getCount() - Method in class com.codahale.metrics.Timer
-
- getCounters() - Method in class com.codahale.metrics.MetricRegistry
-
Returns a map of all the counters in the registry and their names.
- getCounters(MetricFilter) - Method in class com.codahale.metrics.MetricRegistry
-
Returns a map of all the counters in the registry and their names which match the given
filter.
- getDurationUnit() - Method in interface com.codahale.metrics.JmxReporter.JmxTimerMBean
-
- getDurationUnit() - Method in class com.codahale.metrics.ScheduledReporter
-
- getFifteenMinuteRate() - Method in interface com.codahale.metrics.JmxReporter.JmxMeterMBean
-
- getFifteenMinuteRate() - Method in class com.codahale.metrics.Meter
-
- getFifteenMinuteRate() - Method in interface com.codahale.metrics.Metered
-
Returns the fifteen-minute exponentially-weighted moving average rate at which events have
occurred since the meter was created.
- getFifteenMinuteRate() - Method in class com.codahale.metrics.Timer
-
- getFiveMinuteRate() - Method in interface com.codahale.metrics.JmxReporter.JmxMeterMBean
-
- getFiveMinuteRate() - Method in class com.codahale.metrics.Meter
-
- getFiveMinuteRate() - Method in interface com.codahale.metrics.Metered
-
Returns the five-minute exponentially-weighted moving average rate at which events have
occurred since the meter was created.
- getFiveMinuteRate() - Method in class com.codahale.metrics.Timer
-
- getGauges() - Method in class com.codahale.metrics.MetricRegistry
-
Returns a map of all the gauges in the registry and their names.
- getGauges(MetricFilter) - Method in class com.codahale.metrics.MetricRegistry
-
Returns a map of all the gauges in the registry and their names which match the given filter.
- getHistograms() - Method in class com.codahale.metrics.MetricRegistry
-
Returns a map of all the histograms in the registry and their names.
- getHistograms(MetricFilter) - Method in class com.codahale.metrics.MetricRegistry
-
Returns a map of all the histograms in the registry and their names which match the given
filter.
- getMax() - Method in interface com.codahale.metrics.JmxReporter.JmxHistogramMBean
-
- getMax() - Method in interface com.codahale.metrics.JmxReporter.JmxTimerMBean
-
- getMax() - Method in class com.codahale.metrics.Snapshot
-
Returns the highest value in the snapshot.
- getMax() - Method in class com.codahale.metrics.UniformSnapshot
-
Returns the highest value in the snapshot.
- getMax() - Method in class com.codahale.metrics.WeightedSnapshot
-
Returns the highest value in the snapshot.
- getMean() - Method in interface com.codahale.metrics.JmxReporter.JmxHistogramMBean
-
- getMean() - Method in interface com.codahale.metrics.JmxReporter.JmxTimerMBean
-
- getMean() - Method in class com.codahale.metrics.Snapshot
-
Returns the arithmetic mean of the values in the snapshot.
- getMean() - Method in class com.codahale.metrics.UniformSnapshot
-
Returns the arithmetic mean of the values in the snapshot.
- getMean() - Method in class com.codahale.metrics.WeightedSnapshot
-
Returns the weighted arithmetic mean of the values in the snapshot.
- getMeanRate() - Method in interface com.codahale.metrics.JmxReporter.JmxMeterMBean
-
- getMeanRate() - Method in class com.codahale.metrics.Meter
-
- getMeanRate() - Method in interface com.codahale.metrics.Metered
-
Returns the mean rate at which events have occurred since the meter was created.
- getMeanRate() - Method in class com.codahale.metrics.Timer
-
- getMedian() - Method in class com.codahale.metrics.Snapshot
-
Returns the median value in the distribution.
- getMeters() - Method in class com.codahale.metrics.MetricRegistry
-
Returns a map of all the meters in the registry and their names.
- getMeters(MetricFilter) - Method in class com.codahale.metrics.MetricRegistry
-
Returns a map of all the meters in the registry and their names which match the given filter.
- getMetrics() - Method in class com.codahale.metrics.JvmAttributeGaugeSet
-
- getMetrics() - Method in class com.codahale.metrics.MetricRegistry
-
- getMetrics() - Method in interface com.codahale.metrics.MetricSet
-
A map of metric names to metrics.
- getMin() - Method in interface com.codahale.metrics.JmxReporter.JmxHistogramMBean
-
- getMin() - Method in interface com.codahale.metrics.JmxReporter.JmxTimerMBean
-
- getMin() - Method in class com.codahale.metrics.Snapshot
-
Returns the lowest value in the snapshot.
- getMin() - Method in class com.codahale.metrics.UniformSnapshot
-
Returns the lowest value in the snapshot.
- getMin() - Method in class com.codahale.metrics.WeightedSnapshot
-
Returns the lowest value in the snapshot.
- getNames() - Method in class com.codahale.metrics.MetricRegistry
-
Returns a set of the names of all the metrics in the registry.
- getOneMinuteRate() - Method in interface com.codahale.metrics.JmxReporter.JmxMeterMBean
-
- getOneMinuteRate() - Method in class com.codahale.metrics.Meter
-
- getOneMinuteRate() - Method in interface com.codahale.metrics.Metered
-
Returns the one-minute exponentially-weighted moving average rate at which events have
occurred since the meter was created.
- getOneMinuteRate() - Method in class com.codahale.metrics.Timer
-
- getOrCreate(String) - Static method in class com.codahale.metrics.SharedMetricRegistries
-
- getRate(TimeUnit) - Method in class com.codahale.metrics.EWMA
-
Returns the rate in the given units of time.
- getRateUnit() - Method in interface com.codahale.metrics.JmxReporter.JmxMeterMBean
-
- getRateUnit() - Method in class com.codahale.metrics.ScheduledReporter
-
- getRateUnit() - Method in class com.codahale.metrics.Slf4jReporter
-
- getRatio() - Method in class com.codahale.metrics.RatioGauge
-
- getSnapshot() - Method in class com.codahale.metrics.ExponentiallyDecayingReservoir
-
- getSnapshot() - Method in class com.codahale.metrics.Histogram
-
- getSnapshot() - Method in interface com.codahale.metrics.Reservoir
-
Returns a snapshot of the reservoir's values.
- getSnapshot() - Method in interface com.codahale.metrics.Sampling
-
Returns a snapshot of the values.
- getSnapshot() - Method in class com.codahale.metrics.SlidingTimeWindowReservoir
-
- getSnapshot() - Method in class com.codahale.metrics.SlidingWindowReservoir
-
- getSnapshot() - Method in class com.codahale.metrics.Timer
-
- getSnapshot() - Method in class com.codahale.metrics.UniformReservoir
-
- getStdDev() - Method in interface com.codahale.metrics.JmxReporter.JmxHistogramMBean
-
- getStdDev() - Method in interface com.codahale.metrics.JmxReporter.JmxTimerMBean
-
- getStdDev() - Method in class com.codahale.metrics.Snapshot
-
Returns the standard deviation of the values in the snapshot.
- getStdDev() - Method in class com.codahale.metrics.UniformSnapshot
-
Returns the standard deviation of the values in the snapshot.
- getStdDev() - Method in class com.codahale.metrics.WeightedSnapshot
-
Returns the weighted standard deviation of the values in the snapshot.
- getTick() - Method in class com.codahale.metrics.Clock.CpuTimeClock
-
- getTick() - Method in class com.codahale.metrics.Clock
-
Returns the current time tick.
- getTick() - Method in class com.codahale.metrics.Clock.UserTimeClock
-
- getTime() - Method in class com.codahale.metrics.Clock
-
Returns the current time in milliseconds.
- getTimers() - Method in class com.codahale.metrics.MetricRegistry
-
Returns a map of all the timers in the registry and their names.
- getTimers(MetricFilter) - Method in class com.codahale.metrics.MetricRegistry
-
Returns a map of all the timers in the registry and their names which match the given filter.
- getValue() - Method in class com.codahale.metrics.CachedGauge
-
- getValue() - Method in class com.codahale.metrics.DerivativeGauge
-
- getValue() - Method in interface com.codahale.metrics.Gauge
-
Returns the metric's current value.
- getValue() - Method in class com.codahale.metrics.JmxAttributeGauge
-
- getValue() - Method in interface com.codahale.metrics.JmxReporter.JmxGaugeMBean
-
- getValue() - Method in class com.codahale.metrics.RatioGauge
-
- getValue() - Method in class com.codahale.metrics.RatioGauge.Ratio
-
Returns the ratio, which is either a double
between 0 and 1 (inclusive) or
NaN
.
- getValue(double) - Method in class com.codahale.metrics.Snapshot
-
Returns the value at the given quantile.
- getValue(double) - Method in class com.codahale.metrics.UniformSnapshot
-
Returns the value at the given quantile.
- getValue(double) - Method in class com.codahale.metrics.WeightedSnapshot
-
Returns the value at the given quantile.
- getValues() - Method in class com.codahale.metrics.Snapshot
-
Returns the entire set of values in the snapshot.
- getValues() - Method in class com.codahale.metrics.UniformSnapshot
-
Returns the entire set of values in the snapshot.
- getValues() - Method in class com.codahale.metrics.WeightedSnapshot
-
Returns the entire set of values in the snapshot.