A B C D E F G H I J L M N O P Q R S T U V W 
All Classes All Packages

A

absolute() - Method in annotation type com.codahale.metrics.annotation.ExceptionMetered
If true, use the given name as an absolute name.
absolute() - Method in annotation type com.codahale.metrics.annotation.Gauge
If true, use the given name as an absolute name.
absolute() - Method in annotation type com.codahale.metrics.annotation.Metered
If true, use the given name as an absolute name.
absolute() - Method in annotation type com.codahale.metrics.annotation.Timed
If true, use the given name as an absolute name.
AbstractBean(ObjectName) - Constructor for class com.codahale.metrics.JmxReporter.AbstractBean
 
AbstractInstrumentedFilter - Class in com.codahale.metrics.servlet
Filter implementation which captures request information and a breakdown of the response codes being returned.
AbstractInstrumentedFilter(String, Map<Integer, String>, String) - Constructor for class com.codahale.metrics.servlet.AbstractInstrumentedFilter
Creates a new instance of the filter.
AbstractInstrumentedFilter.StatusExposingServletResponse - Class in com.codahale.metrics.servlet
 
activateOptions() - Method in class com.codahale.metrics.log4j.InstrumentedAppender
 
activeRequests - Variable in class com.codahale.metrics.servlet.AbstractInstrumentedFilter
 
add(long) - Method in class com.codahale.metrics.LongAdder
Adds the given value.
add(String, MetricRegistry) - Static method in class com.codahale.metrics.SharedMetricRegistries
 
addend - Static variable in class com.codahale.metrics.ThreadLocalRandom
 
addListener(MetricRegistryListener) - Method in class com.codahale.metrics.MetricRegistry
Adds a MetricRegistryListener to a collection of listeners that will be notified on metric creation.
address - Variable in class com.codahale.metrics.graphite.Graphite
 
AdminServlet - Class in com.codahale.metrics.servlets
 
AdminServlet() - Constructor for class com.codahale.metrics.servlets.AdminServlet
 
AdminServletContextListener - Class in com.codahale.metrics.servlets
AdminServletContextListener() - Constructor for class com.codahale.metrics.servlets.AdminServletContextListener
Deprecated.
 
all - Variable in class com.codahale.metrics.log4j.InstrumentedAppender
 
all - Variable in class com.codahale.metrics.logback.InstrumentedAppender
 
ALL - Static variable in interface com.codahale.metrics.MetricFilter
Matches all metrics, regardless of type or name.
ALLOWED_ORIGIN - Static variable in class com.codahale.metrics.servlets.MetricsServlet
 
allowedOrigin - Variable in class com.codahale.metrics.servlets.MetricsServlet
 
alpha - Variable in class com.codahale.metrics.EWMA
 
alpha - Variable in class com.codahale.metrics.ExponentiallyDecayingReservoir
 
append(ILoggingEvent) - Method in class com.codahale.metrics.logback.InstrumentedAppender
 
append(StringBuilder, String) - Static method in class com.codahale.metrics.MetricRegistry
 
append(LoggingEvent) - Method in class com.codahale.metrics.log4j.InstrumentedAppender
 
attributeName - Variable in class com.codahale.metrics.JmxAttributeGauge
 
ATTRIBUTES - Static variable in class com.codahale.metrics.jvm.BufferPoolMetricSet
 

B

BAD_REQUEST - Static variable in class com.codahale.metrics.servlet.InstrumentedFilter
 
base - Variable in class com.codahale.metrics.DerivativeGauge
 
base - Variable in class com.codahale.metrics.Striped64
Base value, used mainly when there is no contention, but also as a fallback during table initialization races.
Base() - Constructor for class com.codahale.metrics.MetricRegistryListener.Base
 
baseOffset - Static variable in class com.codahale.metrics.Striped64
 
BITS_PER_LONG - Static variable in class com.codahale.metrics.UniformReservoir
 
BufferPoolMetricSet - Class in com.codahale.metrics.jvm
A set of gauges for the count, usage, and capacity of the JVM's direct and mapped buffer pools.
BufferPoolMetricSet(MBeanServer) - Constructor for class com.codahale.metrics.jvm.BufferPoolMetricSet
 
build() - Method in class com.codahale.metrics.ConsoleReporter.Builder
Builds a ConsoleReporter with the given properties.
build() - Method in class com.codahale.metrics.JmxReporter.Builder
Builds a JmxReporter with the given properties.
build() - Method in class com.codahale.metrics.Slf4jReporter.Builder
Builds a Slf4jReporter with the given properties.
build(Graphite) - Method in class com.codahale.metrics.graphite.GraphiteReporter.Builder
Builds a GraphiteReporter with the given properties, sending metrics using the given Graphite client.
build(File) - Method in class com.codahale.metrics.CsvReporter.Builder
Builds a CsvReporter with the given properties, writing .csv files to the given directory.
Builder(MetricRegistry) - Constructor for class com.codahale.metrics.ConsoleReporter.Builder
 
Builder(MetricRegistry) - Constructor for class com.codahale.metrics.CsvReporter.Builder
 
Builder(MetricRegistry) - Constructor for class com.codahale.metrics.graphite.GraphiteReporter.Builder
 
Builder(MetricRegistry) - Constructor for class com.codahale.metrics.JmxReporter.Builder
 
Builder(MetricRegistry) - Constructor for class com.codahale.metrics.Slf4jReporter.Builder
 
buildMap() - Method in class com.codahale.metrics.MetricRegistry
Creates a new ConcurrentMap implementation for use inside the registry.
busy - Variable in class com.codahale.metrics.Striped64
Spinlock (locked via CAS) used when resizing and/or creating Cells.
busyOffset - Static variable in class com.codahale.metrics.Striped64
 

C

CACHE_CONTROL - Static variable in class com.codahale.metrics.servlets.PingServlet
 
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.
calculateRateUnit(TimeUnit) - Method in class com.codahale.metrics.JmxReporter.JmxMeter
 
calculateRateUnit(TimeUnit) - Method in class com.codahale.metrics.ScheduledReporter
 
calculateRateUnit(TimeUnit, String) - Static method in class com.codahale.metrics.json.MetricsModule
 
cas(long, long) - Method in class com.codahale.metrics.Striped64.Cell
 
casBase(long, long) - Method in class com.codahale.metrics.Striped64
CASes the base field.
casBusy() - Method in class com.codahale.metrics.Striped64
CASes the busy field from 0 to 1 to acquire lock.
cause() - Method in annotation type com.codahale.metrics.annotation.ExceptionMetered
The type of exceptions that the meter will catch and count.
Cell(long) - Constructor for class com.codahale.metrics.Striped64.Cell
 
cells - Variable in class com.codahale.metrics.Striped64
Table of cells.
charset - Variable in class com.codahale.metrics.graphite.Graphite
 
check() - Method in class com.codahale.metrics.health.HealthCheck
Perform a check of the application component.
check() - Method in class com.codahale.metrics.health.jvm.ThreadDeadlockHealthCheck
 
clear() - Static method in class com.codahale.metrics.SharedMetricRegistries
 
clock - Variable in class com.codahale.metrics.CachedGauge
 
clock - Variable in class com.codahale.metrics.ConsoleReporter.Builder
 
clock - Variable in class com.codahale.metrics.ConsoleReporter
 
clock - Variable in class com.codahale.metrics.CsvReporter.Builder
 
clock - Variable in class com.codahale.metrics.CsvReporter
 
clock - Variable in class com.codahale.metrics.ExponentiallyDecayingReservoir
 
clock - Variable in class com.codahale.metrics.graphite.GraphiteReporter.Builder
 
clock - Variable in class com.codahale.metrics.graphite.GraphiteReporter
 
clock - Variable in class com.codahale.metrics.Meter
 
clock - Variable in class com.codahale.metrics.SlidingTimeWindowReservoir
 
clock - Variable in class com.codahale.metrics.Timer
 
clock - Variable in class com.codahale.metrics.Timer.Context
 
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.graphite.Graphite
 
close() - Method in class com.codahale.metrics.JmxReporter
Stops the reporter.
close() - Method in class com.codahale.metrics.log4j.InstrumentedAppender
 
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
 
code - Variable in class com.codahale.metrics.Striped64.HashCode
 
COLLISION_BUFFER - Static variable in class com.codahale.metrics.SlidingTimeWindowReservoir
 
com.codahale.metrics - package com.codahale.metrics
 
com.codahale.metrics.annotation - package com.codahale.metrics.annotation
 
com.codahale.metrics.graphite - package com.codahale.metrics.graphite
 
com.codahale.metrics.health - package com.codahale.metrics.health
 
com.codahale.metrics.health.jvm - package com.codahale.metrics.health.jvm
 
com.codahale.metrics.httpclient - package com.codahale.metrics.httpclient
 
com.codahale.metrics.json - package com.codahale.metrics.json
 
com.codahale.metrics.jvm - package com.codahale.metrics.jvm
 
com.codahale.metrics.log4j - package com.codahale.metrics.log4j
 
com.codahale.metrics.logback - package com.codahale.metrics.logback
 
com.codahale.metrics.servlet - package com.codahale.metrics.servlet
 
com.codahale.metrics.servlets - package com.codahale.metrics.servlets
 
connect() - Method in class com.codahale.metrics.graphite.Graphite
Connects to the server.
CONSOLE_WIDTH - Static variable in class com.codahale.metrics.ConsoleReporter
 
ConsoleReporter - Class in com.codahale.metrics
A reporter which outputs measurements to a PrintStream, like System.out.
ConsoleReporter(MetricRegistry, PrintStream, Locale, Clock, TimeZone, TimeUnit, TimeUnit, MetricFilter) - Constructor for class com.codahale.metrics.ConsoleReporter
 
ConsoleReporter.Builder - Class in com.codahale.metrics
A builder for ConsoleReporter instances.
CONTENT - Static variable in class com.codahale.metrics.servlets.PingServlet
 
CONTENT_TYPE - Static variable in class com.codahale.metrics.servlets.AdminServlet
 
CONTENT_TYPE - Static variable in class com.codahale.metrics.servlets.HealthCheckServlet
 
CONTENT_TYPE - Static variable in class com.codahale.metrics.servlets.MetricsServlet
 
CONTENT_TYPE - Static variable in class com.codahale.metrics.servlets.PingServlet
 
CONTENT_TYPE - Static variable in class com.codahale.metrics.servlets.ThreadDumpServlet
 
Context(Timer, Clock) - Constructor for class com.codahale.metrics.Timer.Context
 
contextDestroyed(ServletContextEvent) - Method in class com.codahale.metrics.servlet.InstrumentedFilterContextListener
 
contextDestroyed(ServletContextEvent) - Method in class com.codahale.metrics.servlets.AdminServletContextListener
Deprecated.
 
contextDestroyed(ServletContextEvent) - Method in class com.codahale.metrics.servlets.HealthCheckServlet.ContextListener
 
contextDestroyed(ServletContextEvent) - Method in class com.codahale.metrics.servlets.MetricsServlet.ContextListener
 
contextInitialized(ServletContextEvent) - Method in class com.codahale.metrics.servlet.InstrumentedFilterContextListener
 
contextInitialized(ServletContextEvent) - Method in class com.codahale.metrics.servlets.AdminServletContextListener
Deprecated.
 
contextInitialized(ServletContextEvent) - Method in class com.codahale.metrics.servlets.HealthCheckServlet.ContextListener
 
contextInitialized(ServletContextEvent) - Method in class com.codahale.metrics.servlets.MetricsServlet.ContextListener
 
ContextListener() - Constructor for class com.codahale.metrics.servlets.HealthCheckServlet.ContextListener
 
ContextListener() - Constructor for class com.codahale.metrics.servlets.MetricsServlet.ContextListener
 
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.graphite.GraphiteReporter.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.graphite.GraphiteReporter.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.
count - Variable in class com.codahale.metrics.Counter
 
count - Variable in class com.codahale.metrics.ExponentiallyDecayingReservoir
 
count - Variable in class com.codahale.metrics.Histogram
 
count - Variable in class com.codahale.metrics.Meter
 
count - Variable in class com.codahale.metrics.SlidingTimeWindowReservoir
 
count - Variable in class com.codahale.metrics.SlidingWindowReservoir
 
count - Variable in class com.codahale.metrics.UniformReservoir
 
counter(String) - Method in class com.codahale.metrics.MetricRegistry
Creates a new Counter and registers it under the given name.
Counter - Class in com.codahale.metrics
An incrementing and decrementing counter metric.
Counter() - Constructor for class com.codahale.metrics.Counter
 
COUNTERS - Static variable in interface com.codahale.metrics.MetricRegistry.MetricBuilder
 
CounterSerializer() - Constructor for class com.codahale.metrics.json.MetricsModule.CounterSerializer
 
Counting - Interface in com.codahale.metrics
An interface for metric types which have counts.
CpuTimeClock() - Constructor for class com.codahale.metrics.Clock.CpuTimeClock
 
createClientRequestDirector(HttpRequestExecutor, ClientConnectionManager, ConnectionReuseStrategy, ConnectionKeepAliveStrategy, HttpRoutePlanner, HttpProcessor, HttpRequestRetryHandler, RedirectStrategy, AuthenticationStrategy, AuthenticationStrategy, UserTokenHandler, HttpParams) - Method in class com.codahale.metrics.httpclient.InstrumentedHttpClient
 
CREATED - Static variable in class com.codahale.metrics.servlet.InstrumentedFilter
 
createMeterNamesByStatusCode() - Static method in class com.codahale.metrics.servlet.InstrumentedFilter
 
createName(String, String) - Method in class com.codahale.metrics.JmxReporter.JmxListener
 
CsvReporter - Class in com.codahale.metrics
A reporter which creates a comma-separated values file of the measurements for each metric.
CsvReporter(MetricRegistry, File, Locale, TimeUnit, TimeUnit, Clock, MetricFilter) - Constructor for class com.codahale.metrics.CsvReporter
 
CsvReporter.Builder - Class in com.codahale.metrics
A builder for CsvReporter instances.
current() - Static method in class com.codahale.metrics.ThreadLocalRandom
Returns the current thread's ThreadLocalRandom.
currentTimeInSeconds() - Method in class com.codahale.metrics.ExponentiallyDecayingReservoir
 

D

dateFormat - Variable in class com.codahale.metrics.ConsoleReporter
 
deadlockDetector - Variable in class com.codahale.metrics.jvm.ThreadStatesGaugeSet
 
debug - Variable in class com.codahale.metrics.log4j.InstrumentedAppender
 
debug - Variable in class com.codahale.metrics.logback.InstrumentedAppender
 
dec() - Method in class com.codahale.metrics.Counter
Decrement the counter by one.
dec(long) - Method in class com.codahale.metrics.Counter
Decrement the counter by n.
decrement() - Method in class com.codahale.metrics.LongAdder
Equivalent to add(-1).
DEFAULT - Static variable in class com.codahale.metrics.Clock
 
DEFAULT_ALPHA - Static variable in class com.codahale.metrics.ExponentiallyDecayingReservoir
 
DEFAULT_HEALTHCHECK_URI - Static variable in class com.codahale.metrics.servlets.AdminServlet
 
DEFAULT_METRICS_URI - Static variable in class com.codahale.metrics.servlets.AdminServlet
 
DEFAULT_NAME_SUFFIX - Static variable in annotation type com.codahale.metrics.annotation.ExceptionMetered
The default suffix for meter names.
DEFAULT_PING_URI - Static variable in class com.codahale.metrics.servlets.AdminServlet
 
DEFAULT_SIZE - Static variable in class com.codahale.metrics.ExponentiallyDecayingReservoir
 
DEFAULT_SIZE - Static variable in class com.codahale.metrics.UniformReservoir
 
DEFAULT_THREADS_URI - Static variable in class com.codahale.metrics.servlets.AdminServlet
 
defaultClock() - Static method in class com.codahale.metrics.Clock
The default clock to use.
defaultDuration - Variable in class com.codahale.metrics.JmxReporter.MetricTimeUnits
 
defaultRate - Variable in class com.codahale.metrics.JmxReporter.MetricTimeUnits
 
denominator - Variable in class com.codahale.metrics.RatioGauge.Ratio
 
DerivativeGauge<F,​T> - Class in com.codahale.metrics
A gauge whose value is derived from the value of another gauge.
DerivativeGauge(Gauge<F>) - Constructor for class com.codahale.metrics.DerivativeGauge
Creates a new derivative with the given base gauge.
destroy() - Method in class com.codahale.metrics.servlet.AbstractInstrumentedFilter
 
detector - Variable in class com.codahale.metrics.health.jvm.ThreadDeadlockHealthCheck
 
directory - Variable in class com.codahale.metrics.CsvReporter
 
doFilter(ServletRequest, ServletResponse, FilterChain) - Method in class com.codahale.metrics.servlet.AbstractInstrumentedFilter
 
doGet(HttpServletRequest, HttpServletResponse) - Method in class com.codahale.metrics.servlets.AdminServlet
 
doGet(HttpServletRequest, HttpServletResponse) - Method in class com.codahale.metrics.servlets.HealthCheckServlet
 
doGet(HttpServletRequest, HttpServletResponse) - Method in class com.codahale.metrics.servlets.MetricsServlet
 
doGet(HttpServletRequest, HttpServletResponse) - Method in class com.codahale.metrics.servlets.PingServlet
 
doGet(HttpServletRequest, HttpServletResponse) - Method in class com.codahale.metrics.servlets.ThreadDumpServlet
 
domain - Variable in class com.codahale.metrics.JmxReporter.Builder
 
doubleValue() - Method in class com.codahale.metrics.LongAdder
Returns the LongAdder.sum() as a double after a widening primitive conversion.
dump(OutputStream) - Method in class com.codahale.metrics.jvm.ThreadDump
Dumps all of the threads' current information to an output stream.
dump(OutputStream) - Method in class com.codahale.metrics.Snapshot
Writes the values of the snapshot to the given stream.
DURATION_UNIT - Static variable in class com.codahale.metrics.servlets.MetricsServlet
 
durationFactor - Variable in class com.codahale.metrics.JmxReporter.JmxTimer
 
durationFactor - Variable in class com.codahale.metrics.json.MetricsModule.TimerSerializer
 
durationFactor - Variable in class com.codahale.metrics.ScheduledReporter
 
durationFor(String) - Method in class com.codahale.metrics.JmxReporter.MetricTimeUnits
 
durationOverrides - Variable in class com.codahale.metrics.JmxReporter.MetricTimeUnits
 
durationUnit - Variable in class com.codahale.metrics.ConsoleReporter.Builder
 
durationUnit - Variable in class com.codahale.metrics.CsvReporter.Builder
 
durationUnit - Variable in class com.codahale.metrics.graphite.GraphiteReporter.Builder
 
durationUnit - Variable in class com.codahale.metrics.JmxReporter.Builder
 
durationUnit - Variable in class com.codahale.metrics.JmxReporter.JmxTimer
 
durationUnit - Variable in class com.codahale.metrics.json.MetricsModule
 
durationUnit - Variable in class com.codahale.metrics.json.MetricsModule.TimerSerializer
 
durationUnit - Variable in class com.codahale.metrics.ScheduledReporter
 
durationUnit - Variable in class com.codahale.metrics.Slf4jReporter.Builder
 

E

equals(Object) - Method in class com.codahale.metrics.health.HealthCheck.Result
 
error - Variable in class com.codahale.metrics.health.HealthCheck.Result
 
error - Variable in class com.codahale.metrics.log4j.InstrumentedAppender
 
error - Variable in class com.codahale.metrics.logback.InstrumentedAppender
 
EWMA - Class in com.codahale.metrics
An exponentially-weighted moving average.
EWMA(double, long, TimeUnit) - Constructor for class com.codahale.metrics.EWMA
Create a new EWMA with a specific smoothing constant.
ExceptionMetered - Annotation Type in com.codahale.metrics.annotation
An annotation for marking a method of an annotated object as metered.
execute() - Method in class com.codahale.metrics.health.HealthCheck
Executes the health check, catching and handling any exceptions raised by HealthCheck.check().
execute(HttpHost, HttpRequest, HttpContext) - Method in class com.codahale.metrics.httpclient.InstrumentedRequestDirector
 
executor - Variable in class com.codahale.metrics.ScheduledReporter
 
executorService - Variable in class com.codahale.metrics.servlets.HealthCheckServlet
 
ExponentiallyDecayingReservoir - Class in com.codahale.metrics
An exponentially-decaying random reservoir of longs.
ExponentiallyDecayingReservoir() - Constructor for class com.codahale.metrics.ExponentiallyDecayingReservoir
Creates a new ExponentiallyDecayingReservoir of 1028 elements, which offers a 99.9% confidence level with a 5% margin of error assuming a normal distribution, and an alpha factor of 0.015, which heavily biases the reservoir to the past 5 minutes of measurements.
ExponentiallyDecayingReservoir(int, double) - Constructor for class com.codahale.metrics.ExponentiallyDecayingReservoir
ExponentiallyDecayingReservoir(int, double, Clock) - Constructor for class com.codahale.metrics.ExponentiallyDecayingReservoir

F

failures - Variable in class com.codahale.metrics.graphite.Graphite
 
fatal - Variable in class com.codahale.metrics.log4j.InstrumentedAppender
 
FIFTEEN_MINUTES - Static variable in class com.codahale.metrics.EWMA
 
fifteenMinuteEWMA() - Static method in class com.codahale.metrics.EWMA
Creates a new EWMA which is equivalent to the UNIX fifteen minute load average and which expects to be ticked every 5 seconds.
FileDescriptorRatioGauge - Class in com.codahale.metrics.jvm
A gauge for the ratio of used to total file descriptors.
FileDescriptorRatioGauge() - Constructor for class com.codahale.metrics.jvm.FileDescriptorRatioGauge
Creates a new gauge using the platform OS bean.
FileDescriptorRatioGauge(OperatingSystemMXBean) - Constructor for class com.codahale.metrics.jvm.FileDescriptorRatioGauge
Creates a new gauge using the given OS bean.
filter - Variable in class com.codahale.metrics.ConsoleReporter.Builder
 
filter - Variable in class com.codahale.metrics.CsvReporter.Builder
 
filter - Variable in class com.codahale.metrics.graphite.GraphiteReporter.Builder
 
filter - Variable in class com.codahale.metrics.JmxReporter.Builder
 
filter - Variable in class com.codahale.metrics.JmxReporter.JmxListener
 
filter - Variable in class com.codahale.metrics.ScheduledReporter
 
filter - Variable in class com.codahale.metrics.Slf4jReporter.Builder
 
filter(MetricFilter) - Method in class com.codahale.metrics.ConsoleReporter.Builder
Only report metrics which match the given filter.
filter(MetricFilter) - Method in class com.codahale.metrics.CsvReporter.Builder
Only report metrics which match the given filter.
filter(MetricFilter) - Method in class com.codahale.metrics.graphite.GraphiteReporter.Builder
Only report metrics which match the given filter.
filter(MetricFilter) - Method in class com.codahale.metrics.JmxReporter.Builder
Only report metrics which match the given filter.
filter(MetricFilter) - Method in class com.codahale.metrics.Slf4jReporter.Builder
Only report metrics which match the given filter.
FIVE_MINUTES - Static variable in class com.codahale.metrics.EWMA
 
fiveMinuteEWMA() - Static method in class com.codahale.metrics.EWMA
Creates a new EWMA which is equivalent to the UNIX five minute load average and which expects to be ticked every 5 seconds.
floatValue() - Method in class com.codahale.metrics.LongAdder
Returns the LongAdder.sum() as a float after a widening primitive conversion.
fn(long, long) - Method in class com.codahale.metrics.LongAdder
Version of plus for use in retryUpdate
fn(long, long) - Method in class com.codahale.metrics.Striped64
Computes the function of current and new value.
format(double) - Method in class com.codahale.metrics.graphite.GraphiteReporter
 
format(long) - Method in class com.codahale.metrics.graphite.GraphiteReporter
 
format(Object) - Method in class com.codahale.metrics.graphite.GraphiteReporter
 
formatFor(Locale) - Method in class com.codahale.metrics.CsvReporter.Builder
Format numbers for the given Locale.
formattedFor(Locale) - Method in class com.codahale.metrics.ConsoleReporter.Builder
Format numbers for the given Locale.
formattedFor(TimeZone) - Method in class com.codahale.metrics.ConsoleReporter.Builder
Use the given TimeZone for the time.
forRegistry(MetricRegistry) - Static method in class com.codahale.metrics.ConsoleReporter
forRegistry(MetricRegistry) - Static method in class com.codahale.metrics.CsvReporter
Returns a new CsvReporter.Builder for CsvReporter.
forRegistry(MetricRegistry) - Static method in class com.codahale.metrics.graphite.GraphiteReporter
forRegistry(MetricRegistry) - Static method in class com.codahale.metrics.JmxReporter
Returns a new JmxReporter.Builder for JmxReporter.
forRegistry(MetricRegistry) - Static method in class com.codahale.metrics.Slf4jReporter

G

GarbageCollectorMetricSet - Class in com.codahale.metrics.jvm
A set of gauges for the counts and elapsed times of garbage collections.
GarbageCollectorMetricSet() - Constructor for class com.codahale.metrics.jvm.GarbageCollectorMetricSet
Creates a new set of gauges for all discoverable garbage collectors.
GarbageCollectorMetricSet(Collection<GarbageCollectorMXBean>) - Constructor for class com.codahale.metrics.jvm.GarbageCollectorMetricSet
Creates a new set of gauges for the given collection of garbage collectors.
garbageCollectors - Variable in class com.codahale.metrics.jvm.GarbageCollectorMetricSet
 
Gauge<T> - Interface in com.codahale.metrics
A gauge metric is an instantaneous reading of a particular value.
Gauge - Annotation Type in com.codahale.metrics.annotation
An annotation for marking a method of an annotated object as a gauge.
GaugeSerializer() - Constructor for class com.codahale.metrics.json.MetricsModule.GaugeSerializer
 
get50thPercentile() - Method in class com.codahale.metrics.JmxReporter.JmxHistogram
 
get50thPercentile() - Method in interface com.codahale.metrics.JmxReporter.JmxHistogramMBean
 
get50thPercentile() - Method in class com.codahale.metrics.JmxReporter.JmxTimer
 
get50thPercentile() - Method in interface com.codahale.metrics.JmxReporter.JmxTimerMBean
 
get75thPercentile() - Method in class com.codahale.metrics.JmxReporter.JmxHistogram
 
get75thPercentile() - Method in interface com.codahale.metrics.JmxReporter.JmxHistogramMBean
 
get75thPercentile() - Method in class com.codahale.metrics.JmxReporter.JmxTimer
 
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 class com.codahale.metrics.JmxReporter.JmxHistogram
 
get95thPercentile() - Method in interface com.codahale.metrics.JmxReporter.JmxHistogramMBean
 
get95thPercentile() - Method in class com.codahale.metrics.JmxReporter.JmxTimer
 
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 class com.codahale.metrics.JmxReporter.JmxHistogram
 
get98thPercentile() - Method in interface com.codahale.metrics.JmxReporter.JmxHistogramMBean
 
get98thPercentile() - Method in class com.codahale.metrics.JmxReporter.JmxTimer
 
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 class com.codahale.metrics.JmxReporter.JmxHistogram
 
get999thPercentile() - Method in interface com.codahale.metrics.JmxReporter.JmxHistogramMBean
 
get999thPercentile() - Method in class com.codahale.metrics.JmxReporter.JmxTimer
 
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 class com.codahale.metrics.JmxReporter.JmxHistogram
 
get99thPercentile() - Method in interface com.codahale.metrics.JmxReporter.JmxHistogramMBean
 
get99thPercentile() - Method in class com.codahale.metrics.JmxReporter.JmxTimer
 
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.
getAllowedOrigin() - Method in class com.codahale.metrics.servlets.MetricsServlet.ContextListener
Returns the Access-Control-Allow-Origin header value, if any.
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.JmxReporter.JmxCounter
 
getCount() - Method in interface com.codahale.metrics.JmxReporter.JmxCounterMBean
 
getCount() - Method in class com.codahale.metrics.JmxReporter.JmxHistogram
 
getCount() - Method in interface com.codahale.metrics.JmxReporter.JmxHistogramMBean
 
getCount() - Method in class com.codahale.metrics.JmxReporter.JmxMeter
 
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.
getDeadlockedThreads() - Method in class com.codahale.metrics.jvm.ThreadDeadlockDetector
Returns a set of diagnostic stack traces for any deadlocked threads.
getDurationUnit() - Method in class com.codahale.metrics.JmxReporter.JmxTimer
 
getDurationUnit() - Method in interface com.codahale.metrics.JmxReporter.JmxTimerMBean
 
getDurationUnit() - Method in class com.codahale.metrics.ScheduledReporter
 
getDurationUnit() - Method in class com.codahale.metrics.servlets.MetricsServlet.ContextListener
Returns the TimeUnit to which durations should be converted, or null if the default should be used.
getError() - Method in class com.codahale.metrics.health.HealthCheck.Result
Returns any exception for the result, or null if the result has no exception.
getExecutorService() - Method in class com.codahale.metrics.servlets.AdminServletContextListener
Deprecated.
Returns the ExecutorService to inject into the servlet context, or null if the health checks should be run in the servlet worker thread.
getExecutorService() - Method in class com.codahale.metrics.servlets.HealthCheckServlet.ContextListener
Returns the ExecutorService to inject into the servlet context, or null if the health checks should be run in the servlet worker thread.
getFailures() - Method in class com.codahale.metrics.graphite.Graphite
Returns the number of failed writes to the server.
getFifteenMinuteRate() - Method in class com.codahale.metrics.JmxReporter.JmxMeter
 
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 class com.codahale.metrics.JmxReporter.JmxMeter
 
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.
getHealthCheckRegistry() - Method in class com.codahale.metrics.servlets.AdminServletContextListener
Deprecated.
Returns the HealthCheckRegistry to inject into the servlet context.
getHealthCheckRegistry() - Method in class com.codahale.metrics.servlets.HealthCheckServlet.ContextListener
Returns the HealthCheckRegistry to inject into the servlet context.
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.JmxReporter.JmxHistogram
 
getMax() - Method in interface com.codahale.metrics.JmxReporter.JmxHistogramMBean
 
getMax() - Method in class com.codahale.metrics.JmxReporter.JmxTimer
 
getMax() - Method in interface com.codahale.metrics.JmxReporter.JmxTimerMBean
 
getMax() - Method in class com.codahale.metrics.Snapshot
Returns the highest value in the snapshot.
getMean() - Method in class com.codahale.metrics.JmxReporter.JmxHistogram
 
getMean() - Method in interface com.codahale.metrics.JmxReporter.JmxHistogramMBean
 
getMean() - Method in class com.codahale.metrics.JmxReporter.JmxTimer
 
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.
getMeanRate() - Method in class com.codahale.metrics.JmxReporter.JmxMeter
 
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.
getMessage() - Method in class com.codahale.metrics.health.HealthCheck.Result
Returns any additional message for the result, or null if the result has no message.
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.
getMetricRegistry() - Method in class com.codahale.metrics.servlet.InstrumentedFilterContextListener
Returns the MetricRegistry to inject into the servlet context.
getMetricRegistry() - Method in class com.codahale.metrics.servlets.AdminServletContextListener
Deprecated.
Returns the MetricRegistry to inject into the servlet context.
getMetricRegistry() - Method in class com.codahale.metrics.servlets.MetricsServlet.ContextListener
Returns the MetricRegistry to inject into the servlet context.
getMetrics() - Method in class com.codahale.metrics.jvm.BufferPoolMetricSet
 
getMetrics() - Method in class com.codahale.metrics.jvm.GarbageCollectorMetricSet
 
getMetrics() - Method in class com.codahale.metrics.jvm.MemoryUsageGaugeSet
 
getMetrics() - Method in class com.codahale.metrics.jvm.ThreadStatesGaugeSet
 
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.
getMetrics(Class<T>, MetricFilter) - Method in class com.codahale.metrics.MetricRegistry
 
getMetricsFactory(FilterConfig) - Method in class com.codahale.metrics.servlet.AbstractInstrumentedFilter
 
getMin() - Method in class com.codahale.metrics.JmxReporter.JmxHistogram
 
getMin() - Method in interface com.codahale.metrics.JmxReporter.JmxHistogramMBean
 
getMin() - Method in class com.codahale.metrics.JmxReporter.JmxTimer
 
getMin() - Method in interface com.codahale.metrics.JmxReporter.JmxTimerMBean
 
getMin() - Method in class com.codahale.metrics.Snapshot
Returns the lowest value in the snapshot.
getModuleName() - Method in class com.codahale.metrics.json.HealthCheckModule
 
getModuleName() - Method in class com.codahale.metrics.json.MetricsModule
 
getNameFor(String, HttpRequest) - Method in interface com.codahale.metrics.httpclient.HttpClientMetricNameStrategy
 
getNames() - Method in class com.codahale.metrics.health.HealthCheckRegistry
Returns a set of the names of all registered health checks.
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.JmxReporter.JmxMeter
 
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
 
getOrAdd(String, MetricRegistry.MetricBuilder<T>) - Method in class com.codahale.metrics.MetricRegistry
 
getOrCreate(String) - Static method in class com.codahale.metrics.SharedMetricRegistries
 
getParam(String, String) - Static method in class com.codahale.metrics.servlets.AdminServlet
 
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.JmxReporter.JmxMeter
 
getRateUnit() - Method in interface com.codahale.metrics.JmxReporter.JmxMeterMBean
 
getRateUnit() - Method in class com.codahale.metrics.ScheduledReporter
 
getRateUnit() - Method in class com.codahale.metrics.servlets.MetricsServlet.ContextListener
Returns the TimeUnit to which rates should be converted, or null if the default should be used.
getRateUnit() - Method in class com.codahale.metrics.Slf4jReporter
 
getRatio() - Method in class com.codahale.metrics.jvm.FileDescriptorRatioGauge
 
getRatio() - Method in class com.codahale.metrics.RatioGauge
Returns the RatioGauge.Ratio which is the gauge's current value.
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
 
getStatus() - Method in class com.codahale.metrics.servlet.AbstractInstrumentedFilter.StatusExposingServletResponse
 
getStdDev() - Method in class com.codahale.metrics.JmxReporter.JmxHistogram
 
getStdDev() - Method in interface com.codahale.metrics.JmxReporter.JmxHistogramMBean
 
getStdDev() - Method in class com.codahale.metrics.JmxReporter.JmxTimer
 
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.
getThreadCount(Thread.State) - Method in class com.codahale.metrics.jvm.ThreadStatesGaugeSet
 
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
 
getTick() - Method in class com.codahale.metrics.SlidingTimeWindowReservoir
 
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.
getUnsafe() - Static method in class com.codahale.metrics.Striped64
Returns a sun.misc.Unsafe.
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 class com.codahale.metrics.JmxReporter.JmxGauge
 
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.
getValues() - Method in class com.codahale.metrics.Snapshot
Returns the entire set of values in the snapshot.
getWriter(HttpServletRequest) - Method in class com.codahale.metrics.servlets.HealthCheckServlet
 
getWriter(HttpServletRequest) - Method in class com.codahale.metrics.servlets.MetricsServlet
 
graphite - Variable in class com.codahale.metrics.graphite.GraphiteReporter
 
Graphite - Class in com.codahale.metrics.graphite
A client to a Carbon server.
Graphite(InetSocketAddress) - Constructor for class com.codahale.metrics.graphite.Graphite
Creates a new client which connects to the given address using the default SocketFactory.
Graphite(InetSocketAddress, SocketFactory) - Constructor for class com.codahale.metrics.graphite.Graphite
Creates a new client which connects to the given address and socket factory.
Graphite(InetSocketAddress, SocketFactory, Charset) - Constructor for class com.codahale.metrics.graphite.Graphite
Creates a new client which connects to the given address and socket factory using the given character set.
GraphiteReporter - Class in com.codahale.metrics.graphite
A reporter which publishes metric values to a Graphite server.
GraphiteReporter(MetricRegistry, Graphite, Clock, String, TimeUnit, TimeUnit, MetricFilter) - Constructor for class com.codahale.metrics.graphite.GraphiteReporter
 
GraphiteReporter.Builder - Class in com.codahale.metrics.graphite
A builder for GraphiteReporter instances.
group - Variable in class com.codahale.metrics.ScheduledReporter.NamedThreadFactory
 

H

hashCode() - Method in class com.codahale.metrics.health.HealthCheck.Result
 
HashCode() - Constructor for class com.codahale.metrics.Striped64.HashCode
 
HEALTH_CHECK_EXECUTOR - Static variable in class com.codahale.metrics.servlets.HealthCheckServlet
 
HEALTH_CHECK_REGISTRY - Static variable in class com.codahale.metrics.servlets.HealthCheckServlet
 
HealthCheck - Class in com.codahale.metrics.health
A health check for a component of your application.
HealthCheck() - Constructor for class com.codahale.metrics.health.HealthCheck
 
HealthCheck.Result - Class in com.codahale.metrics.health
The result of a HealthCheck being run.
HealthCheckModule - Class in com.codahale.metrics.json
 
HealthCheckModule() - Constructor for class com.codahale.metrics.json.HealthCheckModule
 
HealthCheckModule.HealthCheckResultSerializer - Class in com.codahale.metrics.json
 
HealthCheckRegistry - Class in com.codahale.metrics.health
A registry for health checks.
HealthCheckRegistry() - Constructor for class com.codahale.metrics.health.HealthCheckRegistry
Creates a new HealthCheckRegistry.
HealthCheckResultSerializer() - Constructor for class com.codahale.metrics.json.HealthCheckModule.HealthCheckResultSerializer
 
healthChecks - Variable in class com.codahale.metrics.health.HealthCheckRegistry
 
healthCheckServlet - Variable in class com.codahale.metrics.servlets.AdminServlet
 
HealthCheckServlet - Class in com.codahale.metrics.servlets
 
HealthCheckServlet() - Constructor for class com.codahale.metrics.servlets.HealthCheckServlet
 
HealthCheckServlet(HealthCheckRegistry) - Constructor for class com.codahale.metrics.servlets.HealthCheckServlet
 
HealthCheckServlet.ContextListener - Class in com.codahale.metrics.servlets
 
healthcheckUri - Variable in class com.codahale.metrics.servlets.AdminServlet
 
healthy - Variable in class com.codahale.metrics.health.HealthCheck.Result
 
healthy() - Static method in class com.codahale.metrics.health.HealthCheck.Result
Returns a healthy HealthCheck.Result with no additional message.
healthy(String) - Static method in class com.codahale.metrics.health.HealthCheck.Result
Returns a healthy HealthCheck.Result with an additional message.
healthy(String, Object...) - Static method in class com.codahale.metrics.health.HealthCheck.Result
Returns a healthy HealthCheck.Result with a formatted message.
HEALTHY - Static variable in class com.codahale.metrics.health.HealthCheck.Result
 
histogram - Variable in class com.codahale.metrics.Timer
 
histogram(String) - Method in class com.codahale.metrics.MetricRegistry
Creates a new Histogram and registers it under the given name.
Histogram - Class in com.codahale.metrics
A metric which calculates the distribution of a value.
Histogram(Reservoir) - Constructor for class com.codahale.metrics.Histogram
Creates a new Histogram with the given reservoir.
HISTOGRAMS - Static variable in interface com.codahale.metrics.MetricRegistry.MetricBuilder
 
HistogramSerializer(boolean) - Constructor for class com.codahale.metrics.json.MetricsModule.HistogramSerializer
 
HOST_AND_METHOD - Static variable in class com.codahale.metrics.httpclient.HttpClientMetricNameStrategies
 
HttpClientMetricNameStrategies - Class in com.codahale.metrics.httpclient
 
HttpClientMetricNameStrategies() - Constructor for class com.codahale.metrics.httpclient.HttpClientMetricNameStrategies
 
HttpClientMetricNameStrategy - Interface in com.codahale.metrics.httpclient
 
httpStatus - Variable in class com.codahale.metrics.servlet.AbstractInstrumentedFilter.StatusExposingServletResponse
 

I

inc() - Method in class com.codahale.metrics.Counter
Increment the counter by one.
inc(long) - Method in class com.codahale.metrics.Counter
Increment the counter by n.
increment() - Method in class com.codahale.metrics.LongAdder
Equivalent to add(1).
inDomain(String) - Method in class com.codahale.metrics.JmxReporter.Builder
 
info - Variable in class com.codahale.metrics.log4j.InstrumentedAppender
 
info - Variable in class com.codahale.metrics.logback.InstrumentedAppender
 
init() - Method in class com.codahale.metrics.servlets.ThreadDumpServlet
 
init(FilterConfig) - Method in class com.codahale.metrics.servlet.AbstractInstrumentedFilter
 
init(ServletConfig) - Method in class com.codahale.metrics.servlets.AdminServlet
 
init(ServletConfig) - Method in class com.codahale.metrics.servlets.HealthCheckServlet
 
init(ServletConfig) - Method in class com.codahale.metrics.servlets.MetricsServlet
 
initialized - Variable in class com.codahale.metrics.EWMA
 
initialized - Variable in class com.codahale.metrics.ThreadLocalRandom
Initialization flag to permit calls to setSeed to succeed only while executing the Random constructor.
initialValue() - Method in class com.codahale.metrics.Striped64.ThreadHashCode
 
InstrumentedAppender - Class in com.codahale.metrics.log4j
A Log4J Appender which has seven meters, one for each logging level and one for the total number of statements being logged.
InstrumentedAppender - Class in com.codahale.metrics.logback
A Logback Appender which has six meters, one for each logging level and one for the total number of statements being logged.
InstrumentedAppender(MetricRegistry) - Constructor for class com.codahale.metrics.log4j.InstrumentedAppender
Create a new instrumented appender using the given registry.
InstrumentedAppender(MetricRegistry) - Constructor for class com.codahale.metrics.logback.InstrumentedAppender
Create a new instrumented appender using the given registry.
InstrumentedAppender(String) - Constructor for class com.codahale.metrics.log4j.InstrumentedAppender
Create a new instrumented appender using the given registry name.
InstrumentedAppender(String) - Constructor for class com.codahale.metrics.logback.InstrumentedAppender
Create a new instrumented appender using the given registry name.
InstrumentedClientConnManager - Class in com.codahale.metrics.httpclient
A ClientConnectionManager which monitors the number of open connections.
InstrumentedClientConnManager(MetricRegistry) - Constructor for class com.codahale.metrics.httpclient.InstrumentedClientConnManager
 
InstrumentedClientConnManager(MetricRegistry, SchemeRegistry) - Constructor for class com.codahale.metrics.httpclient.InstrumentedClientConnManager
 
InstrumentedClientConnManager(MetricRegistry, SchemeRegistry, long, TimeUnit) - Constructor for class com.codahale.metrics.httpclient.InstrumentedClientConnManager
 
InstrumentedClientConnManager(MetricRegistry, SchemeRegistry, long, TimeUnit, DnsResolver, String) - Constructor for class com.codahale.metrics.httpclient.InstrumentedClientConnManager
 
InstrumentedFilter - Class in com.codahale.metrics.servlet
Implementation of the AbstractInstrumentedFilter which provides a default set of response codes to capture information about.
InstrumentedFilter() - Constructor for class com.codahale.metrics.servlet.InstrumentedFilter
Creates a new instance of the filter.
InstrumentedFilterContextListener - Class in com.codahale.metrics.servlet
A listener implementation which injects a MetricRegistry instance into the servlet context.
InstrumentedFilterContextListener() - Constructor for class com.codahale.metrics.servlet.InstrumentedFilterContextListener
 
InstrumentedHttpClient - Class in com.codahale.metrics.httpclient
 
InstrumentedHttpClient(MetricRegistry) - Constructor for class com.codahale.metrics.httpclient.InstrumentedHttpClient
 
InstrumentedHttpClient(MetricRegistry, HttpClientMetricNameStrategy) - Constructor for class com.codahale.metrics.httpclient.InstrumentedHttpClient
 
InstrumentedHttpClient(MetricRegistry, InstrumentedClientConnManager, HttpParams, String) - Constructor for class com.codahale.metrics.httpclient.InstrumentedHttpClient
 
InstrumentedHttpClient(MetricRegistry, String, HttpClientMetricNameStrategy) - Constructor for class com.codahale.metrics.httpclient.InstrumentedHttpClient
 
InstrumentedHttpClient(MetricRegistry, ClientConnectionManager, HttpParams, String, HttpClientMetricNameStrategy) - Constructor for class com.codahale.metrics.httpclient.InstrumentedHttpClient
 
InstrumentedHttpClient(MetricRegistry, HttpParams) - Constructor for class com.codahale.metrics.httpclient.InstrumentedHttpClient
 
InstrumentedRequestDirector - Class in com.codahale.metrics.httpclient
 
InstrumentedRequestDirector(MetricRegistry, String, HttpClientMetricNameStrategy, Log, HttpRequestExecutor, ClientConnectionManager, ConnectionReuseStrategy, ConnectionKeepAliveStrategy, HttpRoutePlanner, HttpProcessor, HttpRequestRetryHandler, RedirectStrategy, AuthenticationStrategy, AuthenticationStrategy, UserTokenHandler, HttpParams) - Constructor for class com.codahale.metrics.httpclient.InstrumentedRequestDirector
 
internalReset(long) - Method in class com.codahale.metrics.Striped64
Sets base and all cells to the given value.
interval - Variable in class com.codahale.metrics.EWMA
 
INTERVAL - Static variable in class com.codahale.metrics.EWMA
 
intValue() - Method in class com.codahale.metrics.LongAdder
Returns the LongAdder.sum() as an int after a narrowing primitive conversion.
invoke(String) - Method in class com.codahale.metrics.jvm.FileDescriptorRatioGauge
 
isAllHealthy(Map<String, HealthCheck.Result>) - Static method in class com.codahale.metrics.servlets.HealthCheckServlet
 
isHealthy() - Method in class com.codahale.metrics.health.HealthCheck.Result
Returns true if the result indicates the component is healthy; false otherwise.
isInstance(Metric) - Method in interface com.codahale.metrics.MetricRegistry.MetricBuilder
 

J

JmxAttributeGauge - Class in com.codahale.metrics
A Gauge implementation which queries a MBeanServer for an attribute of an object.
JmxAttributeGauge(MBeanServer, ObjectName, String) - Constructor for class com.codahale.metrics.JmxAttributeGauge
Creates a new JmxAttributeGauge.
JmxAttributeGauge(ObjectName, String) - Constructor for class com.codahale.metrics.JmxAttributeGauge
Creates a new JmxAttributeGauge.
JmxCounter(Counter, ObjectName) - Constructor for class com.codahale.metrics.JmxReporter.JmxCounter
 
JmxGauge(Gauge<?>, ObjectName) - Constructor for class com.codahale.metrics.JmxReporter.JmxGauge
 
JmxHistogram(Histogram, ObjectName) - Constructor for class com.codahale.metrics.JmxReporter.JmxHistogram
 
JmxListener(MBeanServer, String, MetricFilter, JmxReporter.MetricTimeUnits) - Constructor for class com.codahale.metrics.JmxReporter.JmxListener
 
JmxMeter(Metered, ObjectName, TimeUnit) - Constructor for class com.codahale.metrics.JmxReporter.JmxMeter
 
JmxReporter - Class in com.codahale.metrics
A reporter which listens for new metrics and exposes them as namespaced MBeans.
JmxReporter(MBeanServer, String, MetricRegistry, MetricFilter, JmxReporter.MetricTimeUnits) - Constructor for class com.codahale.metrics.JmxReporter
 
JmxReporter.AbstractBean - Class in com.codahale.metrics
 
JmxReporter.Builder - Class in com.codahale.metrics
A builder for CsvReporter instances.
JmxReporter.JmxCounter - Class in com.codahale.metrics
 
JmxReporter.JmxCounterMBean - Interface in com.codahale.metrics
 
JmxReporter.JmxGauge - Class in com.codahale.metrics
 
JmxReporter.JmxGaugeMBean - Interface in com.codahale.metrics
 
JmxReporter.JmxHistogram - Class in com.codahale.metrics
 
JmxReporter.JmxHistogramMBean - Interface in com.codahale.metrics
 
JmxReporter.JmxListener - Class in com.codahale.metrics
 
JmxReporter.JmxMeter - Class in com.codahale.metrics
 
JmxReporter.JmxMeterMBean - Interface in com.codahale.metrics
 
JmxReporter.JmxTimer - Class in com.codahale.metrics
 
JmxReporter.JmxTimerMBean - Interface in com.codahale.metrics
 
JmxReporter.MetricMBean - Interface in com.codahale.metrics
 
JmxReporter.MetricTimeUnits - Class in com.codahale.metrics
 
JmxTimer(Timer, ObjectName, TimeUnit, TimeUnit) - Constructor for class com.codahale.metrics.JmxReporter.JmxTimer
 
JvmAttributeGaugeSet - Class in com.codahale.metrics
A set of gauges for the JVM name, vendor, and uptime.
JvmAttributeGaugeSet() - Constructor for class com.codahale.metrics.JvmAttributeGaugeSet
Creates a new set of gauges.
JvmAttributeGaugeSet(RuntimeMXBean) - Constructor for class com.codahale.metrics.JvmAttributeGaugeSet
Creates a new set of gauges with the given RuntimeMXBean.

L

lastTick - Variable in class com.codahale.metrics.Meter
 
lastTick - Variable in class com.codahale.metrics.SlidingTimeWindowReservoir
 
listener - Variable in class com.codahale.metrics.JmxReporter
 
listeners - Variable in class com.codahale.metrics.MetricRegistry
 
loadValue() - Method in class com.codahale.metrics.CachedGauge
Loads the value and returns it.
locale - Variable in class com.codahale.metrics.ConsoleReporter.Builder
 
locale - Variable in class com.codahale.metrics.ConsoleReporter
 
locale - Variable in class com.codahale.metrics.CsvReporter.Builder
 
locale - Variable in class com.codahale.metrics.CsvReporter
 
localRandom - Static variable in class com.codahale.metrics.ThreadLocalRandom
The actual ThreadLocal
lock - Variable in class com.codahale.metrics.ExponentiallyDecayingReservoir
 
lockForRegularUsage() - Method in class com.codahale.metrics.ExponentiallyDecayingReservoir
 
lockForRescale() - Method in class com.codahale.metrics.ExponentiallyDecayingReservoir
 
log - Variable in class com.codahale.metrics.httpclient.InstrumentedHttpClient
 
logCounter(String, Counter) - Method in class com.codahale.metrics.Slf4jReporter
 
logGauge(String, Gauge) - Method in class com.codahale.metrics.Slf4jReporter
 
logger - Variable in class com.codahale.metrics.Slf4jReporter.Builder
 
logger - Variable in class com.codahale.metrics.Slf4jReporter
 
LOGGER - Static variable in class com.codahale.metrics.CsvReporter
 
LOGGER - Static variable in class com.codahale.metrics.graphite.GraphiteReporter
 
LOGGER - Static variable in class com.codahale.metrics.health.HealthCheckRegistry
 
LOGGER - Static variable in class com.codahale.metrics.JmxReporter
 
LOGGER - Static variable in class com.codahale.metrics.jvm.BufferPoolMetricSet
 
logHistogram(String, Histogram) - Method in class com.codahale.metrics.Slf4jReporter
 
logMeter(String, Meter) - Method in class com.codahale.metrics.Slf4jReporter
 
logTimer(String, Timer) - Method in class com.codahale.metrics.Slf4jReporter
 
LongAdder - Class in com.codahale.metrics
One or more variables that together maintain an initially zero long sum.
LongAdder() - Constructor for class com.codahale.metrics.LongAdder
Creates a new adder with initial sum of zero.
longValue() - Method in class com.codahale.metrics.LongAdder
Equivalent to LongAdder.sum().

M

M1_ALPHA - Static variable in class com.codahale.metrics.EWMA
 
M15_ALPHA - Static variable in class com.codahale.metrics.EWMA
 
m15Rate - Variable in class com.codahale.metrics.Meter
 
m1Rate - Variable in class com.codahale.metrics.Meter
 
M5_ALPHA - Static variable in class com.codahale.metrics.EWMA
 
m5Rate - Variable in class com.codahale.metrics.Meter
 
mapper - Variable in class com.codahale.metrics.servlets.HealthCheckServlet
 
mapper - Variable in class com.codahale.metrics.servlets.MetricsServlet
 
mark() - Method in class com.codahale.metrics.Meter
Mark the occurrence of an event.
mark(long) - Method in class com.codahale.metrics.Meter
Mark the occurrence of a given number of events.
marker - Variable in class com.codahale.metrics.Slf4jReporter.Builder
 
marker - Variable in class com.codahale.metrics.Slf4jReporter
 
markMeterForStatusCode(int) - Method in class com.codahale.metrics.servlet.AbstractInstrumentedFilter
 
markWith(Marker) - Method in class com.codahale.metrics.Slf4jReporter.Builder
Mark all logged metrics with the given marker.
mask - Static variable in class com.codahale.metrics.ThreadLocalRandom
 
matches(String, Metric) - Method in interface com.codahale.metrics.MetricFilter
Returns true if the metric matches the filter; false otherwise.
MAX_STACK_TRACE_DEPTH - Static variable in class com.codahale.metrics.jvm.ThreadDeadlockDetector
 
mBeanServer - Variable in class com.codahale.metrics.JmxAttributeGauge
 
mBeanServer - Variable in class com.codahale.metrics.JmxReporter.Builder
 
mBeanServer - Variable in class com.codahale.metrics.JmxReporter.JmxListener
 
mBeanServer - Variable in class com.codahale.metrics.jvm.BufferPoolMetricSet
 
measurements - Variable in class com.codahale.metrics.SlidingTimeWindowReservoir
 
measurements - Variable in class com.codahale.metrics.SlidingWindowReservoir
 
memoryPools - Variable in class com.codahale.metrics.jvm.MemoryUsageGaugeSet
 
MemoryUsageGaugeSet - Class in com.codahale.metrics.jvm
A set of gauges for JVM memory usage, including stats on heap vs.
MemoryUsageGaugeSet() - Constructor for class com.codahale.metrics.jvm.MemoryUsageGaugeSet
 
MemoryUsageGaugeSet(MemoryMXBean, Collection<MemoryPoolMXBean>) - Constructor for class com.codahale.metrics.jvm.MemoryUsageGaugeSet
 
message - Variable in class com.codahale.metrics.health.HealthCheck.Result
 
meter - Variable in class com.codahale.metrics.Timer
 
meter(String) - Method in class com.codahale.metrics.MetricRegistry
Creates a new Meter and registers it under the given name.
Meter - Class in com.codahale.metrics
A meter metric which measures mean throughput and one-, five-, and fifteen-minute exponentially-weighted moving average throughputs.
Meter() - Constructor for class com.codahale.metrics.Meter
Creates a new Meter.
Meter(Clock) - Constructor for class com.codahale.metrics.Meter
Creates a new Meter.
Metered - Interface in com.codahale.metrics
An object which maintains mean and exponentially-weighted rate.
Metered - Annotation Type in com.codahale.metrics.annotation
An annotation for marking a method of an annotated object as metered.
meterNamesByStatusCode - Variable in class com.codahale.metrics.servlet.AbstractInstrumentedFilter
 
METERS - Static variable in interface com.codahale.metrics.MetricRegistry.MetricBuilder
 
metersByStatusCode - Variable in class com.codahale.metrics.servlet.AbstractInstrumentedFilter
 
MeterSerializer(TimeUnit) - Constructor for class com.codahale.metrics.json.MetricsModule.MeterSerializer
 
METHOD_ONLY - Static variable in class com.codahale.metrics.httpclient.HttpClientMetricNameStrategies
 
methodNameString(HttpRequest) - Static method in class com.codahale.metrics.httpclient.HttpClientMetricNameStrategies
 
metric - Variable in class com.codahale.metrics.JmxReporter.JmxCounter
 
metric - Variable in class com.codahale.metrics.JmxReporter.JmxGauge
 
metric - Variable in class com.codahale.metrics.JmxReporter.JmxHistogram
 
metric - Variable in class com.codahale.metrics.JmxReporter.JmxMeter
 
metric - Variable in class com.codahale.metrics.JmxReporter.JmxTimer
 
Metric - Interface in com.codahale.metrics
A tag interface to indicate that a class is a metric.
MetricFilter - Interface in com.codahale.metrics
A filter used to determine whether or not a metric should be reported, among other things.
metricNameStrategy - Variable in class com.codahale.metrics.httpclient.InstrumentedHttpClient
 
metricNameStrategy - Variable in class com.codahale.metrics.httpclient.InstrumentedRequestDirector
 
MetricRegistry - Class in com.codahale.metrics
A registry of metric instances.
MetricRegistry() - Constructor for class com.codahale.metrics.MetricRegistry
Creates a new MetricRegistry.
MetricRegistry.MetricBuilder<T extends Metric> - Interface in com.codahale.metrics
A quick and easy way of capturing the notion of default metrics.
MetricRegistryListener - Interface in com.codahale.metrics
Listeners for events from the registry.
MetricRegistryListener.Base - Class in com.codahale.metrics
A no-op implementation of MetricRegistryListener.
MetricRegistrySerializer() - Constructor for class com.codahale.metrics.json.MetricsModule.MetricRegistrySerializer
 
metrics - Variable in class com.codahale.metrics.MetricRegistry
 
METRICS_REGISTRY - Static variable in class com.codahale.metrics.servlets.MetricsServlet
 
MetricSet - Interface in com.codahale.metrics
A set of named metrics.
MetricsModule - Class in com.codahale.metrics.json
 
MetricsModule(TimeUnit, TimeUnit, boolean) - Constructor for class com.codahale.metrics.json.MetricsModule
 
MetricsModule.CounterSerializer - Class in com.codahale.metrics.json
 
MetricsModule.GaugeSerializer - Class in com.codahale.metrics.json
 
MetricsModule.HistogramSerializer - Class in com.codahale.metrics.json
 
MetricsModule.MeterSerializer - Class in com.codahale.metrics.json
 
MetricsModule.MetricRegistrySerializer - Class in com.codahale.metrics.json
 
MetricsModule.TimerSerializer - Class in com.codahale.metrics.json
 
metricsServlet - Variable in class com.codahale.metrics.servlets.AdminServlet
 
MetricsServlet - Class in com.codahale.metrics.servlets
A servlet which returns the metrics in a given registry as an application/json response.
MetricsServlet() - Constructor for class com.codahale.metrics.servlets.MetricsServlet
 
MetricsServlet(MetricRegistry) - Constructor for class com.codahale.metrics.servlets.MetricsServlet
 
MetricsServlet.ContextListener - Class in com.codahale.metrics.servlets
An abstract ServletContextListener which allows you to programmatically inject the MetricRegistry, rate and duration units, and allowed origin for MetricsServlet.
metricsUri - Variable in class com.codahale.metrics.servlets.AdminServlet
 
MetricTimeUnits(TimeUnit, TimeUnit, Map<String, TimeUnit>, Map<String, TimeUnit>) - Constructor for class com.codahale.metrics.JmxReporter.MetricTimeUnits
 
multiplier - Static variable in class com.codahale.metrics.ThreadLocalRandom
 
mxBean - Variable in class com.codahale.metrics.jvm.MemoryUsageGaugeSet
 

N

name - Variable in class com.codahale.metrics.httpclient.InstrumentedHttpClient
 
name - Variable in class com.codahale.metrics.httpclient.InstrumentedRequestDirector
 
name - Variable in class com.codahale.metrics.JmxReporter.JmxListener
 
name() - Method in annotation type com.codahale.metrics.annotation.ExceptionMetered
The name of the meter.
name() - Method in annotation type com.codahale.metrics.annotation.Gauge
The gauge's name.
name() - Method in annotation type com.codahale.metrics.annotation.Metered
The name of the meter.
name() - Method in annotation type com.codahale.metrics.annotation.Timed
The name of the timer.
name(Class<?>, String...) - Static method in class com.codahale.metrics.MetricRegistry
Concatenates a class name and elements to form a dotted name, eliding any null values or empty strings.
name(String, String...) - Static method in class com.codahale.metrics.MetricRegistry
Concatenates elements to form a dotted name, eliding any null values or empty strings.
NAME_PREFIX - Static variable in class com.codahale.metrics.servlet.InstrumentedFilter
 
NamedThreadFactory(String) - Constructor for class com.codahale.metrics.ScheduledReporter.NamedThreadFactory
 
namePrefix - Variable in class com.codahale.metrics.ScheduledReporter.NamedThreadFactory
 
names() - Static method in class com.codahale.metrics.SharedMetricRegistries
 
NAMES - Static variable in class com.codahale.metrics.jvm.BufferPoolMetricSet
 
NCPU - Static variable in class com.codahale.metrics.Striped64
Number of CPUS, to place bound on table size
newMetric() - Method in interface com.codahale.metrics.MetricRegistry.MetricBuilder
 
newThread(Runnable) - Method in class com.codahale.metrics.ScheduledReporter.NamedThreadFactory
 
next(int) - Method in class com.codahale.metrics.ThreadLocalRandom
 
nextDouble(double) - Method in class com.codahale.metrics.ThreadLocalRandom
Returns a pseudorandom, uniformly distributed double value between 0 (inclusive) and the specified value (exclusive).
nextDouble(double, double) - Method in class com.codahale.metrics.ThreadLocalRandom
Returns a pseudorandom, uniformly distributed value between the given least value (inclusive) and bound (exclusive).
nextInt(int, int) - Method in class com.codahale.metrics.ThreadLocalRandom
Returns a pseudorandom, uniformly distributed value between the given least value (inclusive) and bound (exclusive).
nextLong(long) - Method in class com.codahale.metrics.ThreadLocalRandom
Returns a pseudorandom, uniformly distributed value between 0 (inclusive) and the specified value (exclusive).
nextLong(long) - Static method in class com.codahale.metrics.UniformReservoir
Get a pseudo-random long uniformly between 0 and n-1.
nextLong(long, long) - Method in class com.codahale.metrics.ThreadLocalRandom
Returns a pseudorandom, uniformly distributed value between the given least value (inclusive) and bound (exclusive).
nextScaleTime - Variable in class com.codahale.metrics.ExponentiallyDecayingReservoir
 
NO_CACHE - Static variable in class com.codahale.metrics.servlets.PingServlet
 
NO_CONTENT - Static variable in class com.codahale.metrics.servlet.InstrumentedFilter
 
NOT_FOUND - Static variable in class com.codahale.metrics.servlet.InstrumentedFilter
 
notifyListenerOfAddedMetric(MetricRegistryListener, Metric, String) - Method in class com.codahale.metrics.MetricRegistry
 
notifyListenerOfRemovedMetric(String, Metric, MetricRegistryListener) - Method in class com.codahale.metrics.MetricRegistry
 
numerator - Variable in class com.codahale.metrics.RatioGauge.Ratio
 

O

objectName - Variable in class com.codahale.metrics.JmxAttributeGauge
 
objectName - Variable in class com.codahale.metrics.JmxReporter.AbstractBean
 
objectName - Variable in class com.codahale.metrics.JmxReporter.JmxHistogram
 
objectName() - Method in class com.codahale.metrics.JmxReporter.AbstractBean
 
objectName() - Method in class com.codahale.metrics.JmxReporter.JmxHistogram
 
objectName() - Method in interface com.codahale.metrics.JmxReporter.MetricMBean
 
of(double, double) - Static method in class com.codahale.metrics.RatioGauge.Ratio
Creates a new ratio with the given numerator and denominator.
OK - Static variable in class com.codahale.metrics.servlet.InstrumentedFilter
 
onCounterAdded(String, Counter) - Method in class com.codahale.metrics.JmxReporter.JmxListener
 
onCounterAdded(String, Counter) - Method in class com.codahale.metrics.MetricRegistryListener.Base
 
onCounterAdded(String, Counter) - Method in interface com.codahale.metrics.MetricRegistryListener
Called when a Counter is added to the registry.
onCounterRemoved(String) - Method in class com.codahale.metrics.JmxReporter.JmxListener
 
onCounterRemoved(String) - Method in class com.codahale.metrics.MetricRegistryListener.Base
 
onCounterRemoved(String) - Method in interface com.codahale.metrics.MetricRegistryListener
Called when a Counter is removed from the registry.
ONE_MINUTE - Static variable in class com.codahale.metrics.EWMA
 
oneMinuteEWMA() - Static method in class com.codahale.metrics.EWMA
Creates a new EWMA which is equivalent to the UNIX one minute load average and which expects to be ticked every 5 seconds.
onGaugeAdded(String, Gauge<?>) - Method in class com.codahale.metrics.JmxReporter.JmxListener
 
onGaugeAdded(String, Gauge<?>) - Method in class com.codahale.metrics.MetricRegistryListener.Base
 
onGaugeAdded(String, Gauge<?>) - Method in interface com.codahale.metrics.MetricRegistryListener
Called when a Gauge is added to the registry.
onGaugeRemoved(String) - Method in class com.codahale.metrics.JmxReporter.JmxListener
 
onGaugeRemoved(String) - Method in class com.codahale.metrics.MetricRegistryListener.Base
 
onGaugeRemoved(String) - Method in interface com.codahale.metrics.MetricRegistryListener
Called when a Gauge is removed from the registry.
onHistogramAdded(String, Histogram) - Method in class com.codahale.metrics.JmxReporter.JmxListener
 
onHistogramAdded(String, Histogram) - Method in class com.codahale.metrics.MetricRegistryListener.Base
 
onHistogramAdded(String, Histogram) - Method in interface com.codahale.metrics.MetricRegistryListener
Called when a Histogram is added to the registry.
onHistogramRemoved(String) - Method in class com.codahale.metrics.JmxReporter.JmxListener
 
onHistogramRemoved(String) - Method in class com.codahale.metrics.MetricRegistryListener.Base
 
onHistogramRemoved(String) - Method in interface com.codahale.metrics.MetricRegistryListener
Called when a Histogram is removed from the registry.
onMeterAdded(String, Meter) - Method in class com.codahale.metrics.JmxReporter.JmxListener
 
onMeterAdded(String, Meter) - Method in class com.codahale.metrics.MetricRegistryListener.Base
 
onMeterAdded(String, Meter) - Method in interface com.codahale.metrics.MetricRegistryListener
Called when a Meter is added to the registry.
onMeterRemoved(String) - Method in class com.codahale.metrics.JmxReporter.JmxListener
 
onMeterRemoved(String) - Method in class com.codahale.metrics.MetricRegistryListener.Base
 
onMeterRemoved(String) - Method in interface com.codahale.metrics.MetricRegistryListener
Called when a Meter is removed from the registry.
onMetricAdded(String, Metric) - Method in class com.codahale.metrics.MetricRegistry
 
onMetricRemoved(String, Metric) - Method in class com.codahale.metrics.MetricRegistry
 
onTimerAdded(String, Timer) - Method in class com.codahale.metrics.JmxReporter.JmxListener
 
onTimerAdded(String, Timer) - Method in class com.codahale.metrics.MetricRegistryListener.Base
 
onTimerAdded(String, Timer) - Method in interface com.codahale.metrics.MetricRegistryListener
Called when a Timer is added to the registry.
onTimerRemoved(String) - Method in class com.codahale.metrics.JmxReporter.JmxListener
 
onTimerRemoved(String) - Method in class com.codahale.metrics.MetricRegistryListener.Base
 
onTimerRemoved(String) - Method in interface com.codahale.metrics.MetricRegistryListener
Called when a Timer is removed from the registry.
os - Variable in class com.codahale.metrics.jvm.FileDescriptorRatioGauge
 
otherMeter - Variable in class com.codahale.metrics.servlet.AbstractInstrumentedFilter
 
otherMetricName - Variable in class com.codahale.metrics.servlet.AbstractInstrumentedFilter
 
output - Variable in class com.codahale.metrics.ConsoleReporter.Builder
 
output - Variable in class com.codahale.metrics.ConsoleReporter
 
outputTo(PrintStream) - Method in class com.codahale.metrics.ConsoleReporter.Builder
Write to the given PrintStream.
outputTo(Logger) - Method in class com.codahale.metrics.Slf4jReporter.Builder
Log metrics to the given logger.

P

p0 - Variable in class com.codahale.metrics.Striped64.Cell
 
p1 - Variable in class com.codahale.metrics.Striped64.Cell
 
p2 - Variable in class com.codahale.metrics.Striped64.Cell
 
p3 - Variable in class com.codahale.metrics.Striped64.Cell
 
p4 - Variable in class com.codahale.metrics.Striped64.Cell
 
p5 - Variable in class com.codahale.metrics.Striped64.Cell
 
p6 - Variable in class com.codahale.metrics.Striped64.Cell
 
pad0 - Variable in class com.codahale.metrics.ThreadLocalRandom
 
pad1 - Variable in class com.codahale.metrics.ThreadLocalRandom
 
pad2 - Variable in class com.codahale.metrics.ThreadLocalRandom
 
pad3 - Variable in class com.codahale.metrics.ThreadLocalRandom
 
pad4 - Variable in class com.codahale.metrics.ThreadLocalRandom
 
pad5 - Variable in class com.codahale.metrics.ThreadLocalRandom
 
pad6 - Variable in class com.codahale.metrics.ThreadLocalRandom
 
pad7 - Variable in class com.codahale.metrics.ThreadLocalRandom
 
parseTimeUnit(String, TimeUnit) - Method in class com.codahale.metrics.servlets.MetricsServlet
 
pingServlet - Variable in class com.codahale.metrics.servlets.AdminServlet
 
PingServlet - Class in com.codahale.metrics.servlets
An HTTP servlets which outputs a text/plain "pong" response.
PingServlet() - Constructor for class com.codahale.metrics.servlets.PingServlet
 
pingUri - Variable in class com.codahale.metrics.servlets.AdminServlet
 
POOLS - Static variable in class com.codahale.metrics.jvm.BufferPoolMetricSet
 
prefix - Variable in class com.codahale.metrics.graphite.GraphiteReporter.Builder
 
prefix - Variable in class com.codahale.metrics.graphite.GraphiteReporter
 
prefix(String...) - Method in class com.codahale.metrics.graphite.GraphiteReporter
 
prefixedWith(String) - Method in class com.codahale.metrics.graphite.GraphiteReporter.Builder
Prefix all metric names with the given string.
PRIME - Static variable in class com.codahale.metrics.health.HealthCheck.Result
 
printCounter(Map.Entry<String, Counter>) - Method in class com.codahale.metrics.ConsoleReporter
 
printGauge(Map.Entry<String, Gauge>) - Method in class com.codahale.metrics.ConsoleReporter
 
printHistogram(Histogram) - Method in class com.codahale.metrics.ConsoleReporter
 
printMeter(Meter) - Method in class com.codahale.metrics.ConsoleReporter
 
printTimer(Timer) - Method in class com.codahale.metrics.ConsoleReporter
 
printWithBanner(String, char) - Method in class com.codahale.metrics.ConsoleReporter
 

Q

q0 - Variable in class com.codahale.metrics.Striped64.Cell
 
q1 - Variable in class com.codahale.metrics.Striped64.Cell
 
q2 - Variable in class com.codahale.metrics.Striped64.Cell
 
q3 - Variable in class com.codahale.metrics.Striped64.Cell
 
q4 - Variable in class com.codahale.metrics.Striped64.Cell
 
q5 - Variable in class com.codahale.metrics.Striped64.Cell
 
q6 - Variable in class com.codahale.metrics.Striped64.Cell
 
QUERYLESS_URL_AND_METHOD - Static variable in class com.codahale.metrics.httpclient.HttpClientMetricNameStrategies
 

R

rate - Variable in class com.codahale.metrics.EWMA
 
RATE_UNIT - Static variable in class com.codahale.metrics.servlets.MetricsServlet
 
rateFactor - Variable in class com.codahale.metrics.JmxReporter.JmxMeter
 
rateFactor - Variable in class com.codahale.metrics.json.MetricsModule.MeterSerializer
 
rateFactor - Variable in class com.codahale.metrics.json.MetricsModule.TimerSerializer
 
rateFactor - Variable in class com.codahale.metrics.ScheduledReporter
 
rateFor(String) - Method in class com.codahale.metrics.JmxReporter.MetricTimeUnits
 
rateOverrides - Variable in class com.codahale.metrics.JmxReporter.MetricTimeUnits
 
rateUnit - Variable in class com.codahale.metrics.ConsoleReporter.Builder
 
rateUnit - Variable in class com.codahale.metrics.CsvReporter.Builder
 
rateUnit - Variable in class com.codahale.metrics.graphite.GraphiteReporter.Builder
 
rateUnit - Variable in class com.codahale.metrics.JmxReporter.Builder
 
rateUnit - Variable in class com.codahale.metrics.JmxReporter.JmxMeter
 
rateUnit - Variable in class com.codahale.metrics.json.MetricsModule.MeterSerializer
 
rateUnit - Variable in class com.codahale.metrics.json.MetricsModule
 
rateUnit - Variable in class com.codahale.metrics.json.MetricsModule.TimerSerializer
 
rateUnit - Variable in class com.codahale.metrics.ScheduledReporter
 
rateUnit - Variable in class com.codahale.metrics.Slf4jReporter.Builder
 
Ratio(double, double) - Constructor for class com.codahale.metrics.RatioGauge.Ratio
 
RatioGauge - Class in com.codahale.metrics
A gauge which measures the ratio of one value to another.
RatioGauge() - Constructor for class com.codahale.metrics.RatioGauge
 
RatioGauge.Ratio - Class in com.codahale.metrics
A ratio of one quantity to another.
readObject(ObjectInputStream) - Method in class com.codahale.metrics.LongAdder
 
register(String, HealthCheck) - Method in class com.codahale.metrics.health.HealthCheckRegistry
Registers an application HealthCheck.
register(String, T) - Method in class com.codahale.metrics.MetricRegistry
Given a Metric, registers it under the given name.
registerAll(MetricSet) - Method in class com.codahale.metrics.MetricRegistry
Given a metric set, registers them.
registerAll(String, MetricSet) - Method in class com.codahale.metrics.MetricRegistry
 
registered - Variable in class com.codahale.metrics.JmxReporter.JmxListener
 
registerWith(MBeanServer) - Method in class com.codahale.metrics.JmxReporter.Builder
Register MBeans with the given MBeanServer.
REGISTRIES - Static variable in class com.codahale.metrics.SharedMetricRegistries
 
registry - Variable in class com.codahale.metrics.ConsoleReporter.Builder
 
registry - Variable in class com.codahale.metrics.CsvReporter.Builder
 
registry - Variable in class com.codahale.metrics.graphite.GraphiteReporter.Builder
 
registry - Variable in class com.codahale.metrics.httpclient.InstrumentedHttpClient
 
registry - Variable in class com.codahale.metrics.httpclient.InstrumentedRequestDirector
 
registry - Variable in class com.codahale.metrics.JmxReporter.Builder
 
registry - Variable in class com.codahale.metrics.JmxReporter
 
registry - Variable in class com.codahale.metrics.log4j.InstrumentedAppender
 
registry - Variable in class com.codahale.metrics.logback.InstrumentedAppender
 
registry - Variable in class com.codahale.metrics.ScheduledReporter
 
registry - Variable in class com.codahale.metrics.servlets.HealthCheckServlet
 
registry - Variable in class com.codahale.metrics.servlets.MetricsServlet
 
registry - Variable in class com.codahale.metrics.Slf4jReporter.Builder
 
REGISTRY_ATTRIBUTE - Static variable in class com.codahale.metrics.servlet.InstrumentedFilter
 
registryAttribute - Variable in class com.codahale.metrics.servlet.AbstractInstrumentedFilter
 
reloadAt - Variable in class com.codahale.metrics.CachedGauge
 
remove(String) - Method in class com.codahale.metrics.MetricRegistry
Removes the metric with the given name.
remove(String) - Static method in class com.codahale.metrics.SharedMetricRegistries
 
removeListener(MetricRegistryListener) - Method in class com.codahale.metrics.MetricRegistry
Removes a MetricRegistryListener from this registry's collection of listeners.
removeMatching(MetricFilter) - Method in class com.codahale.metrics.MetricRegistry
Removes all metrics which match the given filter.
report() - Method in class com.codahale.metrics.ScheduledReporter
Report the current values of all metrics in the registry.
report(long, String, String, String, Object...) - Method in class com.codahale.metrics.CsvReporter
 
report(SortedMap<String, Gauge>, SortedMap<String, Counter>, SortedMap<String, Histogram>, SortedMap<String, Meter>, SortedMap<String, Timer>) - Method in class com.codahale.metrics.ConsoleReporter
 
report(SortedMap<String, Gauge>, SortedMap<String, Counter>, SortedMap<String, Histogram>, SortedMap<String, Meter>, SortedMap<String, Timer>) - Method in class com.codahale.metrics.CsvReporter
 
report(SortedMap<String, Gauge>, SortedMap<String, Counter>, SortedMap<String, Histogram>, SortedMap<String, Meter>, SortedMap<String, Timer>) - Method in class com.codahale.metrics.graphite.GraphiteReporter
 
report(SortedMap<String, Gauge>, SortedMap<String, Counter>, SortedMap<String, Histogram>, SortedMap<String, Meter>, SortedMap<String, Timer>) - Method in class com.codahale.metrics.ScheduledReporter
Called periodically by the polling thread.
report(SortedMap<String, Gauge>, SortedMap<String, Counter>, SortedMap<String, Histogram>, SortedMap<String, Meter>, SortedMap<String, Timer>) - Method in class com.codahale.metrics.Slf4jReporter
 
reportCounter(long, String, Counter) - Method in class com.codahale.metrics.CsvReporter
 
reportCounter(String, Counter, long) - Method in class com.codahale.metrics.graphite.GraphiteReporter
 
reportGauge(long, String, Gauge) - Method in class com.codahale.metrics.CsvReporter
 
reportGauge(String, Gauge, long) - Method in class com.codahale.metrics.graphite.GraphiteReporter
 
reportHistogram(long, String, Histogram) - Method in class com.codahale.metrics.CsvReporter
 
reportHistogram(String, Histogram, long) - Method in class com.codahale.metrics.graphite.GraphiteReporter
 
reportMeter(long, String, Meter) - Method in class com.codahale.metrics.CsvReporter
 
reportMetered(String, Metered, long) - Method in class com.codahale.metrics.graphite.GraphiteReporter
 
reportTimer(long, String, Timer) - Method in class com.codahale.metrics.CsvReporter
 
reportTimer(String, Timer, long) - Method in class com.codahale.metrics.graphite.GraphiteReporter
 
requestTimer - Variable in class com.codahale.metrics.servlet.AbstractInstrumentedFilter
 
requiresLayout() - Method in class com.codahale.metrics.log4j.InstrumentedAppender
 
rescale(long, long) - Method in class com.codahale.metrics.ExponentiallyDecayingReservoir
 
RESCALE_THRESHOLD - Static variable in class com.codahale.metrics.ExponentiallyDecayingReservoir
 
rescaleIfNeeded() - Method in class com.codahale.metrics.ExponentiallyDecayingReservoir
 
reservoir - Variable in class com.codahale.metrics.Histogram
 
Reservoir - Interface in com.codahale.metrics
A statistically representative reservoir of a data stream.
reset() - Method in class com.codahale.metrics.LongAdder
Resets variables maintaining the sum to zero.
Result(boolean, String, Throwable) - Constructor for class com.codahale.metrics.health.HealthCheck.Result
 
retryUpdate(long, Striped64.HashCode, boolean) - Method in class com.codahale.metrics.Striped64
Handles cases of updates involving initialization, resizing, creating new Cells, and/or contention.
rnd - Variable in class com.codahale.metrics.ThreadLocalRandom
The random seed.
rng - Static variable in class com.codahale.metrics.Striped64.HashCode
 
runHealthCheck(String) - Method in class com.codahale.metrics.health.HealthCheckRegistry
Runs the health check with the given name.
runHealthChecks() - Method in class com.codahale.metrics.health.HealthCheckRegistry
Runs the registered health checks and returns a map of the results.
runHealthChecks() - Method in class com.codahale.metrics.servlets.HealthCheckServlet
 
runHealthChecks(ExecutorService) - Method in class com.codahale.metrics.health.HealthCheckRegistry
Runs the registered health checks in parallel and returns a map of the results.
runtime - Variable in class com.codahale.metrics.JvmAttributeGaugeSet
 

S

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.graphite.Graphite
 
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
Creates a new ScheduledReporter instance.
ScheduledReporter.NamedThreadFactory - Class in com.codahale.metrics
A simple named thread factory.
SECONDS_PER_MINUTE - Static variable in class com.codahale.metrics.EWMA
 
send(String, String, long) - Method in class com.codahale.metrics.graphite.Graphite
Sends the given measurement to the server.
sendError(int) - Method in class com.codahale.metrics.servlet.AbstractInstrumentedFilter.StatusExposingServletResponse
 
sendError(int, String) - Method in class com.codahale.metrics.servlet.AbstractInstrumentedFilter.StatusExposingServletResponse
 
serialize(Counter, JsonGenerator, SerializerProvider) - Method in class com.codahale.metrics.json.MetricsModule.CounterSerializer
 
serialize(Gauge, JsonGenerator, SerializerProvider) - Method in class com.codahale.metrics.json.MetricsModule.GaugeSerializer
 
serialize(HealthCheck.Result, JsonGenerator, SerializerProvider) - Method in class com.codahale.metrics.json.HealthCheckModule.HealthCheckResultSerializer
 
serialize(Histogram, JsonGenerator, SerializerProvider) - Method in class com.codahale.metrics.json.MetricsModule.HistogramSerializer
 
serialize(Meter, JsonGenerator, SerializerProvider) - Method in class com.codahale.metrics.json.MetricsModule.MeterSerializer
 
serialize(MetricRegistry, JsonGenerator, SerializerProvider) - Method in class com.codahale.metrics.json.MetricsModule.MetricRegistrySerializer
 
serialize(Timer, JsonGenerator, SerializerProvider) - Method in class com.codahale.metrics.json.MetricsModule.TimerSerializer
 
serializeThrowable(JsonGenerator, Throwable, String) - Method in class com.codahale.metrics.json.HealthCheckModule.HealthCheckResultSerializer
 
serialVersionUID - Static variable in class com.codahale.metrics.LongAdder
 
serialVersionUID - Static variable in class com.codahale.metrics.servlets.AdminServlet
 
serialVersionUID - Static variable in class com.codahale.metrics.servlets.HealthCheckServlet
 
serialVersionUID - Static variable in class com.codahale.metrics.servlets.MetricsServlet
 
serialVersionUID - Static variable in class com.codahale.metrics.servlets.PingServlet
 
serialVersionUID - Static variable in class com.codahale.metrics.servlets.ThreadDumpServlet
 
serialVersionUID - Static variable in class com.codahale.metrics.ThreadLocalRandom
 
SERVER_ERROR - Static variable in class com.codahale.metrics.servlet.InstrumentedFilter
 
service(HttpServletRequest, HttpServletResponse) - Method in class com.codahale.metrics.servlets.AdminServlet
 
serviceName - Variable in class com.codahale.metrics.servlets.AdminServlet
 
setSeed(long) - Method in class com.codahale.metrics.ThreadLocalRandom
Throws UnsupportedOperationException.
setStatus(int) - Method in class com.codahale.metrics.servlet.AbstractInstrumentedFilter.StatusExposingServletResponse
 
setupModule(Module.SetupContext) - Method in class com.codahale.metrics.json.HealthCheckModule
 
setupModule(Module.SetupContext) - Method in class com.codahale.metrics.json.MetricsModule
 
SharedMetricRegistries - Class in com.codahale.metrics
A map of shared, named metric registries.
SharedMetricRegistries() - Constructor for class com.codahale.metrics.SharedMetricRegistries
 
shouldLoad() - Method in class com.codahale.metrics.CachedGauge
 
SHOW_SAMPLES - Static variable in class com.codahale.metrics.servlets.MetricsServlet
 
showSamples - Variable in class com.codahale.metrics.json.MetricsModule.HistogramSerializer
 
showSamples - Variable in class com.codahale.metrics.json.MetricsModule
 
showSamples - Variable in class com.codahale.metrics.json.MetricsModule.TimerSerializer
 
size - Variable in class com.codahale.metrics.ExponentiallyDecayingReservoir
 
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.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
 
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(MetricRegistry, Logger, Marker, TimeUnit, TimeUnit, MetricFilter) - Constructor for class com.codahale.metrics.Slf4jReporter
 
Slf4jReporter.Builder - Class in com.codahale.metrics
A builder for CsvReporter instances.
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
Creates a new SlidingTimeWindowReservoir with the given window of time.
SlidingTimeWindowReservoir(long, TimeUnit, Clock) - Constructor for class com.codahale.metrics.SlidingTimeWindowReservoir
Creates a new SlidingTimeWindowReservoir with the given clock and window of time.
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
Creates a new SlidingWindowReservoir which stores the last size measurements.
Snapshot - Class in com.codahale.metrics
A statistical snapshot of a Snapshot.
Snapshot(long[]) - Constructor for class com.codahale.metrics.Snapshot
Create a new Snapshot with the given values.
Snapshot(Collection<Long>) - Constructor for class com.codahale.metrics.Snapshot
Create a new Snapshot with the given values.
socket - Variable in class com.codahale.metrics.graphite.Graphite
 
socketFactory - Variable in class com.codahale.metrics.graphite.Graphite
 
specificDurationUnits - Variable in class com.codahale.metrics.JmxReporter.Builder
 
specificDurationUnits(Map<String, TimeUnit>) - Method in class com.codahale.metrics.JmxReporter.Builder
Use specific TimeUnits for the duration of the metrics with these names.
specificRateUnits - Variable in class com.codahale.metrics.JmxReporter.Builder
 
specificRateUnits(Map<String, TimeUnit>) - Method in class com.codahale.metrics.JmxReporter.Builder
Use specific TimeUnits for the rate of the metrics with these names.
start() - Method in class com.codahale.metrics.JmxReporter
Starts the reporter.
start() - Method in class com.codahale.metrics.logback.InstrumentedAppender
 
start(long, TimeUnit) - Method in class com.codahale.metrics.ScheduledReporter
Starts the reporter polling at the given period.
startTime - Variable in class com.codahale.metrics.ExponentiallyDecayingReservoir
 
startTime - Variable in class com.codahale.metrics.Meter
 
startTime - Variable in class com.codahale.metrics.Timer.Context
 
StatusExposingServletResponse(HttpServletResponse) - Constructor for class com.codahale.metrics.servlet.AbstractInstrumentedFilter.StatusExposingServletResponse
 
stop() - Method in class com.codahale.metrics.JmxReporter
Stops the reporter.
stop() - Method in class com.codahale.metrics.ScheduledReporter
Stops the reporter and shuts down its thread of execution.
stop() - Method in class com.codahale.metrics.Timer.Context
Stops recording the elapsed time, updates the timer and returns the elapsed time in nanoseconds.
Striped64 - Class in com.codahale.metrics
A package-local class holding common representation and mechanics for classes supporting dynamic striping on 64bit values.
Striped64() - Constructor for class com.codahale.metrics.Striped64
Package-private default constructor
Striped64.Cell - Class in com.codahale.metrics
Padded variant of AtomicLong supporting only raw accesses plus CAS.
Striped64.HashCode - Class in com.codahale.metrics
Holder for the thread-local hash code.
Striped64.ThreadHashCode - Class in com.codahale.metrics
The corresponding ThreadLocal class
sum() - Method in class com.codahale.metrics.LongAdder
Returns the current sum.
sumThenReset() - Method in class com.codahale.metrics.LongAdder
Equivalent in effect to LongAdder.sum() followed by LongAdder.reset().

T

TEMPLATE - Static variable in class com.codahale.metrics.servlets.AdminServlet
 
THREAD_MX_BEAN - Static variable in class com.codahale.metrics.Clock.CpuTimeClock
 
ThreadDeadlockDetector - Class in com.codahale.metrics.jvm
A utility class for detecting deadlocked threads.
ThreadDeadlockDetector() - Constructor for class com.codahale.metrics.jvm.ThreadDeadlockDetector
Creates a new detector.
ThreadDeadlockDetector(ThreadMXBean) - Constructor for class com.codahale.metrics.jvm.ThreadDeadlockDetector
Creates a new detector using the given ThreadMXBean.
ThreadDeadlockHealthCheck - Class in com.codahale.metrics.health.jvm
A health check which returns healthy if no threads are deadlocked.
ThreadDeadlockHealthCheck() - Constructor for class com.codahale.metrics.health.jvm.ThreadDeadlockHealthCheck
Creates a new health check.
ThreadDeadlockHealthCheck(ThreadDeadlockDetector) - Constructor for class com.codahale.metrics.health.jvm.ThreadDeadlockHealthCheck
Creates a new health check with the given detector.
threadDump - Variable in class com.codahale.metrics.servlets.ThreadDumpServlet
 
ThreadDump - Class in com.codahale.metrics.jvm
A convenience class for getting a thread dump.
ThreadDump(ThreadMXBean) - Constructor for class com.codahale.metrics.jvm.ThreadDump
 
threadDumpServlet - Variable in class com.codahale.metrics.servlets.AdminServlet
 
ThreadDumpServlet - Class in com.codahale.metrics.servlets
An HTTP servlets which outputs a text/plain dump of all threads in the VM.
ThreadDumpServlet() - Constructor for class com.codahale.metrics.servlets.ThreadDumpServlet
 
threadHashCode - Static variable in class com.codahale.metrics.Striped64
Static per-thread hash codes.
ThreadHashCode() - Constructor for class com.codahale.metrics.Striped64.ThreadHashCode
 
ThreadLocalRandom - Class in com.codahale.metrics
Copied directly from the JSR-166 project.
ThreadLocalRandom() - Constructor for class com.codahale.metrics.ThreadLocalRandom
Constructor called only by localRandom.initialValue.
threadMXBean - Variable in class com.codahale.metrics.jvm.ThreadDump
 
threadNumber - Variable in class com.codahale.metrics.ScheduledReporter.NamedThreadFactory
 
threads - Variable in class com.codahale.metrics.jvm.ThreadDeadlockDetector
 
threads - Variable in class com.codahale.metrics.jvm.ThreadStatesGaugeSet
 
ThreadStatesGaugeSet - Class in com.codahale.metrics.jvm
A set of gauges for the number of threads in their various states and deadlock detection.
ThreadStatesGaugeSet() - Constructor for class com.codahale.metrics.jvm.ThreadStatesGaugeSet
Creates a new set of gauges using the default MXBeans.
ThreadStatesGaugeSet(ThreadMXBean, ThreadDeadlockDetector) - Constructor for class com.codahale.metrics.jvm.ThreadStatesGaugeSet
Creates a new set of gauges using the given MXBean and detector.
threadsUri - Variable in class com.codahale.metrics.servlets.AdminServlet
 
tick() - Method in class com.codahale.metrics.EWMA
Mark the passage of time and decay the current rate accordingly.
TICK_INTERVAL - Static variable in class com.codahale.metrics.Meter
 
tickIfNecessary() - Method in class com.codahale.metrics.Meter
 
time() - Method in class com.codahale.metrics.Timer
Returns a new Timer.Context.
time(Callable<T>) - Method in class com.codahale.metrics.Timer
Times and records the duration of event.
Timed - Annotation Type in com.codahale.metrics.annotation
An annotation for marking a method of an annotated object as timed.
timeoutNS - Variable in class com.codahale.metrics.CachedGauge
 
timer - Variable in class com.codahale.metrics.Timer.Context
 
timer(String) - Method in class com.codahale.metrics.MetricRegistry
Creates a new Timer and registers it under the given name.
timer(HttpRequest) - Method in class com.codahale.metrics.httpclient.InstrumentedRequestDirector
 
Timer - Class in com.codahale.metrics
A timer metric which aggregates timing durations and provides duration statistics, plus throughput statistics via Meter.
Timer() - Constructor for class com.codahale.metrics.Timer
Creates a new Timer using an ExponentiallyDecayingReservoir and the default Clock.
Timer(Reservoir) - Constructor for class com.codahale.metrics.Timer
Creates a new Timer that uses the given Reservoir.
Timer(Reservoir, Clock) - Constructor for class com.codahale.metrics.Timer
Creates a new Timer that uses the given Reservoir and Clock.
Timer.Context - Class in com.codahale.metrics
A timing context.
TIMERS - Static variable in interface com.codahale.metrics.MetricRegistry.MetricBuilder
 
TimerSerializer(TimeUnit, TimeUnit, boolean) - Constructor for class com.codahale.metrics.json.MetricsModule.TimerSerializer
 
timeUnits - Variable in class com.codahale.metrics.JmxReporter.JmxListener
 
timeZone - Variable in class com.codahale.metrics.ConsoleReporter.Builder
 
toString() - Method in class com.codahale.metrics.health.HealthCheck.Result
 
toString() - Method in class com.codahale.metrics.LongAdder
Returns the String representation of the LongAdder.sum().
toString() - Method in class com.codahale.metrics.RatioGauge.Ratio
 
trace - Variable in class com.codahale.metrics.log4j.InstrumentedAppender
 
trace - Variable in class com.codahale.metrics.logback.InstrumentedAppender
 
transform(F) - Method in class com.codahale.metrics.DerivativeGauge
Transforms the value of the base gauge to the value of this gauge.
trim() - Method in class com.codahale.metrics.SlidingTimeWindowReservoir
 
TRIM_THRESHOLD - Static variable in class com.codahale.metrics.SlidingTimeWindowReservoir
 

U

uncounted - Variable in class com.codahale.metrics.EWMA
 
unhealthy(String) - Static method in class com.codahale.metrics.health.HealthCheck.Result
Returns an unhealthy HealthCheck.Result with the given message.
unhealthy(String, Object...) - Static method in class com.codahale.metrics.health.HealthCheck.Result
Returns an unhealthy HealthCheck.Result with a formatted message.
unhealthy(Throwable) - Static method in class com.codahale.metrics.health.HealthCheck.Result
Returns an unhealthy HealthCheck.Result with the given error.
UniformReservoir - Class in com.codahale.metrics
A random sampling reservoir of a stream of longs.
UniformReservoir() - Constructor for class com.codahale.metrics.UniformReservoir
Creates a new UniformReservoir of 1028 elements, which offers a 99.9% confidence level with a 5% margin of error assuming a normal distribution.
UniformReservoir(int) - Constructor for class com.codahale.metrics.UniformReservoir
Creates a new UniformReservoir.
unlockForRegularUsage() - Method in class com.codahale.metrics.ExponentiallyDecayingReservoir
 
unlockForRescale() - Method in class com.codahale.metrics.ExponentiallyDecayingReservoir
 
unregister(String) - Method in class com.codahale.metrics.health.HealthCheckRegistry
Unregisters the application HealthCheck with the given name.
unregisterAll() - Method in class com.codahale.metrics.JmxReporter.JmxListener
 
UNSAFE - Static variable in class com.codahale.metrics.Striped64.Cell
 
UNSAFE - Static variable in class com.codahale.metrics.Striped64
 
update(int) - Method in class com.codahale.metrics.Histogram
Adds a recorded value.
update(long) - Method in class com.codahale.metrics.EWMA
Update the moving average with a new value.
update(long) - Method in class com.codahale.metrics.ExponentiallyDecayingReservoir
 
update(long) - Method in class com.codahale.metrics.Histogram
Adds a recorded value.
update(long) - Method in interface com.codahale.metrics.Reservoir
Adds a new recorded value to the reservoir.
update(long) - Method in class com.codahale.metrics.SlidingTimeWindowReservoir
 
update(long) - Method in class com.codahale.metrics.SlidingWindowReservoir
 
update(long) - Method in class com.codahale.metrics.Timer
 
update(long) - Method in class com.codahale.metrics.UniformReservoir
 
update(long, long) - Method in class com.codahale.metrics.ExponentiallyDecayingReservoir
Adds an old value with a fixed timestamp to the reservoir.
update(long, TimeUnit) - Method in class com.codahale.metrics.Timer
Adds a recorded duration.
UserTimeClock() - Constructor for class com.codahale.metrics.Clock.UserTimeClock
 
UTF_8 - Static variable in class com.codahale.metrics.CsvReporter
 
UTF_8 - Static variable in class com.codahale.metrics.graphite.Graphite
 
UTF_8 - Static variable in class com.codahale.metrics.jvm.ThreadDump
 
UTF_8 - Static variable in class com.codahale.metrics.Snapshot
 

V

value - Variable in class com.codahale.metrics.CachedGauge
 
value - Variable in class com.codahale.metrics.Striped64.Cell
 
valueOffset - Static variable in class com.codahale.metrics.Striped64.Cell
 
values - Variable in class com.codahale.metrics.ExponentiallyDecayingReservoir
 
values - Variable in class com.codahale.metrics.Snapshot
 
values - Variable in class com.codahale.metrics.UniformReservoir
 
values() - Method in class com.codahale.metrics.JmxReporter.JmxHistogram
 
values() - Method in interface com.codahale.metrics.JmxReporter.JmxHistogramMBean
 
values() - Method in class com.codahale.metrics.JmxReporter.JmxTimer
 
values() - Method in interface com.codahale.metrics.JmxReporter.JmxTimerMBean
 
version() - Method in class com.codahale.metrics.json.HealthCheckModule
 
version() - Method in class com.codahale.metrics.json.MetricsModule
 
VERSION - Static variable in class com.codahale.metrics.json.MetricsModule
 

W

warn - Variable in class com.codahale.metrics.log4j.InstrumentedAppender
 
warn - Variable in class com.codahale.metrics.logback.InstrumentedAppender
 
weight(long) - Method in class com.codahale.metrics.ExponentiallyDecayingReservoir
 
WHITESPACE - Static variable in class com.codahale.metrics.graphite.Graphite
 
WHITESPACE - Static variable in class com.codahale.metrics.jvm.GarbageCollectorMetricSet
 
WHITESPACE - Static variable in class com.codahale.metrics.jvm.MemoryUsageGaugeSet
 
window - Variable in class com.codahale.metrics.SlidingTimeWindowReservoir
 
withClock(Clock) - Method in class com.codahale.metrics.ConsoleReporter.Builder
Use the given Clock instance for the time.
withClock(Clock) - Method in class com.codahale.metrics.CsvReporter.Builder
Use the given Clock instance for the time.
withClock(Clock) - Method in class com.codahale.metrics.graphite.GraphiteReporter.Builder
Use the given Clock instance for the time.
writeObject(ObjectOutputStream) - Method in class com.codahale.metrics.LongAdder
 
writer - Variable in class com.codahale.metrics.graphite.Graphite
 
A B C D E F G H I J L M N O P Q R S T U V W 
All Classes All Packages