- Gauge<T> - Interface in com.codahale.metrics
-
A gauge metric is an instantaneous reading of a particular value.
- gauge(String, MetricRegistry.MetricSupplier<Gauge>) - Method in class com.codahale.metrics.MetricRegistry
-
Return the
Gauge
registered under this name; or create and register
a new
Gauge
using the provided MetricSupplier if none is registered.
- get75thPercentile() - Method in class com.codahale.metrics.Snapshot
-
Returns the value at the 75th percentile in the distribution.
- get95thPercentile() - Method in class com.codahale.metrics.Snapshot
-
Returns the value at the 95th percentile in the distribution.
- get98thPercentile() - Method in class com.codahale.metrics.Snapshot
-
Returns the value at the 98th percentile in the distribution.
- get999thPercentile() - Method in class com.codahale.metrics.Snapshot
-
Returns the value at the 99.9th percentile in the distribution.
- get99thPercentile() - Method in class com.codahale.metrics.Snapshot
-
Returns the value at the 99th percentile in the distribution.
- getCode() - Method in enum com.codahale.metrics.MetricAttribute
-
- 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 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.
- getDefault() - Static method in class com.codahale.metrics.SharedMetricRegistries
-
Gets the name of the default registry, if it has been set
- getDisabledMetricAttributes() - Method in class com.codahale.metrics.ScheduledReporter
-
- getDurationUnit() - Method in class com.codahale.metrics.ScheduledReporter
-
- 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
-
- getFile(File, String) - Method in interface com.codahale.metrics.CsvFileProvider
-
- getFile(File, String) - Method in class com.codahale.metrics.FixedNameCsvFileProvider
-
- 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 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 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 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.MetricRegistry
-
- getMetrics() - Method in interface com.codahale.metrics.MetricSet
-
A map of metric names to metrics.
- 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 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 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.SlidingTimeWindowArrayReservoir
-
- 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 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
-
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.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.
- Sampling - Interface in com.codahale.metrics
-
An object which samples values.
- sanitize(String) - Method in class com.codahale.metrics.CsvReporter
-
- sanitize(String) - Method in class com.codahale.metrics.FixedNameCsvFileProvider
-
- schedule(Runnable, long, TimeUnit) - Method in class com.codahale.metrics.InstrumentedScheduledExecutorService
- schedule(Callable<V>, long, TimeUnit) - Method in class com.codahale.metrics.InstrumentedScheduledExecutorService
- scheduleAtFixedRate(Runnable, long, long, TimeUnit) - Method in class com.codahale.metrics.InstrumentedScheduledExecutorService
- ScheduledReporter - Class in com.codahale.metrics
-
The abstract base class for all scheduled reporters (i.e., reporters which process a registry's
metrics periodically).
- ScheduledReporter(MetricRegistry, String, MetricFilter, TimeUnit, TimeUnit) - Constructor for class com.codahale.metrics.ScheduledReporter
-
- ScheduledReporter(MetricRegistry, String, MetricFilter, TimeUnit, TimeUnit, ScheduledExecutorService) - Constructor for class com.codahale.metrics.ScheduledReporter
-
- ScheduledReporter(MetricRegistry, String, MetricFilter, TimeUnit, TimeUnit, ScheduledExecutorService, boolean) - Constructor for class com.codahale.metrics.ScheduledReporter
-
- ScheduledReporter(MetricRegistry, String, MetricFilter, TimeUnit, TimeUnit, ScheduledExecutorService, boolean, Set<MetricAttribute>) - Constructor for class com.codahale.metrics.ScheduledReporter
-
- scheduleOn(ScheduledExecutorService) - Method in class com.codahale.metrics.ConsoleReporter.Builder
-
Specifies the executor to use while scheduling reporting of metrics.
- scheduleOn(ScheduledExecutorService) - Method in class com.codahale.metrics.CsvReporter.Builder
-
Specifies the executor to use while scheduling reporting of metrics.
- scheduleOn(ScheduledExecutorService) - Method in class com.codahale.metrics.Slf4jReporter.Builder
-
Specifies the executor to use while scheduling reporting of metrics.
- scheduleWithFixedDelay(Runnable, long, long, TimeUnit) - Method in class com.codahale.metrics.InstrumentedScheduledExecutorService
- setDefault(String) - Static method in class com.codahale.metrics.SharedMetricRegistries
-
Creates a new registry and sets it as the default one under the provided name.
- setDefault(String, MetricRegistry) - Static method in class com.codahale.metrics.SharedMetricRegistries
-
Sets the provided registry as the default one under the provided name
- SharedMetricRegistries - Class in com.codahale.metrics
-
A map of shared, named metric registries.
- shutdown() - Method in class com.codahale.metrics.InstrumentedExecutorService
-
- shutdown() - Method in class com.codahale.metrics.InstrumentedScheduledExecutorService
- shutdownExecutorOnStop(boolean) - Method in class com.codahale.metrics.ConsoleReporter.Builder
-
Specifies whether or not, the executor (used for reporting) will be stopped with same time with reporter.
- shutdownExecutorOnStop(boolean) - Method in class com.codahale.metrics.CsvReporter.Builder
-
Specifies whether or not, the executor (used for reporting) will be stopped with same time with reporter.
- shutdownExecutorOnStop(boolean) - Method in class com.codahale.metrics.Slf4jReporter.Builder
-
Specifies whether or not, the executor (used for reporting) will be stopped with same time with reporter.
- shutdownNow() - Method in class com.codahale.metrics.InstrumentedExecutorService
-
- shutdownNow() - Method in class com.codahale.metrics.InstrumentedScheduledExecutorService
- size() - Method in class com.codahale.metrics.ExponentiallyDecayingReservoir
-
- size() - Method in interface com.codahale.metrics.Reservoir
-
Returns the number of values recorded.
- size() - Method in class com.codahale.metrics.SlidingTimeWindowArrayReservoir
-
- size() - Method in class com.codahale.metrics.SlidingTimeWindowReservoir
-
- size() - Method in class com.codahale.metrics.SlidingWindowReservoir
-
- size() - Method in class com.codahale.metrics.Snapshot
-
Returns the number of values in the snapshot.
- size() - Method in class com.codahale.metrics.UniformReservoir
-
- size() - Method in class com.codahale.metrics.UniformSnapshot
-
Returns the number of values in the snapshot.
- size() - Method in class com.codahale.metrics.WeightedSnapshot
-
Returns the number of values in the snapshot.
- Slf4jReporter - Class in com.codahale.metrics
-
A reporter class for logging metrics values to a SLF4J
Logger
periodically, similar to
ConsoleReporter
or
CsvReporter
, but using the SLF4J framework instead.
- Slf4jReporter.Builder - Class in com.codahale.metrics
-
- Slf4jReporter.LoggingLevel - Enum in com.codahale.metrics
-
- SlidingTimeWindowArrayReservoir - Class in com.codahale.metrics
-
A
Reservoir
implementation backed by a sliding window that stores only the measurements made
in the last
N
seconds (or other time unit).
- SlidingTimeWindowArrayReservoir(long, TimeUnit) - Constructor for class com.codahale.metrics.SlidingTimeWindowArrayReservoir
-
- SlidingTimeWindowArrayReservoir(long, TimeUnit, Clock) - Constructor for class com.codahale.metrics.SlidingTimeWindowArrayReservoir
-
- SlidingTimeWindowReservoir - Class in com.codahale.metrics
-
A
Reservoir
implementation backed by a sliding window that stores only the measurements made
in the last
N
seconds (or other time unit).
- SlidingTimeWindowReservoir(long, TimeUnit) - Constructor for class com.codahale.metrics.SlidingTimeWindowReservoir
-
- SlidingTimeWindowReservoir(long, TimeUnit, Clock) - Constructor for class com.codahale.metrics.SlidingTimeWindowReservoir
-
- SlidingWindowReservoir - Class in com.codahale.metrics
-
A
Reservoir
implementation backed by a sliding window that stores the last
N
measurements.
- SlidingWindowReservoir(int) - Constructor for class com.codahale.metrics.SlidingWindowReservoir
-
- Snapshot - Class in com.codahale.metrics
-
- Snapshot() - Constructor for class com.codahale.metrics.Snapshot
-
- start(long, TimeUnit) - Method in class com.codahale.metrics.ScheduledReporter
-
Starts the reporter polling at the given period.
- start(long, long, TimeUnit) - Method in class com.codahale.metrics.ScheduledReporter
-
Starts the reporter polling at the given period.
- startsWith(String) - Static method in interface com.codahale.metrics.MetricFilter
-
- stop() - Method in class com.codahale.metrics.ScheduledReporter
-
Stops the reporter and if shutdownExecutorOnStop is true then shuts down its thread of execution.
- stop() - Method in class com.codahale.metrics.Timer.Context
-
Updates the timer with the difference between current and start time.
- submit(Runnable) - Method in class com.codahale.metrics.InstrumentedExecutorService
- submit(Runnable, T) - Method in class com.codahale.metrics.InstrumentedExecutorService
- submit(Callable<T>) - Method in class com.codahale.metrics.InstrumentedExecutorService
- submit(Callable<T>) - Method in class com.codahale.metrics.InstrumentedScheduledExecutorService
- submit(Runnable, T) - Method in class com.codahale.metrics.InstrumentedScheduledExecutorService
- submit(Runnable) - Method in class com.codahale.metrics.InstrumentedScheduledExecutorService