- 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.
- 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
-
- 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.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
-
- 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.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.jvm - package com.codahale.metrics.health.jvm
-
- com.codahale.metrics.httpclient - package com.codahale.metrics.httpclient
-
- 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.json - package com.codahale.metrics.json
-
- com.codahale.metrics.jvm - package com.codahale.metrics.jvm
-
- com.codahale.metrics.log4j - package com.codahale.metrics.log4j
-
- com.codahale.metrics.logback - package com.codahale.metrics.logback
-
- com.codahale.metrics.servlet - package com.codahale.metrics.servlet
-
- com.codahale.metrics.servlets - package com.codahale.metrics.servlets
-
- connect() - Method in class com.codahale.metrics.graphite.Graphite
-
Connects to the server.
- ConsoleReporter - Class in com.codahale.metrics
-
A reporter which outputs measurements to a
PrintStream
, like
System.out
.
- ConsoleReporter.Builder - Class in com.codahale.metrics
-
- 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
-
- 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.
- 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
-
Creates a new
Counter
and registers it under the given name.
- Counting - Interface in com.codahale.metrics
-
An interface for metric types which have counts.
- CpuTimeClock() - Constructor for class com.codahale.metrics.Clock.CpuTimeClock
-
- createClientRequestDirector(HttpRequestExecutor, ClientConnectionManager, ConnectionReuseStrategy, ConnectionKeepAliveStrategy, HttpRoutePlanner, HttpProcessor, HttpRequestRetryHandler, RedirectStrategy, AuthenticationStrategy, AuthenticationStrategy, UserTokenHandler, HttpParams) - Method in class com.codahale.metrics.httpclient.InstrumentedHttpClient
-
- createDecoratedEhcache(Ehcache, Properties) - Method in class com.codahale.metrics.ehcache.InstrumentedCacheDecoratorFactory
-
- createDefaultDecoratedEhcache(Ehcache, Properties) - Method in class com.codahale.metrics.ehcache.InstrumentedCacheDecoratorFactory
-
- 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
-
- 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
-
- 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.
- 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
-
Returns the Access-Control-Allow-Origin
header value, if any.
- getCount() - Method in class com.codahale.metrics.Counter
-
Returns the counter's current value.
- getCount() - Method in interface com.codahale.metrics.Counting
-
Returns the current count.
- getCount() - Method in class com.codahale.metrics.Histogram
-
Returns the number of values recorded.
- getCount() - Method in 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.
- getDurationUnit() - Method in interface com.codahale.metrics.JmxReporter.JmxTimerMBean
-
- getDurationUnit() - Method in class com.codahale.metrics.ScheduledReporter
-
- getDurationUnit() - Method in class com.codahale.metrics.servlets.MetricsServlet.ContextListener
-
Returns the
TimeUnit
to which durations should be converted, or
null
if
the default should be used.
- getError() - Method in class com.codahale.metrics.health.HealthCheck.Result
-
Returns any exception for the result, or null
if the result has no exception.
- getExecutorService() - Method in class com.codahale.metrics.servlets.AdminServletContextListener
-
Deprecated.
Returns the
ExecutorService
to inject into the servlet context, or
null
if
the health checks should be run in the servlet worker thread.
- getExecutorService() - Method in class com.codahale.metrics.servlets.HealthCheckServlet.ContextListener
-
Returns the
ExecutorService
to inject into the servlet context, or
null
if the health checks should be run in the servlet worker thread.
- getFailures() - Method in class com.codahale.metrics.graphite.Graphite
-
Returns the number of failed writes to the server.
- getFifteenMinuteRate() - Method in interface com.codahale.metrics.JmxReporter.JmxMeterMBean
-
- getFifteenMinuteRate() - Method in class com.codahale.metrics.Meter
-
- getFifteenMinuteRate() - Method in interface com.codahale.metrics.Metered
-
Returns the fifteen-minute exponentially-weighted moving average rate at which events have
occurred since the meter was created.
- getFifteenMinuteRate() - Method in class com.codahale.metrics.Timer
-
- getFiveMinuteRate() - Method in interface com.codahale.metrics.JmxReporter.JmxMeterMBean
-
- getFiveMinuteRate() - Method in class com.codahale.metrics.Meter
-
- getFiveMinuteRate() - Method in interface com.codahale.metrics.Metered
-
Returns the five-minute exponentially-weighted moving average rate at which events have
occurred since the meter was created.
- getFiveMinuteRate() - Method in class com.codahale.metrics.Timer
-
- getGauges() - Method in class com.codahale.metrics.MetricRegistry
-
Returns a map of all the gauges in the registry and their names.
- getGauges(MetricFilter) - Method in class com.codahale.metrics.MetricRegistry
-
Returns a map of all the gauges in the registry and their names which match the given filter.
- 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.
- 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.
- 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.
- getMeanRate() - Method in interface com.codahale.metrics.JmxReporter.JmxMeterMBean
-
- getMeanRate() - Method in class com.codahale.metrics.Meter
-
- getMeanRate() - Method in interface com.codahale.metrics.Metered
-
Returns the mean rate at which events have occurred since the meter was created.
- getMeanRate() - Method in class com.codahale.metrics.Timer
-
- getMedian() - Method in class com.codahale.metrics.Snapshot
-
Returns the median value in the distribution.
- getMessage() - Method in class com.codahale.metrics.health.HealthCheck.Result
-
Returns any additional message for the result, or null
if the result has no
message.
- getMeters() - Method in class com.codahale.metrics.MetricRegistry
-
Returns a map of all the meters in the registry and their names.
- getMeters(MetricFilter) - Method in class com.codahale.metrics.MetricRegistry
-
Returns a map of all the meters in the registry and their names which match the given filter.
- getMetricRegistry() - Method in class com.codahale.metrics.servlet.InstrumentedFilterContextListener
-
- 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.jvm.BufferPoolMetricSet
-
- getMetrics() - Method in class com.codahale.metrics.jvm.GarbageCollectorMetricSet
-
- getMetrics() - Method in class com.codahale.metrics.jvm.MemoryUsageGaugeSet
-
- getMetrics() - Method in class com.codahale.metrics.jvm.ThreadStatesGaugeSet
-
- getMetrics() - Method in class com.codahale.metrics.JvmAttributeGaugeSet
-
- getMetrics() - Method in class com.codahale.metrics.MetricRegistry
-
- getMetrics() - Method in interface com.codahale.metrics.MetricSet
-
A map of metric names to metrics.
- 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.
- getModuleName() - Method in class com.codahale.metrics.json.HealthCheckModule
-
- getModuleName() - Method in class com.codahale.metrics.json.MetricsModule
-
- getNameFor(String, HttpRequest) - Method in interface com.codahale.metrics.httpclient.HttpClientMetricNameStrategy
-
- getNames() - Method in class com.codahale.metrics.health.HealthCheckRegistry
-
Returns a set of the names of all registered health checks.
- getNames() - Method in class com.codahale.metrics.MetricRegistry
-
Returns a set of the names of all the metrics in the registry.
- getOneMinuteRate() - Method in interface com.codahale.metrics.JmxReporter.JmxMeterMBean
-
- getOneMinuteRate() - Method in class com.codahale.metrics.Meter
-
- getOneMinuteRate() - Method in interface com.codahale.metrics.Metered
-
Returns the one-minute exponentially-weighted moving average rate at which events have
occurred since the meter was created.
- getOneMinuteRate() - Method in class com.codahale.metrics.Timer
-
- getOrCreate(String) - Static method in class com.codahale.metrics.SharedMetricRegistries
-
- getRate(TimeUnit) - Method in class com.codahale.metrics.EWMA
-
Returns the rate in the given units of time.
- getRateUnit() - Method in interface com.codahale.metrics.JmxReporter.JmxMeterMBean
-
- getRateUnit() - Method in class com.codahale.metrics.ScheduledReporter
-
- getRateUnit() - Method in class com.codahale.metrics.servlets.MetricsServlet.ContextListener
-
Returns the
TimeUnit
to which rates should be converted, or
null
if the
default should be used.
- getRateUnit() - Method in class com.codahale.metrics.Slf4jReporter
-
- getRatio() - Method in class com.codahale.metrics.jvm.FileDescriptorRatioGauge
-
- getRatio() - Method in class com.codahale.metrics.RatioGauge
-
- 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.
- getTick() - Method in class com.codahale.metrics.Clock.CpuTimeClock
-
- getTick() - Method in class com.codahale.metrics.Clock
-
Returns the current time tick.
- getTick() - Method in class com.codahale.metrics.Clock.UserTimeClock
-
- getTime() - Method in class com.codahale.metrics.Clock
-
Returns the current time in milliseconds.
- getTimers() - Method in class com.codahale.metrics.MetricRegistry
-
Returns a map of all the timers in the registry and their names.
- getTimers(MetricFilter) - Method in class com.codahale.metrics.MetricRegistry
-
Returns a map of all the timers in the registry and their names which match the given filter.
- getValue() - Method in class com.codahale.metrics.CachedGauge
-
- getValue() - Method in class com.codahale.metrics.DerivativeGauge
-
- getValue() - Method in interface com.codahale.metrics.Gauge
-
Returns the metric's current value.
- getValue() - Method in class com.codahale.metrics.JmxAttributeGauge
-
- getValue() - Method in interface com.codahale.metrics.JmxReporter.JmxGaugeMBean
-
- getValue() - Method in class com.codahale.metrics.RatioGauge
-
- getValue() - Method in class com.codahale.metrics.RatioGauge.Ratio
-
Returns the ratio, which is either a double
between 0 and 1 (inclusive) or
NaN
.
- getValue(double) - Method in class com.codahale.metrics.Snapshot
-
Returns the value at the given quantile.
- getValues() - Method in class com.codahale.metrics.Snapshot
-
Returns the entire set of values in the snapshot.
- Graphite - Class in com.codahale.metrics.graphite
-
A client to a Carbon server.
- Graphite(InetSocketAddress) - Constructor for class com.codahale.metrics.graphite.Graphite
-
Creates a new client which connects to the given address using the default
SocketFactory
.
- Graphite(InetSocketAddress, SocketFactory) - Constructor for class com.codahale.metrics.graphite.Graphite
-
Creates a new client which connects to the given address and socket factory.
- Graphite(InetSocketAddress, SocketFactory, Charset) - Constructor for class com.codahale.metrics.graphite.Graphite
-
Creates a new client which connects to the given address and socket factory using the given
character set.
- GraphiteReporter - Class in com.codahale.metrics.graphite
-
A reporter which publishes metric values to a Graphite server.
- GraphiteReporter.Builder - Class in com.codahale.metrics.graphite
-
- 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(ServletConfig) - 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:
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.logback
-
A Logback Appender
which has six meters, one for each logging level and one for the total
number of statements being logged.
- 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.
- InstrumentedCacheDecoratorFactory - Class in com.codahale.metrics.ehcache
-
- InstrumentedCacheDecoratorFactory() - Constructor for class com.codahale.metrics.ehcache.InstrumentedCacheDecoratorFactory
-
- InstrumentedClientConnManager - Class in com.codahale.metrics.httpclient
-
A ClientConnectionManager
which monitors the number of open connections.
- InstrumentedClientConnManager(MetricRegistry) - Constructor for class com.codahale.metrics.httpclient.InstrumentedClientConnManager
-
- InstrumentedClientConnManager(MetricRegistry, SchemeRegistry) - Constructor for class com.codahale.metrics.httpclient.InstrumentedClientConnManager
-
- InstrumentedClientConnManager(MetricRegistry, SchemeRegistry, long, TimeUnit) - Constructor for class com.codahale.metrics.httpclient.InstrumentedClientConnManager
-
- InstrumentedClientConnManager(MetricRegistry, SchemeRegistry, long, TimeUnit, DnsResolver, String) - Constructor for class com.codahale.metrics.httpclient.InstrumentedClientConnManager
-
- InstrumentedEhcache - Class in com.codahale.metrics.ehcache
-
An instrumented Ehcache
instance.
- InstrumentedFilter - Class in com.codahale.metrics.servlet
-
- InstrumentedFilter() - Constructor for class com.codahale.metrics.servlet.InstrumentedFilter
-
Creates a new instance of the filter.
- InstrumentedFilterContextListener - Class in com.codahale.metrics.servlet
-
A listener implementation which injects a
MetricRegistry
instance into the servlet
context.
- InstrumentedFilterContextListener() - Constructor for class com.codahale.metrics.servlet.InstrumentedFilterContextListener
-
- InstrumentedHttpClient - Class in com.codahale.metrics.httpclient
-
- InstrumentedHttpClient(MetricRegistry, ClientConnectionManager, HttpParams, String, HttpClientMetricNameStrategy) - Constructor for class com.codahale.metrics.httpclient.InstrumentedHttpClient
-
- InstrumentedHttpClient(MetricRegistry, InstrumentedClientConnManager, HttpParams, String) - Constructor for class com.codahale.metrics.httpclient.InstrumentedHttpClient
-
- InstrumentedHttpClient(MetricRegistry, HttpParams) - Constructor for class com.codahale.metrics.httpclient.InstrumentedHttpClient
-
- InstrumentedHttpClient(MetricRegistry) - Constructor for class com.codahale.metrics.httpclient.InstrumentedHttpClient
-
- InstrumentedHttpClient(MetricRegistry, HttpClientMetricNameStrategy) - Constructor for class com.codahale.metrics.httpclient.InstrumentedHttpClient
-
- InstrumentedHttpClient(MetricRegistry, String, HttpClientMetricNameStrategy) - Constructor for class com.codahale.metrics.httpclient.InstrumentedHttpClient
-
- InstrumentedRequestDirector - Class in com.codahale.metrics.httpclient
-
- InstrumentedRequestDirector(MetricRegistry, String, HttpClientMetricNameStrategy, Log, HttpRequestExecutor, ClientConnectionManager, ConnectionReuseStrategy, ConnectionKeepAliveStrategy, HttpRoutePlanner, HttpProcessor, HttpRequestRetryHandler, RedirectStrategy, AuthenticationStrategy, AuthenticationStrategy, UserTokenHandler, HttpParams) - Constructor for class com.codahale.metrics.httpclient.InstrumentedRequestDirector
-
- 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.
- 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
-
- isHealthy() - Method in class com.codahale.metrics.health.HealthCheck.Result
-
Returns true
if the result indicates the component is healthy; false
otherwise.
- 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
-
- Meter(Clock) - Constructor for class com.codahale.metrics.Meter
-
- meter(String) - Method in class com.codahale.metrics.MetricRegistry
-
Creates a new
Meter
and registers it under the given name.
- 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 - Interface in com.codahale.metrics
-
A tag interface to indicate that a class is a metric.
- MetricFilter - Interface in com.codahale.metrics
-
A filter used to determine whether or not a metric should be reported, among other things.
- MetricRegistry - Class in com.codahale.metrics
-
A registry of metric instances.
- MetricRegistry() - Constructor for class com.codahale.metrics.MetricRegistry
-
- MetricRegistryListener - Interface in com.codahale.metrics
-
Listeners for events from the registry.
- MetricRegistryListener.Base - Class in com.codahale.metrics
-
- METRICS_REGISTRY - Static variable in class com.codahale.metrics.servlets.MetricsServlet
-
- MetricSet - Interface in com.codahale.metrics
-
A set of named metrics.
- MetricsModule - Class in com.codahale.metrics.json
-
- MetricsModule(TimeUnit, TimeUnit, boolean) - Constructor for class com.codahale.metrics.json.MetricsModule
-
- 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
.
- Sampling - Interface in com.codahale.metrics
-
An object which samples values.
- sanitize(String) - Method in class com.codahale.metrics.CsvReporter
-
- sanitize(String) - Method in class com.codahale.metrics.graphite.Graphite
-
- ScheduledReporter - Class in com.codahale.metrics
-
The abstract base class for all scheduled reporters (i.e., reporters which process a registry's
metrics periodically).
- ScheduledReporter(MetricRegistry, String, MetricFilter, TimeUnit, TimeUnit) - Constructor for class com.codahale.metrics.ScheduledReporter
-
- send(String, String, long) - Method in class com.codahale.metrics.graphite.Graphite
-
Sends the given measurement to the server.
- service(HttpServletRequest, HttpServletResponse) - Method in class com.codahale.metrics.servlets.AdminServlet
-
- setupModule(Module.SetupContext) - Method in class com.codahale.metrics.json.HealthCheckModule
-
- setupModule(Module.SetupContext) - Method in class com.codahale.metrics.json.MetricsModule
-
- SharedMetricRegistries - Class in com.codahale.metrics
-
A map of shared, named metric registries.
- 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
-
- size() - Method in class com.codahale.metrics.ExponentiallyDecayingReservoir
-
- size() - Method in interface com.codahale.metrics.Reservoir
-
Returns the number of values recorded.
- size() - Method in class com.codahale.metrics.SlidingTimeWindowReservoir
-
- size() - Method in class com.codahale.metrics.SlidingWindowReservoir
-
- size() - Method in class com.codahale.metrics.Snapshot
-
Returns the number of values in the snapshot.
- size() - Method in class com.codahale.metrics.UniformReservoir
-
- Slf4jReporter - Class in com.codahale.metrics
-
A reporter class for logging metrics values to a SLF4J
Logger
periodically, similar to
ConsoleReporter
or
CsvReporter
, but using the SLF4J framework instead.
- Slf4jReporter.Builder - Class 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
-
- SlidingTimeWindowReservoir(long, TimeUnit, Clock) - Constructor for class com.codahale.metrics.SlidingTimeWindowReservoir
-
- SlidingWindowReservoir - Class in com.codahale.metrics
-
A
Reservoir
implementation backed by a sliding window that stores the last
N
measurements.
- SlidingWindowReservoir(int) - Constructor for class com.codahale.metrics.SlidingWindowReservoir
-
- SmartNameStrategy - Class in com.codahale.metrics.jdbi.strategies
-
- SmartNameStrategy() - Constructor for class com.codahale.metrics.jdbi.strategies.SmartNameStrategy
-
- Snapshot - Class in com.codahale.metrics
-
- Snapshot(Collection<Long>) - Constructor for class com.codahale.metrics.Snapshot
-
Create a new
Snapshot
with the given values.
- Snapshot(long[]) - Constructor for class com.codahale.metrics.Snapshot
-
Create a new
Snapshot
with the given values.
- specificDurationUnits(Map<String, TimeUnit>) - Method in class com.codahale.metrics.JmxReporter.Builder
-
Use specific
TimeUnit
s for the duration of the metrics with these names.
- specificRateUnits(Map<String, TimeUnit>) - Method in class com.codahale.metrics.JmxReporter.Builder
-
Use specific
TimeUnit
s 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.logback.InstrumentedAppender
-
- start(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.JmxReporter
-
Stops the reporter.
- stop() - Method in class com.codahale.metrics.ScheduledReporter
-
Stops the reporter and shuts down its thread of execution.
- stop() - Method in class com.codahale.metrics.Timer.Context
-
Stops recording the elapsed time, updates the timer and returns the elapsed time in
nanoseconds.