Uses of Class
com.codahale.metrics.Counter
-
Packages that use Counter Package Description com.codahale.metrics com.codahale.metrics.graphite com.codahale.metrics.json com.codahale.metrics.servlet -
-
Uses of Counter in com.codahale.metrics
Fields in com.codahale.metrics declared as Counter Modifier and Type Field Description private Counter
JmxReporter.JmxCounter. metric
Fields in com.codahale.metrics with type parameters of type Counter Modifier and Type Field Description static MetricRegistry.MetricBuilder<Counter>
MetricRegistry.MetricBuilder. COUNTERS
Methods in com.codahale.metrics that return Counter Modifier and Type Method Description Counter
MetricRegistry. counter(java.lang.String name)
Creates a newCounter
and registers it under the given name.Methods in com.codahale.metrics that return types with arguments of type Counter Modifier and Type Method Description java.util.SortedMap<java.lang.String,Counter>
MetricRegistry. getCounters()
Returns a map of all the counters in the registry and their names.java.util.SortedMap<java.lang.String,Counter>
MetricRegistry. getCounters(MetricFilter filter)
Returns a map of all the counters in the registry and their names which match the given filter.Methods in com.codahale.metrics with parameters of type Counter Modifier and Type Method Description private void
Slf4jReporter. logCounter(java.lang.String name, Counter counter)
void
JmxReporter.JmxListener. onCounterAdded(java.lang.String name, Counter counter)
void
MetricRegistryListener.Base. onCounterAdded(java.lang.String name, Counter counter)
void
MetricRegistryListener. onCounterAdded(java.lang.String name, Counter counter)
Called when aCounter
is added to the registry.private void
CsvReporter. reportCounter(long timestamp, java.lang.String name, Counter counter)
Method parameters in com.codahale.metrics with type arguments of type Counter Modifier and Type Method Description private void
ConsoleReporter. printCounter(java.util.Map.Entry<java.lang.String,Counter> entry)
Constructors in com.codahale.metrics with parameters of type Counter Constructor Description JmxCounter(Counter metric, javax.management.ObjectName objectName)
-
Uses of Counter in com.codahale.metrics.graphite
Methods in com.codahale.metrics.graphite with parameters of type Counter Modifier and Type Method Description private void
GraphiteReporter. reportCounter(java.lang.String name, Counter counter, long timestamp)
-
Uses of Counter in com.codahale.metrics.json
Methods in com.codahale.metrics.json with parameters of type Counter Modifier and Type Method Description void
MetricsModule.CounterSerializer. serialize(Counter counter, com.fasterxml.jackson.core.JsonGenerator json, com.fasterxml.jackson.databind.SerializerProvider provider)
-
Uses of Counter in com.codahale.metrics.servlet
Fields in com.codahale.metrics.servlet declared as Counter Modifier and Type Field Description private Counter
AbstractInstrumentedFilter. activeRequests
-