Skip navigation links
A C D G H I L M N O P R S T U 

A

activate(LogReporter.Config, BundleContext) - Method in class org.apache.sling.commons.metrics.internal.LogReporter
 
adaptTo(Class<A>) - Method in class org.apache.sling.commons.metrics.internal.MetricsServiceImpl
 
adaptTo(Class<A>) - Method in interface org.apache.sling.commons.metrics.Metric
Adapts the Metric to the specified type.
adaptTo(Class<A>) - Method in interface org.apache.sling.commons.metrics.MetricsService
Adapts the service to the specified type.
addingService(ServiceReference<MetricRegistry>) - Method in class org.apache.sling.commons.metrics.internal.LogReporter
 
addingService(ServiceReference<MetricRegistry>) - Method in class org.apache.sling.commons.metrics.internal.MetricWebConsolePlugin
 

C

Counter - Interface in org.apache.sling.commons.metrics
An incrementing and decrementing counter metric.
counter(String) - Method in class org.apache.sling.commons.metrics.internal.MetricsServiceImpl
 
counter(String) - Method in interface org.apache.sling.commons.metrics.MetricsService
Creates a new Counter and registers it under the given name.
Counting - Interface in org.apache.sling.commons.metrics
 

D

deactivate(BundleContext) - Method in class org.apache.sling.commons.metrics.internal.LogReporter
 
decrement() - Method in interface org.apache.sling.commons.metrics.Counter
Decrement the counter by one.
decrement(long) - Method in interface org.apache.sling.commons.metrics.Counter
Decrement the counter by n.
doGet(HttpServletRequest, HttpServletResponse) - Method in class org.apache.sling.commons.metrics.internal.MetricWebConsolePlugin
 

G

Gauge<T> - Interface in org.apache.sling.commons.metrics
A gauge metric is an instantaneous reading of a particular value.
getCount() - Method in interface org.apache.sling.commons.metrics.Counting
Returns the current count.
getMetricsService(Class<?>) - Static method in class org.apache.sling.commons.metrics.MetricsServiceFactory
Provide a MetricsService mapped to the Bundle that loaded class c
getValue() - Method in interface org.apache.sling.commons.metrics.Gauge
Returns the metric's current value.

H

Histogram - Interface in org.apache.sling.commons.metrics
A metric which calculates the distribution of a value.
histogram(String) - Method in class org.apache.sling.commons.metrics.internal.MetricsServiceImpl
 
histogram(String) - Method in interface org.apache.sling.commons.metrics.MetricsService
Creates a new Histogram and registers it under the given name.

I

increment() - Method in interface org.apache.sling.commons.metrics.Counter
Increment the counter by one.
increment(long) - Method in interface org.apache.sling.commons.metrics.Counter
Increment the counter by n.

L

LogReporter - Class in org.apache.sling.commons.metrics.internal
 
LogReporter() - Constructor for class org.apache.sling.commons.metrics.internal.LogReporter
 

M

mark() - Method in interface org.apache.sling.commons.metrics.Meter
Mark the occurrence of an event.
mark(long) - Method in interface org.apache.sling.commons.metrics.Meter
Mark the occurrence of a given number of events.
meter(String) - Method in class org.apache.sling.commons.metrics.internal.MetricsServiceImpl
 
Meter - Interface in org.apache.sling.commons.metrics
A meter metric which measures mean throughput
meter(String) - Method in interface org.apache.sling.commons.metrics.MetricsService
Creates a new Meter and registers it under the given name.
Metric - Interface in org.apache.sling.commons.metrics
 
METRIC_REGISTRY_NAME - Static variable in class org.apache.sling.commons.metrics.internal.MetricWebConsolePlugin
Service property name which stores the MetricRegistry name as a given OSGi ServiceRegistry might have multiple instances of MetricRegistry
MetricsService - Interface in org.apache.sling.commons.metrics
The MetricsService enables creation of various types of Metric.
MetricsServiceFactory - Class in org.apache.sling.commons.metrics
Utility that provides a MetricsService to any class that has been loaded from an OSGi bundle.
MetricsServiceFactory() - Constructor for class org.apache.sling.commons.metrics.MetricsServiceFactory
 
MetricsServiceImpl - Class in org.apache.sling.commons.metrics.internal
 
MetricsServiceImpl() - Constructor for class org.apache.sling.commons.metrics.internal.MetricsServiceImpl
 
MetricWebConsolePlugin - Class in org.apache.sling.commons.metrics.internal
 
MetricWebConsolePlugin() - Constructor for class org.apache.sling.commons.metrics.internal.MetricWebConsolePlugin
 
modifiedService(ServiceReference<MetricRegistry>, Slf4jReporter) - Method in class org.apache.sling.commons.metrics.internal.LogReporter
 
modifiedService(ServiceReference<MetricRegistry>, MetricRegistry) - Method in class org.apache.sling.commons.metrics.internal.MetricWebConsolePlugin
 

N

NAME - Static variable in interface org.apache.sling.commons.metrics.Gauge
Service property name which determines the name of the Gauge
NOOP - Static variable in interface org.apache.sling.commons.metrics.MetricsService
Dummy variant of MetricsService which does not collect any metric

O

org.apache.sling.commons.metrics - package org.apache.sling.commons.metrics
Provides an API to generate and collect metrics in various forms
org.apache.sling.commons.metrics.internal - package org.apache.sling.commons.metrics.internal
 

P

print(PrintWriter, Format, boolean) - Method in class org.apache.sling.commons.metrics.internal.MetricWebConsolePlugin
 

R

removedService(ServiceReference<MetricRegistry>, Slf4jReporter) - Method in class org.apache.sling.commons.metrics.internal.LogReporter
 
removedService(ServiceReference<MetricRegistry>, MetricRegistry) - Method in class org.apache.sling.commons.metrics.internal.MetricWebConsolePlugin
 

S

stop() - Method in interface org.apache.sling.commons.metrics.Timer.Context
Updates the timer with the difference between current and start time.

T

time() - Method in interface org.apache.sling.commons.metrics.Timer
Returns a new Timer.Context.
timer(String) - Method in class org.apache.sling.commons.metrics.internal.MetricsServiceImpl
 
timer(String) - Method in interface org.apache.sling.commons.metrics.MetricsService
Creates a new Timer and registers it under the given name.
Timer - Interface in org.apache.sling.commons.metrics
A timer metric which aggregates timing durations and provides duration statistics.
Timer.Context - Interface in org.apache.sling.commons.metrics
A timing context.

U

update(long) - Method in interface org.apache.sling.commons.metrics.Histogram
Adds a recorded value.
update(long, TimeUnit) - Method in interface org.apache.sling.commons.metrics.Timer
Adds a recorded duration.
A C D G H I L M N O P R S T U 
Skip navigation links

Copyright © 2007–2018 The Apache Software Foundation. All rights reserved.