Skip navigation links
A B C D E F G H I J L M N O P Q R S T U V W 

A

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.
accept(int) - Method in class com.codahale.metrics.jetty8.InstrumentedBlockingChannelConnector
 
accept(int) - Method in class com.codahale.metrics.jetty8.InstrumentedSelectChannelConnector
 
accept(int) - Method in class com.codahale.metrics.jetty8.InstrumentedSocketConnector
 
accept(int) - Method in class com.codahale.metrics.jetty8.InstrumentedSslSelectChannelConnector
 
accept(int) - Method in class com.codahale.metrics.jetty8.InstrumentedSslSocketConnector
 
activateOptions() - Method in class com.codahale.metrics.log4j.InstrumentedAppender
 
adapt(ResourceMethodDispatchProvider) - Method in class com.codahale.metrics.jersey.InstrumentedResourceMethodDispatchAdapter
 
add(String, HealthCheckRegistry) - Static method in class com.codahale.metrics.health.SharedHealthCheckRegistries
 
add(String, MetricRegistry) - Static method in class com.codahale.metrics.SharedMetricRegistries
 
addListener(HealthCheckRegistryListener) - Method in class com.codahale.metrics.health.HealthCheckRegistry
Adds a HealthCheckRegistryListener to a collection of listeners that will be notified on health check registration.
addListener(MetricRegistryListener) - Method in class com.codahale.metrics.MetricRegistry
Adds a MetricRegistryListener to a collection of listeners that will be notified on metric creation.
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 - 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
 
append(LoggingEvent) - Method in class com.codahale.metrics.log4j.InstrumentedAppender
 
append(LogEvent) - Method in class com.codahale.metrics.log4j2.InstrumentedAppender
 
append(ILoggingEvent) - Method in class com.codahale.metrics.logback.InstrumentedAppender
 
Async - Annotation Type in com.codahale.metrics.health.annotation
An annotation for marking asynchronous health check execution.
Async.InitialState - Enum in com.codahale.metrics.health.annotation
Enum representing the initial health states.
Async.ScheduleType - Enum in com.codahale.metrics.health.annotation
Enum representing the possible schedule types.
awaitTermination(long, TimeUnit) - Method in class com.codahale.metrics.InstrumentedExecutorService
 
awaitTermination(long, TimeUnit) - Method in class com.codahale.metrics.InstrumentedScheduledExecutorService

B

Base() - Constructor for class com.codahale.metrics.MetricRegistryListener.Base
 
BasicSqlNameStrategy - Class in com.codahale.metrics.jdbi.strategies
 
BasicSqlNameStrategy() - Constructor for class com.codahale.metrics.jdbi.strategies.BasicSqlNameStrategy
 
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(File) - Method in class com.codahale.metrics.CsvReporter.Builder
Builds a CsvReporter with the given properties, writing .csv files to the given directory.
build(GMetric) - Method in class com.codahale.metrics.ganglia.GangliaReporter.Builder
Builds a GangliaReporter with the given properties, announcing metrics to the given GMetric client.
build(GMetric...) - Method in class com.codahale.metrics.ganglia.GangliaReporter.Builder
Builds a GangliaReporter with the given properties, announcing metrics to the given GMetric client.
build(Graphite) - Method in class com.codahale.metrics.graphite.GraphiteReporter.Builder
Builds a GraphiteReporter with the given properties, sending metrics using the given GraphiteSender.
build(GraphiteSender) - Method in class com.codahale.metrics.graphite.GraphiteReporter.Builder
Builds a GraphiteReporter with the given properties, sending metrics using the given GraphiteSender.
build() - Method in class com.codahale.metrics.health.HealthCheck.ResultBuilder
 
build() - Method in class com.codahale.metrics.httpasyncclient.InstrumentedNHttpClientBuilder
 
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.
builder() - Static method in class com.codahale.metrics.health.HealthCheck.Result
buildMap() - Method in class com.codahale.metrics.MetricRegistry
Creates a new ConcurrentMap implementation for use inside the registry.

C

CachedGauge - Annotation Type in com.codahale.metrics.annotation
An annotation for marking a method as a gauge, which caches the result for a specified time.
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.
CachedThreadStatesGaugeSet - Class in com.codahale.metrics.jvm
A variation of ThreadStatesGaugeSet that caches the ThreadInfo[] objects for a given interval.
CachedThreadStatesGaugeSet(ThreadMXBean, ThreadDeadlockDetector, long, TimeUnit) - Constructor for class com.codahale.metrics.jvm.CachedThreadStatesGaugeSet
Creates a new set of gauges using the given MXBean and detector.
CachedThreadStatesGaugeSet(long, TimeUnit) - Constructor for class com.codahale.metrics.jvm.CachedThreadStatesGaugeSet
Creates a new set of gauges using the default MXBeans.
CALLBACK_PARAM - Static variable in class com.codahale.metrics.servlets.MetricsServlet
 
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
 
CHECK_EMPTY - Static variable in class com.codahale.metrics.jdbi.strategies.NameStrategies
 
CHECK_RAW - Static variable in class com.codahale.metrics.jdbi.strategies.NameStrategies
 
chooseName(String, boolean, ResourceMethod, String...) - Static method in class com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener
 
ClassLoadingGaugeSet - Class in com.codahale.metrics.jvm
A set of gauges for JVM classloader usage.
ClassLoadingGaugeSet() - Constructor for class com.codahale.metrics.jvm.ClassLoadingGaugeSet
 
ClassLoadingGaugeSet(ClassLoadingMXBean) - Constructor for class com.codahale.metrics.jvm.ClassLoadingGaugeSet
 
clear() - Static method in class com.codahale.metrics.health.SharedHealthCheckRegistries
 
clear() - Static method in class com.codahale.metrics.SharedMetricRegistries
 
Clock - Class in com.codahale.metrics
An abstraction for how time passes.
Clock() - Constructor for class com.codahale.metrics.Clock
 
Clock.CpuTimeClock - Class in com.codahale.metrics
A clock implementation which returns the current thread's CPU time.
Clock.UserTimeClock - Class in com.codahale.metrics
A clock implementation which returns the current time in epoch nanoseconds.
close() - Method in class com.codahale.metrics.graphite.Graphite
 
close() - Method in class com.codahale.metrics.graphite.GraphiteRabbitMQ
 
close() - Method in class com.codahale.metrics.graphite.GraphiteUDP
 
close() - Method in class com.codahale.metrics.graphite.PickledGraphite
 
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
Equivalent to calling Timer.Context.stop().
collect(long, StatementContext) - Method in class com.codahale.metrics.jdbi.InstrumentedTimingCollector
 
com.codahale.metrics - package com.codahale.metrics
 
com.codahale.metrics.annotation - package com.codahale.metrics.annotation
 
com.codahale.metrics.benchmarks - package com.codahale.metrics.benchmarks
 
com.codahale.metrics.ehcache - package com.codahale.metrics.ehcache
 
com.codahale.metrics.ganglia - package com.codahale.metrics.ganglia
 
com.codahale.metrics.graphite - package com.codahale.metrics.graphite
 
com.codahale.metrics.health - package com.codahale.metrics.health
 
com.codahale.metrics.health.annotation - package com.codahale.metrics.health.annotation
 
com.codahale.metrics.health.jvm - package com.codahale.metrics.health.jvm
 
com.codahale.metrics.httpasyncclient - package com.codahale.metrics.httpasyncclient
 
com.codahale.metrics.httpclient - package com.codahale.metrics.httpclient
 
com.codahale.metrics.jcache - package com.codahale.metrics.jcache
 
com.codahale.metrics.jdbi - package com.codahale.metrics.jdbi
 
com.codahale.metrics.jdbi.strategies - package com.codahale.metrics.jdbi.strategies
 
com.codahale.metrics.jersey - package com.codahale.metrics.jersey
 
com.codahale.metrics.jersey2 - package com.codahale.metrics.jersey2
 
com.codahale.metrics.jetty8 - package com.codahale.metrics.jetty8
 
com.codahale.metrics.jetty9 - package com.codahale.metrics.jetty9
 
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.log4j2 - package com.codahale.metrics.log4j2
 
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
 
configure(FeatureContext) - Method in class com.codahale.metrics.jersey2.MetricsFeature
A call-back method called when the feature is to be enabled in a given runtime configuration scope.
connect() - Method in class com.codahale.metrics.graphite.Graphite
 
connect() - Method in class com.codahale.metrics.graphite.GraphiteRabbitMQ
 
connect() - Method in interface com.codahale.metrics.graphite.GraphiteSender
Connects to the server.
connect() - Method in class com.codahale.metrics.graphite.GraphiteUDP
 
connect() - Method in class com.codahale.metrics.graphite.PickledGraphite
 
connectionClosed(Connection) - Method in class com.codahale.metrics.jetty8.InstrumentedBlockingChannelConnector
 
connectionClosed(Connection) - Method in class com.codahale.metrics.jetty8.InstrumentedSelectChannelConnector
 
connectionClosed(Connection) - Method in class com.codahale.metrics.jetty8.InstrumentedSocketConnector
 
connectionClosed(Connection) - Method in class com.codahale.metrics.jetty8.InstrumentedSslSelectChannelConnector
 
connectionClosed(Connection) - Method in class com.codahale.metrics.jetty8.InstrumentedSslSocketConnector
 
connectionOpened(Connection) - Method in class com.codahale.metrics.jetty8.InstrumentedBlockingChannelConnector
 
connectionOpened(Connection) - Method in class com.codahale.metrics.jetty8.InstrumentedSelectChannelConnector
 
connectionOpened(Connection) - Method in class com.codahale.metrics.jetty8.InstrumentedSocketConnector
 
connectionOpened(Connection) - Method in class com.codahale.metrics.jetty8.InstrumentedSslSelectChannelConnector
 
connectionOpened(Connection) - Method in class com.codahale.metrics.jetty8.InstrumentedSslSocketConnector
 
ConsoleReporter - Class in com.codahale.metrics
A reporter which outputs measurements to a PrintStream, like System.out.
ConsoleReporter.Builder - Class in com.codahale.metrics
A builder for ConsoleReporter instances.
CONTEXT_CLASS - Static variable in class com.codahale.metrics.jdbi.strategies.NameStrategies
 
CONTEXT_NAME - Static variable in class com.codahale.metrics.jdbi.strategies.NameStrategies
 
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
 
ContextNameStrategy - Class in com.codahale.metrics.jdbi.strategies
Adds statistics for JDBI queries that set the NameStrategies.STATEMENT_GROUP and NameStrategies.STATEMENT_NAME for group based display.
ContextNameStrategy() - Constructor for class com.codahale.metrics.jdbi.strategies.ContextNameStrategy
 
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.ganglia.GangliaReporter.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.ganglia.GangliaReporter.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.
Counted - Annotation Type in com.codahale.metrics.annotation
An annotation for marking a method of an annotated object as counted.
Counter - Class in com.codahale.metrics
An incrementing and decrementing counter metric.
Counter() - Constructor for class com.codahale.metrics.Counter
 
counter(String) - Method in class com.codahale.metrics.MetricRegistry
Return the Counter registered under this name; or create and register a new Counter if none is registered.
counter(String, MetricRegistry.MetricSupplier<Counter>) - Method in class com.codahale.metrics.MetricRegistry
Return the Counter registered under this name; or create and register a new Counter using the provided MetricSupplier if none is registered.
CounterBenchmark - Class in com.codahale.metrics.benchmarks
 
CounterBenchmark() - Constructor for class com.codahale.metrics.benchmarks.CounterBenchmark
 
Counting - Interface in com.codahale.metrics
An interface for metric types which have counts.
CPU_PROFILE_URI_PARAM_KEY - Static variable in class com.codahale.metrics.servlets.AdminServlet
 
CpuProfileServlet - Class in com.codahale.metrics.servlets
An HTTP servlets which outputs a pprof parseable response.
CpuProfileServlet() - Constructor for class com.codahale.metrics.servlets.CpuProfileServlet
 
CpuTimeClock() - Constructor for class com.codahale.metrics.Clock.CpuTimeClock
 
createAppender(String, String) - Static method in class com.codahale.metrics.log4j2.InstrumentedAppender
 
createDecoratedEhcache(Ehcache, Properties) - Method in class com.codahale.metrics.ehcache.InstrumentedCacheDecoratorFactory
 
createDefault(MetricRegistry) - Static method in class com.codahale.metrics.httpclient.InstrumentedHttpClients
 
createDefault(MetricRegistry, HttpClientMetricNameStrategy) - Static method in class com.codahale.metrics.httpclient.InstrumentedHttpClients
 
createDefaultDecoratedEhcache(Ehcache, Properties) - Method in class com.codahale.metrics.ehcache.InstrumentedCacheDecoratorFactory
 
createName(String, String, String) - Method in class com.codahale.metrics.DefaultObjectNameFactory
 
createName(String, String, String) - Method in interface com.codahale.metrics.ObjectNameFactory
 
createsObjectNamesWith(ObjectNameFactory) - Method in class com.codahale.metrics.JmxReporter.Builder
 
CsvFileProvider - Interface in com.codahale.metrics
This interface allows a pluggable implementation of what file names the CsvReporter will write to.
CsvReporter - Class in com.codahale.metrics
A reporter which creates a comma-separated values file of the measurements for each metric.
CsvReporter.Builder - Class in com.codahale.metrics
A builder for CsvReporter instances.
custom(MetricRegistry) - Static method in class com.codahale.metrics.httpclient.InstrumentedHttpClients
 
custom(MetricRegistry, HttpClientMetricNameStrategy) - Static method in class com.codahale.metrics.httpclient.InstrumentedHttpClients
 

D

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.
DEFAULT_CPU_PROFILE_URI - Static variable in class com.codahale.metrics.servlets.AdminServlet
 
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_REGISTRY - Static variable in class com.codahale.metrics.logback.InstrumentedAppender
 
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.
DefaultObjectNameFactory - Class in com.codahale.metrics
 
DefaultObjectNameFactory() - Constructor for class com.codahale.metrics.DefaultObjectNameFactory
 
DelegatingStatementNameStrategy - Class in com.codahale.metrics.jdbi.strategies
 
DelegatingStatementNameStrategy(StatementNameStrategy...) - Constructor for class com.codahale.metrics.jdbi.strategies.DelegatingStatementNameStrategy
 
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
 
disabledMetricAttributes(Set<MetricAttribute>) - Method in class com.codahale.metrics.ganglia.GangliaReporter.Builder
Don't report the passed metric attributes for all metrics (e.g.
disabledMetricAttributes(Set<MetricAttribute>) - Method in class com.codahale.metrics.graphite.GraphiteReporter.Builder
Don't report the passed metric attributes for all metrics (e.g.
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.CpuProfileServlet
 
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
 
doProfile(OutputStream, int, int, Thread.State) - Method in class com.codahale.metrics.servlets.CpuProfileServlet
 
doStart() - Method in class com.codahale.metrics.jetty9.InstrumentedHandler
 
doStart() - Method in class com.codahale.metrics.jetty9.InstrumentedQueuedThreadPool
 
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.
dump(OutputStream) - Method in class com.codahale.metrics.UniformSnapshot
Writes the values of the snapshot to the given stream.
dump(OutputStream) - Method in class com.codahale.metrics.WeightedSnapshot
Writes the values of the snapshot to the given stream.
DURATION_UNIT - Static variable in class com.codahale.metrics.servlets.MetricsServlet
 

E

equals(Object) - Method in class com.codahale.metrics.health.HealthCheck.Result
 
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(HttpRequest, HttpClientConnection, HttpContext) - Method in class com.codahale.metrics.httpclient.InstrumentedHttpRequestExecutor
 
execute(Runnable) - Method in class com.codahale.metrics.InstrumentedExecutorService
execute(Runnable) - Method in class com.codahale.metrics.InstrumentedScheduledExecutorService
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

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(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.ganglia.GangliaReporter.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.
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.
FixedNameCsvFileProvider - Class in com.codahale.metrics
This implementation of the CsvFileProvider will always return the same name for the same metric.
FixedNameCsvFileProvider() - Constructor for class com.codahale.metrics.FixedNameCsvFileProvider
 
flush() - Method in class com.codahale.metrics.graphite.Graphite
 
flush() - Method in class com.codahale.metrics.graphite.GraphiteRabbitMQ
 
flush() - Method in interface com.codahale.metrics.graphite.GraphiteSender
Flushes buffer, if applicable
flush() - Method in class com.codahale.metrics.graphite.GraphiteUDP
 
flush() - Method in class com.codahale.metrics.graphite.PickledGraphite
 
format(double) - 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.ganglia.GangliaReporter
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

GangliaReporter - Class in com.codahale.metrics.ganglia
A reporter which announces metric values to a Ganglia cluster.
GangliaReporter.Builder - Class in com.codahale.metrics.ganglia
A builder for GangliaReporter instances.
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.
Gauge - Annotation Type in com.codahale.metrics.annotation
An annotation for marking a method of an annotated object as a gauge.
Gauge<T> - Interface in com.codahale.metrics
A gauge metric is an instantaneous reading of a particular value.
gauge(String, MetricRegistry.MetricSupplier<Gauge>) - Method in class com.codahale.metrics.MetricRegistry
Return the Gauge registered under this name; or create and register a new Gauge using the provided MetricSupplier if none is registered.
get(Object) - Method in class com.codahale.metrics.ehcache.InstrumentedEhcache
 
get(Serializable) - Method in class com.codahale.metrics.ehcache.InstrumentedEhcache
 
get50thPercentile() - Method in interface com.codahale.metrics.JmxReporter.JmxHistogramMBean
 
get50thPercentile() - Method in interface com.codahale.metrics.JmxReporter.JmxTimerMBean
 
get75thPercentile() - Method in interface com.codahale.metrics.JmxReporter.JmxHistogramMBean
 
get75thPercentile() - Method in interface com.codahale.metrics.JmxReporter.JmxTimerMBean
 
get75thPercentile() - Method in class com.codahale.metrics.Snapshot
Returns the value at the 75th percentile in the distribution.
get95thPercentile() - Method in interface com.codahale.metrics.JmxReporter.JmxHistogramMBean
 
get95thPercentile() - Method in interface com.codahale.metrics.JmxReporter.JmxTimerMBean
 
get95thPercentile() - Method in class com.codahale.metrics.Snapshot
Returns the value at the 95th percentile in the distribution.
get98thPercentile() - Method in interface com.codahale.metrics.JmxReporter.JmxHistogramMBean
 
get98thPercentile() - Method in interface com.codahale.metrics.JmxReporter.JmxTimerMBean
 
get98thPercentile() - Method in class com.codahale.metrics.Snapshot
Returns the value at the 98th percentile in the distribution.
get999thPercentile() - Method in interface com.codahale.metrics.JmxReporter.JmxHistogramMBean
 
get999thPercentile() - Method in interface com.codahale.metrics.JmxReporter.JmxTimerMBean
 
get999thPercentile() - Method in class com.codahale.metrics.Snapshot
Returns the value at the 99.9th percentile in the distribution.
get99thPercentile() - Method in interface com.codahale.metrics.JmxReporter.JmxHistogramMBean
 
get99thPercentile() - Method in interface com.codahale.metrics.JmxReporter.JmxTimerMBean
 
get99thPercentile() - Method in class com.codahale.metrics.Snapshot
Returns the value at the 99th percentile in the distribution.
getAllowedOrigin() - Method in class com.codahale.metrics.servlets.MetricsServlet.ContextListener
 
getCode() - Method in enum com.codahale.metrics.MetricAttribute
 
getCount() - Method in class com.codahale.metrics.Counter
Returns the counter's current value.
getCount() - Method in interface com.codahale.metrics.Counting
Returns the current count.
getCount() - Method in class com.codahale.metrics.Histogram
Returns the number of values recorded.
getCount() - Method in interface com.codahale.metrics.JmxReporter.JmxCounterMBean
 
getCount() - Method in interface com.codahale.metrics.JmxReporter.JmxHistogramMBean
 
getCount() - Method in interface com.codahale.metrics.JmxReporter.JmxMeterMBean
 
getCount() - Method in class com.codahale.metrics.Meter
 
getCount() - Method in interface com.codahale.metrics.Metered
Returns the number of events which have been marked.
getCount() - Method in class com.codahale.metrics.Timer
 
getCounters() - Method in class com.codahale.metrics.MetricRegistry
Returns a map of all the counters in the registry and their names.
getCounters(MetricFilter) - Method in class com.codahale.metrics.MetricRegistry
Returns a map of all the counters in the registry and their names which match the given filter.
getDeadlockedThreads() - Method in class com.codahale.metrics.jvm.ThreadDeadlockDetector
Returns a set of diagnostic stack traces for any deadlocked threads.
getDefault() - Static method in class com.codahale.metrics.SharedMetricRegistries
 
getDefaultRegistry() - Static method in class com.codahale.metrics.httpclient.InstrumentedHttpClientConnectionManager
 
getDetails() - Method in class com.codahale.metrics.health.HealthCheck.Result
 
getDisabledMetricAttributes() - Method in class com.codahale.metrics.ScheduledReporter
 
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
 
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.
 
getExecutorService() - Method in class com.codahale.metrics.servlets.HealthCheckServlet.ContextListener
 
getFailures() - Method in class com.codahale.metrics.graphite.Graphite
 
getFailures() - Method in class com.codahale.metrics.graphite.GraphiteRabbitMQ
 
getFailures() - Method in interface com.codahale.metrics.graphite.GraphiteSender
Returns the number of failed writes to the server.
getFailures() - Method in class com.codahale.metrics.graphite.GraphiteUDP
 
getFailures() - Method in class com.codahale.metrics.graphite.PickledGraphite
 
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
 
getFile(File, String) - Method in interface com.codahale.metrics.CsvFileProvider
 
getFile(File, String) - Method in class com.codahale.metrics.FixedNameCsvFileProvider
 
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.
 
getHealthCheckRegistry() - Method in class com.codahale.metrics.servlets.HealthCheckServlet.ContextListener
 
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.
getJsonpCallbackParameter() - Method in class com.codahale.metrics.servlets.MetricsServlet.ContextListener
Returns the name of the parameter used to specify the jsonp callback, if any.
getMax() - Method in interface com.codahale.metrics.JmxReporter.JmxHistogramMBean
 
getMax() - Method in interface com.codahale.metrics.JmxReporter.JmxTimerMBean
 
getMax() - Method in class com.codahale.metrics.Snapshot
Returns the highest value in the snapshot.
getMax() - Method in class com.codahale.metrics.UniformSnapshot
Returns the highest value in the snapshot.
getMax() - Method in class com.codahale.metrics.WeightedSnapshot
Returns the highest value in the snapshot.
getMean() - Method in interface com.codahale.metrics.JmxReporter.JmxHistogramMBean
 
getMean() - Method in interface com.codahale.metrics.JmxReporter.JmxTimerMBean
 
getMean() - Method in class com.codahale.metrics.Snapshot
Returns the arithmetic mean of the values in the snapshot.
getMean() - Method in class com.codahale.metrics.UniformSnapshot
Returns the arithmetic mean of the values in the snapshot.
getMean() - Method in class com.codahale.metrics.WeightedSnapshot
Returns the weighted arithmetic mean of the values in the snapshot.
getMeanRate() - Method in interface com.codahale.metrics.JmxReporter.JmxMeterMBean
 
getMeanRate() - Method in class com.codahale.metrics.Meter
 
getMeanRate() - Method in interface com.codahale.metrics.Metered
Returns the mean rate at which events have occurred since the meter was created.
getMeanRate() - Method in class com.codahale.metrics.Timer
 
getMedian() - Method in class com.codahale.metrics.Snapshot
Returns the median value in the distribution.
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.
getMetricFilter() - Method in class com.codahale.metrics.servlets.MetricsServlet.ContextListener
Returns the MetricFilter that shall be used to filter metrics, or MetricFilter.ALL if the default should be used.
getMetricRegistry() - Method in class com.codahale.metrics.servlet.InstrumentedFilterContextListener
 
getMetricRegistry() - Method in class com.codahale.metrics.servlets.AdminServletContextListener
Deprecated.
 
getMetricRegistry() - Method in class com.codahale.metrics.servlets.MetricsServlet.ContextListener
 
getMetrics() - Method in class com.codahale.metrics.jcache.JCacheGaugeSet
 
getMetrics() - Method in class com.codahale.metrics.jvm.BufferPoolMetricSet
 
getMetrics() - Method in class com.codahale.metrics.jvm.ClassLoadingGaugeSet
 
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.
getMin() - Method in interface com.codahale.metrics.JmxReporter.JmxHistogramMBean
 
getMin() - Method in interface com.codahale.metrics.JmxReporter.JmxTimerMBean
 
getMin() - Method in class com.codahale.metrics.Snapshot
Returns the lowest value in the snapshot.
getMin() - Method in class com.codahale.metrics.UniformSnapshot
Returns the lowest value in the snapshot.
getMin() - Method in class com.codahale.metrics.WeightedSnapshot
Returns the lowest value in the snapshot.
getModuleName() - Method in class com.codahale.metrics.json.HealthCheckModule
 
getModuleName() - Method in class com.codahale.metrics.json.MetricsModule
 
getName() - Method in class com.codahale.metrics.jetty9.InstrumentedHandler
 
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 interface com.codahale.metrics.JmxReporter.JmxMeterMBean
 
getOneMinuteRate() - Method in class com.codahale.metrics.Meter
 
getOneMinuteRate() - Method in interface com.codahale.metrics.Metered
Returns the one-minute exponentially-weighted moving average rate at which events have occurred since the meter was created.
getOneMinuteRate() - Method in class com.codahale.metrics.Timer
 
getOrCreate(String) - Static method in class com.codahale.metrics.health.SharedHealthCheckRegistries
 
getOrCreate(String) - Static method in class com.codahale.metrics.SharedMetricRegistries
 
getPrefix() - Method in class com.codahale.metrics.jetty9.InstrumentedQueuedThreadPool
 
getProtocol() - Method in class com.codahale.metrics.jetty9.InstrumentedConnectionFactory
 
getProtocols() - Method in class com.codahale.metrics.jetty9.InstrumentedConnectionFactory
 
getRate(TimeUnit) - Method in class com.codahale.metrics.EWMA
Returns the rate in the given units of time.
getRateUnit() - Method in interface com.codahale.metrics.JmxReporter.JmxMeterMBean
 
getRateUnit() - Method in class com.codahale.metrics.ScheduledReporter
 
getRateUnit() - Method in class com.codahale.metrics.servlets.MetricsServlet.ContextListener
 
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
 
getStatementName(StatementContext) - Method in class com.codahale.metrics.jdbi.strategies.DelegatingStatementNameStrategy
 
getStatementName(StatementContext) - Method in interface com.codahale.metrics.jdbi.strategies.StatementNameStrategy
 
getStdDev() - Method in interface com.codahale.metrics.JmxReporter.JmxHistogramMBean
 
getStdDev() - Method in interface com.codahale.metrics.JmxReporter.JmxTimerMBean
 
getStdDev() - Method in class com.codahale.metrics.Snapshot
Returns the standard deviation of the values in the snapshot.
getStdDev() - Method in class com.codahale.metrics.UniformSnapshot
Returns the standard deviation of the values in the snapshot.
getStdDev() - Method in class com.codahale.metrics.WeightedSnapshot
Returns the weighted standard deviation of the values in the snapshot.
getTick() - Method in class com.codahale.metrics.Clock.CpuTimeClock
 
getTick() - Method in class com.codahale.metrics.Clock
Returns the current time tick.
getTick() - Method in class com.codahale.metrics.Clock.UserTimeClock
 
getTime() - Method in class com.codahale.metrics.Clock
Returns the current time in milliseconds.
getTimers() - Method in class com.codahale.metrics.MetricRegistry
Returns a map of all the timers in the registry and their names.
getTimers(MetricFilter) - Method in class com.codahale.metrics.MetricRegistry
Returns a map of all the timers in the registry and their names which match the given filter.
getTimestamp() - Method in class com.codahale.metrics.health.HealthCheck.Result
Returns the timestamp when the result was created.
getValue() - Method in class com.codahale.metrics.CachedGauge
 
getValue() - Method in class com.codahale.metrics.DerivativeGauge
 
getValue() - Method in interface com.codahale.metrics.Gauge
Returns the metric's current value.
getValue() - Method in class com.codahale.metrics.JmxAttributeGauge
 
getValue() - Method in interface com.codahale.metrics.JmxReporter.JmxGaugeMBean
 
getValue() - Method in class com.codahale.metrics.RatioGauge
 
getValue() - Method in class com.codahale.metrics.RatioGauge.Ratio
Returns the ratio, which is either a double between 0 and 1 (inclusive) or NaN.
getValue(double) - Method in class com.codahale.metrics.Snapshot
Returns the value at the given quantile.
getValue(double) - Method in class com.codahale.metrics.UniformSnapshot
Returns the value at the given quantile.
getValue(double) - Method in class com.codahale.metrics.WeightedSnapshot
Returns the value at the given quantile.
getValues() - Method in class com.codahale.metrics.Snapshot
Returns the entire set of values in the snapshot.
getValues() - Method in class com.codahale.metrics.UniformSnapshot
Returns the entire set of values in the snapshot.
getValues() - Method in class com.codahale.metrics.WeightedSnapshot
Returns the entire set of values in the snapshot.
Graphite - Class in com.codahale.metrics.graphite
A client to a Carbon server via TCP.
Graphite(String, int) - Constructor for class com.codahale.metrics.graphite.Graphite
Creates a new client which connects to the given address using the default SocketFactory.
Graphite(String, int, SocketFactory) - Constructor for class com.codahale.metrics.graphite.Graphite
Creates a new client which connects to the given address and socket factory.
Graphite(String, int, 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.
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.
GraphiteRabbitMQ - Class in com.codahale.metrics.graphite
A rabbit-mq client to a Carbon server.
GraphiteRabbitMQ(ConnectionFactory, String) - Constructor for class com.codahale.metrics.graphite.GraphiteRabbitMQ
Creates a new client with a given a ConnectionFactory and an amqp exchange
GraphiteRabbitMQ(String, Integer, String, String, String) - Constructor for class com.codahale.metrics.graphite.GraphiteRabbitMQ
Creates a new client given connection details
GraphiteRabbitMQ(String, Integer, String, String, String, Integer, Integer, Integer) - Constructor for class com.codahale.metrics.graphite.GraphiteRabbitMQ
Creates a new client given connection details
GraphiteReporter - Class in com.codahale.metrics.graphite
A reporter which publishes metric values to a Graphite server.
GraphiteReporter(MetricRegistry, GraphiteSender, Clock, String, TimeUnit, TimeUnit, MetricFilter, ScheduledExecutorService, boolean, Set<MetricAttribute>) - Constructor for class com.codahale.metrics.graphite.GraphiteReporter
Creates a new GraphiteReporter instance.
GraphiteReporter.Builder - Class in com.codahale.metrics.graphite
A builder for GraphiteReporter instances.
GraphiteSender - Interface in com.codahale.metrics.graphite
 
GraphiteUDP - Class in com.codahale.metrics.graphite
A client to a Carbon server using unconnected UDP
GraphiteUDP(String, int) - Constructor for class com.codahale.metrics.graphite.GraphiteUDP
Creates a new client which sends data to given address using UDP
GraphiteUDP(InetSocketAddress) - Constructor for class com.codahale.metrics.graphite.GraphiteUDP
Creates a new client which sends data to given address using UDP

H

handle(String, Request, HttpServletRequest, HttpServletResponse) - Method in class com.codahale.metrics.jetty8.InstrumentedHandler
 
handle(String, Request, HttpServletRequest, HttpServletResponse) - Method in class com.codahale.metrics.jetty9.InstrumentedHandler
 
hashCode() - Method in class com.codahale.metrics.health.HealthCheck.Result
 
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.
HealthCheck.ResultBuilder - Class in com.codahale.metrics.health
This a convenient builder for an HealthCheck.Result.
HEALTHCHECK_URI_PARAM_KEY - Static variable in class com.codahale.metrics.servlets.AdminServlet
 
HealthCheckModule - Class in com.codahale.metrics.json
 
HealthCheckModule() - Constructor for class com.codahale.metrics.json.HealthCheckModule
 
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.
HealthCheckRegistry(int) - Constructor for class com.codahale.metrics.health.HealthCheckRegistry
Creates a new HealthCheckRegistry.
HealthCheckRegistry(ScheduledExecutorService) - Constructor for class com.codahale.metrics.health.HealthCheckRegistry
Creates a new HealthCheckRegistry.
HealthCheckRegistryListener - Interface in com.codahale.metrics.health
A listener contract for HealthCheckRegistry events.
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
 
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() - Method in class com.codahale.metrics.health.HealthCheck.ResultBuilder
Configure an healthy result
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.
histogram(String) - Method in class com.codahale.metrics.MetricRegistry
Return the Histogram registered under this name; or create and register a new Histogram if none is registered.
histogram(String, MetricRegistry.MetricSupplier<Histogram>) - Method in class com.codahale.metrics.MetricRegistry
Return the Histogram registered under this name; or create and register a new Histogram using the provided MetricSupplier if none is registered.
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
 

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.
inDomain(String) - Method in class com.codahale.metrics.JmxReporter.Builder
 
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
 
init() - Method in class com.codahale.metrics.servlets.ThreadDumpServlet
 
instrument(MetricRegistry, Ehcache) - Static method in class com.codahale.metrics.ehcache.InstrumentedEhcache
Instruments the given Ehcache instance with get and put timers and a set of gauges for Ehcache's built-in statistics:

Ehcache timered metrics hits The number of times a requested item was found in the cache. in-memory-hits Number of times a requested item was found in the memory store. off-heap-hits Number of times a requested item was found in the off-heap store. on-disk-hits Number of times a requested item was found in the disk store. misses Number of times a requested item was not found in the cache. in-memory-misses Number of times a requested item was not found in the memory store. off-heap-misses Number of times a requested item was not found in the off-heap store. on-disk-misses Number of times a requested item was not found in the disk store. objects Number of elements stored in the cache. in-memory-objects Number of objects in the memory store. off-heap-objects Number of objects in the off-heap store. on-disk-objects Number of objects in the disk store. mean-get-time The average get time.

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(String) - Constructor for class com.codahale.metrics.log4j.InstrumentedAppender
Create a new instrumented appender using the given registry name.
InstrumentedAppender(MetricRegistry) - Constructor for class com.codahale.metrics.log4j.InstrumentedAppender
Create a new instrumented appender using the given registry.
InstrumentedAppender - Class in com.codahale.metrics.log4j2
A Log4J 2.x Appender which has seven meters, one for each logging level and one for the total number of statements being logged.
InstrumentedAppender(String, Filter, Layout<? extends Serializable>, boolean) - Constructor for class com.codahale.metrics.log4j2.InstrumentedAppender
Create a new instrumented appender using the given registry name.
InstrumentedAppender(String) - Constructor for class com.codahale.metrics.log4j2.InstrumentedAppender
Create a new instrumented appender using the given registry name.
InstrumentedAppender(MetricRegistry) - Constructor for class com.codahale.metrics.log4j2.InstrumentedAppender
Create a new instrumented appender using the given registry.
InstrumentedAppender(MetricRegistry, Filter, Layout<? extends Serializable>, boolean) - Constructor for class com.codahale.metrics.log4j2.InstrumentedAppender
Create a new instrumented appender using the given registry.
InstrumentedAppender(String, MetricRegistry) - Constructor for class com.codahale.metrics.log4j2.InstrumentedAppender
Create a new instrumented appender using the given appender name and registry.
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() - Constructor for class com.codahale.metrics.logback.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.
InstrumentedAppender(MetricRegistry) - Constructor for class com.codahale.metrics.logback.InstrumentedAppender
Create a new instrumented appender using the given registry.
InstrumentedBlockingChannelConnector - Class in com.codahale.metrics.jetty8
 
InstrumentedBlockingChannelConnector(MetricRegistry, int, Clock) - Constructor for class com.codahale.metrics.jetty8.InstrumentedBlockingChannelConnector
 
InstrumentedCacheDecoratorFactory - Class in com.codahale.metrics.ehcache
 
InstrumentedCacheDecoratorFactory() - Constructor for class com.codahale.metrics.ehcache.InstrumentedCacheDecoratorFactory
 
InstrumentedConnectionFactory - Class in com.codahale.metrics.jetty9
 
InstrumentedConnectionFactory(ConnectionFactory, Timer) - Constructor for class com.codahale.metrics.jetty9.InstrumentedConnectionFactory
 
InstrumentedEhcache - Class in com.codahale.metrics.ehcache
An instrumented Ehcache instance.
InstrumentedExecutorService - Class in com.codahale.metrics
An ExecutorService that monitors the number of tasks submitted, running, completed and also keeps a Timer for the task duration.
InstrumentedExecutorService(ExecutorService, MetricRegistry) - Constructor for class com.codahale.metrics.InstrumentedExecutorService
Wraps an ExecutorService uses an auto-generated default name.
InstrumentedExecutorService(ExecutorService, MetricRegistry, String) - Constructor for class com.codahale.metrics.InstrumentedExecutorService
Wraps an ExecutorService with an explicit name.
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
 
InstrumentedHandler - Class in com.codahale.metrics.jetty8
A Jetty Handler which records various metrics about an underlying Handler instance.
InstrumentedHandler(MetricRegistry, Handler) - Constructor for class com.codahale.metrics.jetty8.InstrumentedHandler
Create a new instrumented handler using a given metrics registry.
InstrumentedHandler(MetricRegistry, Handler, String) - Constructor for class com.codahale.metrics.jetty8.InstrumentedHandler
Create a new instrumented handler using a given metrics registry and a custom prefix.
InstrumentedHandler - Class in com.codahale.metrics.jetty9
A Jetty Handler which records various metrics about an underlying Handler instance.
InstrumentedHandler(MetricRegistry) - Constructor for class com.codahale.metrics.jetty9.InstrumentedHandler
Create a new instrumented handler using a given metrics registry.
InstrumentedHandler(MetricRegistry, String) - Constructor for class com.codahale.metrics.jetty9.InstrumentedHandler
Create a new instrumented handler using a given metrics registry.
InstrumentedHttpClientConnectionManager - Class in com.codahale.metrics.httpclient
A HttpClientConnectionManager which monitors the number of open connections.
InstrumentedHttpClientConnectionManager(MetricRegistry) - Constructor for class com.codahale.metrics.httpclient.InstrumentedHttpClientConnectionManager
 
InstrumentedHttpClientConnectionManager(MetricRegistry, Registry<ConnectionSocketFactory>) - Constructor for class com.codahale.metrics.httpclient.InstrumentedHttpClientConnectionManager
 
InstrumentedHttpClientConnectionManager(MetricRegistry, Registry<ConnectionSocketFactory>, long, TimeUnit) - Constructor for class com.codahale.metrics.httpclient.InstrumentedHttpClientConnectionManager
 
InstrumentedHttpClientConnectionManager(MetricRegistry, Registry<ConnectionSocketFactory>, HttpConnectionFactory<HttpRoute, ManagedHttpClientConnection>, SchemePortResolver, DnsResolver, long, TimeUnit, String) - Constructor for class com.codahale.metrics.httpclient.InstrumentedHttpClientConnectionManager
 
InstrumentedHttpClients - Class in com.codahale.metrics.httpclient
 
InstrumentedHttpRequestExecutor - Class in com.codahale.metrics.httpclient
 
InstrumentedHttpRequestExecutor(MetricRegistry, HttpClientMetricNameStrategy) - Constructor for class com.codahale.metrics.httpclient.InstrumentedHttpRequestExecutor
 
InstrumentedHttpRequestExecutor(MetricRegistry, HttpClientMetricNameStrategy, String) - Constructor for class com.codahale.metrics.httpclient.InstrumentedHttpRequestExecutor
 
InstrumentedHttpRequestExecutor(MetricRegistry, HttpClientMetricNameStrategy, String, int) - Constructor for class com.codahale.metrics.httpclient.InstrumentedHttpRequestExecutor
 
InstrumentedNClientConnManager - Class in com.codahale.metrics.httpasyncclient
 
InstrumentedNClientConnManager(ConnectingIOReactor, NHttpConnectionFactory<ManagedNHttpClientConnection>, SchemePortResolver, MetricRegistry, Registry<SchemeIOSessionStrategy>, long, TimeUnit, DnsResolver, String) - Constructor for class com.codahale.metrics.httpasyncclient.InstrumentedNClientConnManager
 
InstrumentedNHttpClientBuilder - Class in com.codahale.metrics.httpasyncclient
 
InstrumentedNHttpClientBuilder(MetricRegistry, HttpClientMetricNameStrategy, String) - Constructor for class com.codahale.metrics.httpasyncclient.InstrumentedNHttpClientBuilder
 
InstrumentedNHttpClientBuilder(MetricRegistry) - Constructor for class com.codahale.metrics.httpasyncclient.InstrumentedNHttpClientBuilder
 
InstrumentedNHttpClientBuilder(MetricRegistry, HttpClientMetricNameStrategy) - Constructor for class com.codahale.metrics.httpasyncclient.InstrumentedNHttpClientBuilder
 
InstrumentedNHttpClientBuilder(MetricRegistry, String) - Constructor for class com.codahale.metrics.httpasyncclient.InstrumentedNHttpClientBuilder
 
InstrumentedQueuedThreadPool - Class in com.codahale.metrics.jetty8
 
InstrumentedQueuedThreadPool(MetricRegistry) - Constructor for class com.codahale.metrics.jetty8.InstrumentedQueuedThreadPool
 
InstrumentedQueuedThreadPool - Class in com.codahale.metrics.jetty9
 
InstrumentedQueuedThreadPool(MetricRegistry) - Constructor for class com.codahale.metrics.jetty9.InstrumentedQueuedThreadPool
 
InstrumentedQueuedThreadPool(MetricRegistry, int) - Constructor for class com.codahale.metrics.jetty9.InstrumentedQueuedThreadPool
 
InstrumentedQueuedThreadPool(MetricRegistry, int, int) - Constructor for class com.codahale.metrics.jetty9.InstrumentedQueuedThreadPool
 
InstrumentedQueuedThreadPool(MetricRegistry, int, int, int) - Constructor for class com.codahale.metrics.jetty9.InstrumentedQueuedThreadPool
 
InstrumentedQueuedThreadPool(MetricRegistry, int, int, int, BlockingQueue<Runnable>) - Constructor for class com.codahale.metrics.jetty9.InstrumentedQueuedThreadPool
 
InstrumentedQueuedThreadPool(MetricRegistry, int, int, int, BlockingQueue<Runnable>, String) - Constructor for class com.codahale.metrics.jetty9.InstrumentedQueuedThreadPool
 
InstrumentedResourceMethodApplicationListener - Class in com.codahale.metrics.jersey2
An application event listener that listens for Jersey application initialization to be finished, then creates a map of resource method that have metrics annotations.
InstrumentedResourceMethodApplicationListener(MetricRegistry) - Constructor for class com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener
Construct an application event listener using the given metrics registry.
InstrumentedResourceMethodDispatchAdapter - Class in com.codahale.metrics.jersey
A provider that wraps a ResourceMethodDispatchProvider in an InstrumentedResourceMethodDispatchProvider
InstrumentedResourceMethodDispatchAdapter(String) - Constructor for class com.codahale.metrics.jersey.InstrumentedResourceMethodDispatchAdapter
Construct a resource method dispatch adapter using the given metrics registry name.
InstrumentedResourceMethodDispatchAdapter(MetricRegistry) - Constructor for class com.codahale.metrics.jersey.InstrumentedResourceMethodDispatchAdapter
Construct a resource method dispatch adapter using the given metrics registry.
InstrumentedScheduledExecutorService - Class in com.codahale.metrics
An ScheduledExecutorService that monitors the number of tasks submitted, running, completed and also keeps a Timer for the task duration.
InstrumentedScheduledExecutorService(ScheduledExecutorService, MetricRegistry) - Constructor for class com.codahale.metrics.InstrumentedScheduledExecutorService
Wraps an ScheduledExecutorService uses an auto-generated default name.
InstrumentedScheduledExecutorService(ScheduledExecutorService, MetricRegistry, String) - Constructor for class com.codahale.metrics.InstrumentedScheduledExecutorService
Wraps an ScheduledExecutorService with an explicit name.
InstrumentedSelectChannelConnector - Class in com.codahale.metrics.jetty8
 
InstrumentedSelectChannelConnector(MetricRegistry, int, Clock) - Constructor for class com.codahale.metrics.jetty8.InstrumentedSelectChannelConnector
 
InstrumentedSocketConnector - Class in com.codahale.metrics.jetty8
 
InstrumentedSocketConnector(MetricRegistry, int, Clock) - Constructor for class com.codahale.metrics.jetty8.InstrumentedSocketConnector
 
InstrumentedSslSelectChannelConnector - Class in com.codahale.metrics.jetty8
 
InstrumentedSslSelectChannelConnector(MetricRegistry, int, SslContextFactory, Clock) - Constructor for class com.codahale.metrics.jetty8.InstrumentedSslSelectChannelConnector
 
InstrumentedSslSocketConnector - Class in com.codahale.metrics.jetty8
 
InstrumentedSslSocketConnector(MetricRegistry, int, SslContextFactory, Clock) - Constructor for class com.codahale.metrics.jetty8.InstrumentedSslSocketConnector
 
InstrumentedThreadFactory - Class in com.codahale.metrics
A ThreadFactory that monitors the number of threads created, running and terminated.
InstrumentedThreadFactory(ThreadFactory, MetricRegistry) - Constructor for class com.codahale.metrics.InstrumentedThreadFactory
Wraps a ThreadFactory, uses a default auto-generated name.
InstrumentedThreadFactory(ThreadFactory, MetricRegistry, String) - Constructor for class com.codahale.metrics.InstrumentedThreadFactory
Wraps a ThreadFactory with an explicit name.
InstrumentedTimingCollector - Class in com.codahale.metrics.jdbi
A TimingCollector implementation for JDBI which uses the SQL objects' class names and method names for millisecond-precision timers.
InstrumentedTimingCollector(MetricRegistry) - Constructor for class com.codahale.metrics.jdbi.InstrumentedTimingCollector
 
InstrumentedTimingCollector(MetricRegistry, StatementNameStrategy) - Constructor for class com.codahale.metrics.jdbi.InstrumentedTimingCollector
 
invokeAll(Collection<? extends Callable<T>>) - Method in class com.codahale.metrics.InstrumentedExecutorService
invokeAll(Collection<? extends Callable<T>>, long, TimeUnit) - Method in class com.codahale.metrics.InstrumentedExecutorService
invokeAll(Collection<? extends Callable<T>>) - Method in class com.codahale.metrics.InstrumentedScheduledExecutorService
invokeAll(Collection<? extends Callable<T>>, long, TimeUnit) - Method in class com.codahale.metrics.InstrumentedScheduledExecutorService
invokeAny(Collection<? extends Callable<T>>) - Method in class com.codahale.metrics.InstrumentedExecutorService
invokeAny(Collection<? extends Callable<T>>, long, TimeUnit) - Method in class com.codahale.metrics.InstrumentedExecutorService
invokeAny(Collection<? extends Callable<T>>) - Method in class com.codahale.metrics.InstrumentedScheduledExecutorService
invokeAny(Collection<? extends Callable<T>>, long, TimeUnit) - Method in class com.codahale.metrics.InstrumentedScheduledExecutorService
isConnected() - Method in class com.codahale.metrics.graphite.Graphite
 
isConnected() - Method in class com.codahale.metrics.graphite.GraphiteRabbitMQ
 
isConnected() - Method in interface com.codahale.metrics.graphite.GraphiteSender
Returns true if ready to send data
isConnected() - Method in class com.codahale.metrics.graphite.GraphiteUDP
 
isConnected() - Method in class com.codahale.metrics.graphite.PickledGraphite
 
isHealthy() - Method in class com.codahale.metrics.health.HealthCheck.Result
Returns true if the result indicates the component is healthy; false otherwise.
isShutdown() - Method in class com.codahale.metrics.InstrumentedExecutorService
 
isShutdown() - Method in class com.codahale.metrics.InstrumentedScheduledExecutorService
isShutdownExecutorOnStop() - Method in class com.codahale.metrics.ScheduledReporter
 
isTerminated() - Method in class com.codahale.metrics.InstrumentedExecutorService
 
isTerminated() - Method in class com.codahale.metrics.InstrumentedScheduledExecutorService

J

JCacheGaugeSet - Class in com.codahale.metrics.jcache
Gauge set retrieving JCache JMX attributes
JCacheGaugeSet() - Constructor for class com.codahale.metrics.jcache.JCacheGaugeSet
 
JmxAttributeGauge - Class in com.codahale.metrics
A Gauge implementation which queries an MBeanServerConnection for an attribute of an object.
JmxAttributeGauge(ObjectName, String) - Constructor for class com.codahale.metrics.JmxAttributeGauge
Creates a new JmxAttributeGauge.
JmxAttributeGauge(MBeanServerConnection, ObjectName, String) - Constructor for class com.codahale.metrics.JmxAttributeGauge
Creates a new JmxAttributeGauge.
JmxReporter - Class in com.codahale.metrics
A reporter which listens for new metrics and exposes them as namespaced MBeans.
JmxReporter.Builder - Class in com.codahale.metrics
A builder for JmxReporter instances.
JmxReporter.JmxCounterMBean - Interface in com.codahale.metrics
 
JmxReporter.JmxGaugeMBean - Interface in com.codahale.metrics
 
JmxReporter.JmxHistogramMBean - Interface in com.codahale.metrics
 
JmxReporter.JmxMeterMBean - Interface in com.codahale.metrics
 
JmxReporter.JmxTimerMBean - Interface in com.codahale.metrics
 
JmxReporter.MetricMBean - Interface in com.codahale.metrics
 
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

loadValue() - Method in class com.codahale.metrics.CachedGauge
Loads the value and returns it.

M

main(String[]) - Static method in class com.codahale.metrics.benchmarks.CounterBenchmark
 
main(String[]) - Static method in class com.codahale.metrics.benchmarks.MeterBenchmark
 
main(String[]) - Static method in class com.codahale.metrics.benchmarks.ReservoirBenchmark
 
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.
markWith(Marker) - Method in class com.codahale.metrics.Slf4jReporter.Builder
Mark all logged metrics with the given marker.
matches(String, Metric) - Method in interface com.codahale.metrics.MetricFilter
Returns true if the metric matches the filter; false otherwise.
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
 
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.
meter(String) - Method in class com.codahale.metrics.MetricRegistry
Return the Meter registered under this name; or create and register a new Meter if none is registered.
meter(String, MetricRegistry.MetricSupplier<Meter>) - Method in class com.codahale.metrics.MetricRegistry
Return the Meter registered under this name; or create and register a new Meter using the provided MetricSupplier if none is registered.
MeterBenchmark - Class in com.codahale.metrics.benchmarks
 
MeterBenchmark() - Constructor for class com.codahale.metrics.benchmarks.MeterBenchmark
 
Metered - Annotation Type in com.codahale.metrics.annotation
An annotation for marking a method of an annotated object as metered.
Metered - Interface in com.codahale.metrics
An object which maintains mean and exponentially-weighted rate.
METHOD_ONLY - Static variable in class com.codahale.metrics.httpclient.HttpClientMetricNameStrategies
 
Metric - Annotation Type in com.codahale.metrics.annotation
An annotation requesting that a metric be injected or registered.
Metric - Interface in com.codahale.metrics
A tag interface to indicate that a class is a metric.
METRIC_FILTER - Static variable in class com.codahale.metrics.servlets.MetricsServlet
 
MetricAttribute - Enum in com.codahale.metrics
Represents attributes of metrics which can be reported.
MetricFilter - Interface in com.codahale.metrics
A filter used to determine whether or not a metric should be reported, among other things.
MetricRegistry - Class in com.codahale.metrics
A registry of metric instances.
MetricRegistry() - Constructor for class com.codahale.metrics.MetricRegistry
Creates a new MetricRegistry.
MetricRegistry.MetricSupplier<T extends Metric> - Interface in com.codahale.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.
METRICS_REGISTRY - Static variable in class com.codahale.metrics.servlets.MetricsServlet
 
METRICS_URI_PARAM_KEY - Static variable in class com.codahale.metrics.servlets.AdminServlet
 
MetricSet - Interface in com.codahale.metrics
A set of named metrics.
MetricsFeature - Class in com.codahale.metrics.jersey2
A Feature which registers a InstrumentedResourceMethodApplicationListener for recording request events.
MetricsFeature(MetricRegistry) - Constructor for class com.codahale.metrics.jersey2.MetricsFeature
 
MetricsFeature(String) - Constructor for class com.codahale.metrics.jersey2.MetricsFeature
 
MetricsModule - Class in com.codahale.metrics.json
 
MetricsModule(TimeUnit, TimeUnit, boolean) - Constructor for class com.codahale.metrics.json.MetricsModule
 
MetricsModule(TimeUnit, TimeUnit, boolean, MetricFilter) - Constructor for class com.codahale.metrics.json.MetricsModule
 
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.

N

NAIVE_NAME - Static variable in class com.codahale.metrics.jdbi.strategies.NameStrategies
 
NaiveNameStrategy - Class in com.codahale.metrics.jdbi.strategies
Very simple strategy, can be used with any JDBI loader to build basic statistics.
NaiveNameStrategy() - Constructor for class com.codahale.metrics.jdbi.strategies.NaiveNameStrategy
 
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(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.
names() - Static method in class com.codahale.metrics.health.SharedHealthCheckRegistries
 
names() - Static method in class com.codahale.metrics.SharedMetricRegistries
 
NameStrategies - Class in com.codahale.metrics.jdbi.strategies
 
newConnection(Connector, EndPoint) - Method in class com.codahale.metrics.jetty9.InstrumentedConnectionFactory
 
newMetric() - Method in interface com.codahale.metrics.MetricRegistry.MetricSupplier
 
newThread(Runnable) - Method in class com.codahale.metrics.InstrumentedThreadFactory

O

objectName() - Method in interface com.codahale.metrics.JmxReporter.MetricMBean
 
ObjectNameFactory - Interface in com.codahale.metrics
 
of(double, double) - Static method in class com.codahale.metrics.RatioGauge.Ratio
Creates a new ratio with the given numerator and denominator.
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.MetricRegistryListener.Base
 
onCounterRemoved(String) - Method in interface com.codahale.metrics.MetricRegistryListener
Called when a Counter is removed from the registry.
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.
onEvent(ApplicationEvent) - Method in class com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener
 
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.MetricRegistryListener.Base
 
onGaugeRemoved(String) - Method in interface com.codahale.metrics.MetricRegistryListener
Called when a Gauge is removed from the registry.
onHealthCheckAdded(String, HealthCheck) - Method in interface com.codahale.metrics.health.HealthCheckRegistryListener
Called when a new HealthCheck is added to the registry.
onHealthCheckRemoved(String, HealthCheck) - Method in interface com.codahale.metrics.health.HealthCheckRegistryListener
Called when a HealthCheck is removed from the registry.
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.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.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.MetricRegistryListener.Base
 
onMeterRemoved(String) - Method in interface com.codahale.metrics.MetricRegistryListener
Called when a Meter is removed from the registry.
onRequest(RequestEvent) - Method in class com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener
 
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.MetricRegistryListener.Base
 
onTimerRemoved(String) - Method in interface com.codahale.metrics.MetricRegistryListener
Called when a Timer is removed from the registry.
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

perfExponentiallyDecayingReservoir() - Method in class com.codahale.metrics.benchmarks.ReservoirBenchmark
 
perfIncrement() - Method in class com.codahale.metrics.benchmarks.CounterBenchmark
 
perfMark() - Method in class com.codahale.metrics.benchmarks.MeterBenchmark
 
perfSlidingTimeWindowReservoir() - Method in class com.codahale.metrics.benchmarks.ReservoirBenchmark
 
perfSlidingWindowReservoir() - Method in class com.codahale.metrics.benchmarks.ReservoirBenchmark
 
perfUniformReservoir() - Method in class com.codahale.metrics.benchmarks.ReservoirBenchmark
 
PickledGraphite - Class in com.codahale.metrics.graphite
A client to a Carbon server that sends all metrics after they have been pickled in configurable sized batches
PickledGraphite(InetSocketAddress) - Constructor for class com.codahale.metrics.graphite.PickledGraphite
Creates a new client which connects to the given address using the default SocketFactory.
PickledGraphite(InetSocketAddress, int) - Constructor for class com.codahale.metrics.graphite.PickledGraphite
Creates a new client which connects to the given address using the default SocketFactory.
PickledGraphite(InetSocketAddress, SocketFactory, int) - Constructor for class com.codahale.metrics.graphite.PickledGraphite
Creates a new client which connects to the given address and socket factory.
PickledGraphite(InetSocketAddress, SocketFactory, Charset, int) - Constructor for class com.codahale.metrics.graphite.PickledGraphite
Creates a new client which connects to the given address and socket factory using the given character set.
PickledGraphite(String, int) - Constructor for class com.codahale.metrics.graphite.PickledGraphite
Creates a new client which connects to the given address using the default SocketFactory.
PickledGraphite(String, int, int) - Constructor for class com.codahale.metrics.graphite.PickledGraphite
Creates a new client which connects to the given address using the default SocketFactory.
PickledGraphite(String, int, SocketFactory, int) - Constructor for class com.codahale.metrics.graphite.PickledGraphite
Creates a new client which connects to the given address and socket factory.
PickledGraphite(String, int, SocketFactory, Charset, int) - Constructor for class com.codahale.metrics.graphite.PickledGraphite
Creates a new client which connects to the given address and socket factory using the given character set.
PING_URI_PARAM_KEY - Static 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
 
prefixedWith(String) - Method in class com.codahale.metrics.ganglia.GangliaReporter.Builder
Prefix all metric names with the given string.
prefixedWith(String) - Method in class com.codahale.metrics.graphite.GraphiteReporter.Builder
Prefix all metric names with the given string.
prefixedWith(String) - Method in class com.codahale.metrics.Slf4jReporter.Builder
Prefix all metric names with the given string.
processResourceModel(ResourceModel, Configuration) - Method in class com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener
 
processSubResource(ResourceModel, Configuration) - Method in class com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener
 
put(Element) - Method in class com.codahale.metrics.ehcache.InstrumentedEhcache
 
put(Element, boolean) - Method in class com.codahale.metrics.ehcache.InstrumentedEhcache
 
putIfAbsent(Element) - Method in class com.codahale.metrics.ehcache.InstrumentedEhcache
 

Q

QUERYLESS_URL_AND_METHOD - Static variable in class com.codahale.metrics.httpclient.HttpClientMetricNameStrategies
 

R

RATE_UNIT - Static variable in class com.codahale.metrics.servlets.MetricsServlet
 
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.
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.
registerStrategies(StatementNameStrategy...) - Method in class com.codahale.metrics.jdbi.strategies.DelegatingStatementNameStrategy
 
registerWith(MBeanServer) - Method in class com.codahale.metrics.JmxReporter.Builder
Register MBeans with the given MBeanServer.
REGISTRY_ATTRIBUTE - Static variable in class com.codahale.metrics.servlet.InstrumentedFilter
 
REGISTRY_PROPERTY_NAME - Static variable in class com.codahale.metrics.logback.InstrumentedAppender
 
remove(String) - Static method in class com.codahale.metrics.health.SharedHealthCheckRegistries
 
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(HealthCheckRegistryListener) - Method in class com.codahale.metrics.health.HealthCheckRegistry
Removes a HealthCheckRegistryListener from this registry's collection of listeners.
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(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.ganglia.GangliaReporter
 
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() - Method in class com.codahale.metrics.ScheduledReporter
Report the current values of all metrics in the registry.
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
 
Reporter - Interface in com.codahale.metrics
 
requiresLayout() - Method in class com.codahale.metrics.log4j.InstrumentedAppender
 
Reservoir - Interface in com.codahale.metrics
A statistically representative reservoir of a data stream.
ReservoirBenchmark - Class in com.codahale.metrics.benchmarks
 
ReservoirBenchmark() - Constructor for class com.codahale.metrics.benchmarks.ReservoirBenchmark
 
ResultBuilder() - Constructor for class com.codahale.metrics.health.HealthCheck.ResultBuilder
 
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(ExecutorService) - Method in class com.codahale.metrics.health.HealthCheckRegistry
Runs the registered health checks in parallel and returns a map of the results.

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.FixedNameCsvFileProvider
 
sanitize(String) - Method in class com.codahale.metrics.graphite.Graphite
 
sanitize(String) - Method in class com.codahale.metrics.graphite.GraphiteRabbitMQ
 
sanitize(String) - Method in class com.codahale.metrics.graphite.GraphiteUDP
 
sanitize(String) - Method in class com.codahale.metrics.graphite.PickledGraphite
 
schedule(Runnable, long, TimeUnit) - Method in class com.codahale.metrics.InstrumentedScheduledExecutorService
schedule(Callable<V>, long, TimeUnit) - Method in class com.codahale.metrics.InstrumentedScheduledExecutorService
scheduleAtFixedRate(Runnable, long, long, TimeUnit) - Method in class com.codahale.metrics.InstrumentedScheduledExecutorService
ScheduledReporter - Class in com.codahale.metrics
The abstract base class for all scheduled reporters (i.e., reporters which process a registry's metrics periodically).
ScheduledReporter(MetricRegistry, String, MetricFilter, TimeUnit, TimeUnit) - Constructor for class com.codahale.metrics.ScheduledReporter
Creates a new ScheduledReporter instance.
ScheduledReporter(MetricRegistry, String, MetricFilter, TimeUnit, TimeUnit, ScheduledExecutorService) - Constructor for class com.codahale.metrics.ScheduledReporter
Creates a new ScheduledReporter instance.
ScheduledReporter(MetricRegistry, String, MetricFilter, TimeUnit, TimeUnit, ScheduledExecutorService, boolean) - Constructor for class com.codahale.metrics.ScheduledReporter
Creates a new ScheduledReporter instance.
ScheduledReporter(MetricRegistry, String, MetricFilter, TimeUnit, TimeUnit, ScheduledExecutorService, boolean, Set<MetricAttribute>) - Constructor for class com.codahale.metrics.ScheduledReporter
 
scheduleOn(ScheduledExecutorService) - Method in class com.codahale.metrics.ConsoleReporter.Builder
Specifies the executor to use while scheduling reporting of metrics.
scheduleOn(ScheduledExecutorService) - Method in class com.codahale.metrics.CsvReporter.Builder
Specifies the executor to use while scheduling reporting of metrics.
scheduleOn(ScheduledExecutorService) - Method in class com.codahale.metrics.ganglia.GangliaReporter.Builder
Specifies the executor to use while scheduling reporting of metrics.
scheduleOn(ScheduledExecutorService) - Method in class com.codahale.metrics.graphite.GraphiteReporter.Builder
Specifies the executor to use while scheduling reporting of metrics.
scheduleOn(ScheduledExecutorService) - Method in class com.codahale.metrics.Slf4jReporter.Builder
Specifies the executor to use while scheduling reporting of metrics.
scheduleWithFixedDelay(Runnable, long, long, TimeUnit) - Method in class com.codahale.metrics.InstrumentedScheduledExecutorService
send(String, String, long) - Method in class com.codahale.metrics.graphite.Graphite
 
send(String, String, long) - Method in class com.codahale.metrics.graphite.GraphiteRabbitMQ
 
send(String, String, long) - Method in interface com.codahale.metrics.graphite.GraphiteSender
Sends the given measurement to the server.
send(String, String, long) - Method in class com.codahale.metrics.graphite.GraphiteUDP
 
send(String, String, long) - Method in class com.codahale.metrics.graphite.PickledGraphite
Convert the metric to a python tuple of the form:

(timestamp, (name, value))

And add it to the list of metrics.

service(HttpServletRequest, HttpServletResponse) - Method in class com.codahale.metrics.servlets.AdminServlet
 
SERVICE_NAME_PARAM_KEY - Static variable in class com.codahale.metrics.servlets.AdminServlet
 
setDefault(String) - Static method in class com.codahale.metrics.SharedMetricRegistries
 
setDefault(String, MetricRegistry) - Static method in class com.codahale.metrics.SharedMetricRegistries
 
setName(String) - Method in class com.codahale.metrics.jetty9.InstrumentedHandler
 
setPrefix(String) - Method in class com.codahale.metrics.jetty9.InstrumentedQueuedThreadPool
 
setupModule(Module.SetupContext) - Method in class com.codahale.metrics.json.HealthCheckModule
 
setupModule(Module.SetupContext) - Method in class com.codahale.metrics.json.MetricsModule
 
SharedHealthCheckRegistries - Class in com.codahale.metrics.health
A map of shared, named health registries.
SharedMetricRegistries - Class in com.codahale.metrics
A map of shared, named metric registries.
ShortNameStrategy - Class in com.codahale.metrics.jdbi.strategies
Assembles all JDBI stats under a common prefix (passed in at constructor time).
ShortNameStrategy(String) - Constructor for class com.codahale.metrics.jdbi.strategies.ShortNameStrategy
 
SHOW_SAMPLES - Static variable in class com.codahale.metrics.servlets.MetricsServlet
 
shutdown() - Method in class com.codahale.metrics.httpclient.InstrumentedHttpClientConnectionManager
 
shutdown() - Method in class com.codahale.metrics.InstrumentedExecutorService
 
shutdown() - Method in class com.codahale.metrics.InstrumentedScheduledExecutorService
shutdownExecutorOnStop(boolean) - Method in class com.codahale.metrics.ConsoleReporter.Builder
Specifies whether or not, the executor (used for reporting) will be stopped with same time with reporter.
shutdownExecutorOnStop(boolean) - Method in class com.codahale.metrics.CsvReporter.Builder
Specifies whether or not, the executor (used for reporting) will be stopped with same time with reporter.
shutdownExecutorOnStop(boolean) - Method in class com.codahale.metrics.ganglia.GangliaReporter.Builder
Specifies whether or not, the executor (used for reporting) will be stopped with same time with reporter.
shutdownExecutorOnStop(boolean) - Method in class com.codahale.metrics.graphite.GraphiteReporter.Builder
Specifies whether or not, the executor (used for reporting) will be stopped with same time with reporter.
shutdownExecutorOnStop(boolean) - Method in class com.codahale.metrics.Slf4jReporter.Builder
Specifies whether or not, the executor (used for reporting) will be stopped with same time with reporter.
shutdownNow() - Method in class com.codahale.metrics.InstrumentedExecutorService
 
shutdownNow() - Method in class com.codahale.metrics.InstrumentedScheduledExecutorService
size() - Method in class com.codahale.metrics.ExponentiallyDecayingReservoir
 
size() - Method in interface com.codahale.metrics.Reservoir
Returns the number of values recorded.
size() - Method in class com.codahale.metrics.SlidingTimeWindowReservoir
 
size() - Method in class com.codahale.metrics.SlidingWindowReservoir
 
size() - Method in class com.codahale.metrics.Snapshot
Returns the number of values in the snapshot.
size() - Method in class com.codahale.metrics.UniformReservoir
 
size() - Method in class com.codahale.metrics.UniformSnapshot
Returns the number of values in the snapshot.
size() - Method in class com.codahale.metrics.WeightedSnapshot
Returns the number of values in the snapshot.
Slf4jReporter - Class in com.codahale.metrics
A reporter class for logging metrics values to a SLF4J Logger periodically, similar to ConsoleReporter or CsvReporter, but using the SLF4J framework instead.
Slf4jReporter.Builder - Class in com.codahale.metrics
A builder for Slf4jReporter instances.
Slf4jReporter.LoggingLevel - Enum in com.codahale.metrics
 
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.
SmartNameStrategy - Class in com.codahale.metrics.jdbi.strategies
Adds statistics for JDBI queries that set the NameStrategies.STATEMENT_CLASS and NameStrategies.STATEMENT_NAME for class based display or NameStrategies.STATEMENT_GROUP and NameStrategies.STATEMENT_NAME for group based display.
SmartNameStrategy() - Constructor for class com.codahale.metrics.jdbi.strategies.SmartNameStrategy
 
Snapshot - Class in com.codahale.metrics
A statistical snapshot of a Snapshot.
Snapshot() - Constructor for class com.codahale.metrics.Snapshot
 
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(Map<String, TimeUnit>) - Method in class com.codahale.metrics.JmxReporter.Builder
Use specific TimeUnits for the rate of the metrics with these names.
SQL_OBJECT - Static variable in class com.codahale.metrics.jdbi.strategies.NameStrategies
 
start() - Method in class com.codahale.metrics.JmxReporter
Starts the reporter.
start() - Method in class com.codahale.metrics.log4j2.InstrumentedAppender
 
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.
start(long, long, TimeUnit) - Method in class com.codahale.metrics.ScheduledReporter
Starts the reporter polling at the given period.
STATEMENT_CLASS - Static variable in class com.codahale.metrics.jdbi.strategies.NameStrategies
Context attribute name for the metric class.
STATEMENT_GROUP - Static variable in class com.codahale.metrics.jdbi.strategies.NameStrategies
Context attribute name for the metric group.
STATEMENT_NAME - Static variable in class com.codahale.metrics.jdbi.strategies.NameStrategies
Context attribute name for the metric name.
STATEMENT_TYPE - Static variable in class com.codahale.metrics.jdbi.strategies.NameStrategies
Context attribute name for the metric type.
StatementNameStrategy - Interface in com.codahale.metrics.jdbi.strategies
Interface for strategies to statement contexts to metric names.
stop() - Method in class com.codahale.metrics.graphite.GraphiteReporter
 
stop() - Method in class com.codahale.metrics.JmxReporter
Stops the reporter.
stop() - Method in class com.codahale.metrics.ScheduledReporter
Stops the reporter and if shutdownExecutorOnStop is true then shuts down its thread of execution.
stop() - Method in class com.codahale.metrics.Timer.Context
Updates the timer with the difference between current and start time.
submit(Runnable) - Method in class com.codahale.metrics.InstrumentedExecutorService
submit(Runnable, T) - Method in class com.codahale.metrics.InstrumentedExecutorService
submit(Callable<T>) - Method in class com.codahale.metrics.InstrumentedExecutorService
submit(Callable<T>) - Method in class com.codahale.metrics.InstrumentedScheduledExecutorService
submit(Runnable, T) - Method in class com.codahale.metrics.InstrumentedScheduledExecutorService
submit(Runnable) - Method in class com.codahale.metrics.InstrumentedScheduledExecutorService

T

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 - 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 - 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
 
THREADS_URI_PARAM_KEY - Static variable in class com.codahale.metrics.servlets.AdminServlet
 
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.
tick() - Method in class com.codahale.metrics.EWMA
Mark the passage of time and decay the current rate accordingly.
time(Callable<T>) - Method in class com.codahale.metrics.Timer
Times and records the duration of event.
time(Runnable) - Method in class com.codahale.metrics.Timer
Times and records the duration of event.
time() - Method in class com.codahale.metrics.Timer
Returns a new Timer.Context.
Timed - Annotation Type in com.codahale.metrics.annotation
An annotation for marking a method of an annotated object as timed.
timer(String) - Method in class com.codahale.metrics.MetricRegistry
Return the Timer registered under this name; or create and register a new Timer if none is registered.
timer(String, MetricRegistry.MetricSupplier<Timer>) - Method in class com.codahale.metrics.MetricRegistry
Return the Timer registered under this name; or create and register a new Timer using the provided MetricSupplier if none is registered.
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.
toString() - Method in class com.codahale.metrics.health.HealthCheck.Result
 
toString() - Method in class com.codahale.metrics.RatioGauge.Ratio
 
transform(F) - Method in class com.codahale.metrics.DerivativeGauge
Transforms the value of the base gauge to the value of this gauge.

U

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.
unhealthy() - Method in class com.codahale.metrics.health.HealthCheck.ResultBuilder
Configure an unhealthy result
unhealthy(Throwable) - Method in class com.codahale.metrics.health.HealthCheck.ResultBuilder
Configure an unhealthy result with an 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.
UniformSnapshot - Class in com.codahale.metrics
A statistical snapshot of a UniformSnapshot.
UniformSnapshot(Collection<Long>) - Constructor for class com.codahale.metrics.UniformSnapshot
Create a new Snapshot with the given values.
UniformSnapshot(long[]) - Constructor for class com.codahale.metrics.UniformSnapshot
Create a new Snapshot with the given values.
unregister(String) - Method in class com.codahale.metrics.health.HealthCheckRegistry
Unregisters the application HealthCheck with the given name.
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, long) - Method in class com.codahale.metrics.ExponentiallyDecayingReservoir
Adds an old value with a fixed timestamp to the reservoir.
update(int) - Method in class com.codahale.metrics.Histogram
Adds a recorded value.
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, TimeUnit) - Method in class com.codahale.metrics.Timer
Adds a recorded duration.
update(long) - Method in class com.codahale.metrics.UniformReservoir
 
UserTimeClock() - Constructor for class com.codahale.metrics.Clock.UserTimeClock
 

V

value - Variable in class com.codahale.metrics.WeightedSnapshot.WeightedSample
 
valueOf(String) - Static method in enum com.codahale.metrics.health.annotation.Async.InitialState
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.codahale.metrics.health.annotation.Async.ScheduleType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.codahale.metrics.MetricAttribute
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.codahale.metrics.Slf4jReporter.LoggingLevel
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.codahale.metrics.health.annotation.Async.InitialState
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.codahale.metrics.health.annotation.Async.ScheduleType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Method in interface com.codahale.metrics.JmxReporter.JmxHistogramMBean
 
values() - Method in interface com.codahale.metrics.JmxReporter.JmxTimerMBean
 
values() - Static method in enum com.codahale.metrics.MetricAttribute
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.codahale.metrics.Slf4jReporter.LoggingLevel
Returns an array containing the constants of this enum type, in the order they are declared.
version() - Method in class com.codahale.metrics.json.HealthCheckModule
 
version() - Method in class com.codahale.metrics.json.MetricsModule
 

W

weight - Variable in class com.codahale.metrics.WeightedSnapshot.WeightedSample
 
WeightedSample(long, double) - Constructor for class com.codahale.metrics.WeightedSnapshot.WeightedSample
 
WeightedSnapshot - Class in com.codahale.metrics
A statistical snapshot of a WeightedSnapshot.
WeightedSnapshot(Collection<WeightedSnapshot.WeightedSample>) - Constructor for class com.codahale.metrics.WeightedSnapshot
Create a new Snapshot with the given values.
WeightedSnapshot.WeightedSample - Class in com.codahale.metrics
A single sample item with value and its weights for WeightedSnapshot.
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.
withCsvFileProvider(CsvFileProvider) - Method in class com.codahale.metrics.CsvReporter.Builder
 
withDetail(String, Object) - Method in class com.codahale.metrics.health.HealthCheck.ResultBuilder
Add an optional detail
withDMax(int) - Method in class com.codahale.metrics.ganglia.GangliaReporter.Builder
Use the given dmax value when announcing metrics.
withLoggingLevel(Slf4jReporter.LoggingLevel) - Method in class com.codahale.metrics.Slf4jReporter.Builder
Use Logging Level when reporting.
withMessage(String) - Method in class com.codahale.metrics.health.HealthCheck.ResultBuilder
Set an optional message
withMessage(String, Object...) - Method in class com.codahale.metrics.health.HealthCheck.ResultBuilder
Set an optional formatted message

Message formatting follows the same rules as String.format(String, Object...).

withTMax(int) - Method in class com.codahale.metrics.ganglia.GangliaReporter.Builder
Use the given tmax value when announcing metrics.
A B C D E F G H I J L M N O P Q R S T U V W 
Skip navigation links

Copyright © 2017. All Rights Reserved.