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

A

ALL - Static variable in interface org.apache.dubbo.metrics.MetricFilter
Matches all metrics, regardless of type or name.

B

BucketCounter - Interface in org.apache.dubbo.metrics
Store the count in multiple buckets, every event will go into one specific bucket according to the happening timestamp.
build(String...) - Static method in class org.apache.dubbo.metrics.MetricName
Build a new metric name using the specific path components.

C

compareTo(MetricName) - Method in class org.apache.dubbo.metrics.MetricName
 
Compass - Interface in org.apache.dubbo.metrics
A metric that provides an easy way to collect method invocation, response time, success count, and error code count.
compass(MetricName) - Method in class org.apache.dubbo.metrics.MetricRegistry
Create a FastCompass with given name
Counter - Interface in org.apache.dubbo.metrics
An incrementing and decrementing counter metric.
counter(String) - Method in class org.apache.dubbo.metrics.MetricRegistry
Creates a new Counter and registers it under the given name.
counter(MetricName) - Method in class org.apache.dubbo.metrics.MetricRegistry
Return the Counter registered under this name; or create and register a new Counter if none is registered.
Counting - Interface in org.apache.dubbo.metrics
An interface for metric types which have counts.

D

dec() - Method in interface org.apache.dubbo.metrics.Counter
Decrement the counter by one.
dec(long) - Method in interface org.apache.dubbo.metrics.Counter
Decrement the counter by n.

E

EMPTY - Static variable in class org.apache.dubbo.metrics.MetricName
 
EMPTY_TAGS - Static variable in class org.apache.dubbo.metrics.MetricName
 
equals(Object) - Method in class org.apache.dubbo.metrics.MetricName
 

G

Gauge<T> - Interface in org.apache.dubbo.metrics
A gauge metric is an instantaneous reading of a particular value.
getBucketCounter(String, MetricName) - Method in interface org.apache.dubbo.metrics.IMetricManager
Create a BucketCounter metric in given group, and name.
getBucketCounter(String, MetricName) - Method in class org.apache.dubbo.metrics.NOPMetricManager
 
getBucketCounters(String, MetricName) - Static method in class org.apache.dubbo.metrics.MetricManager
Create a BucketCounter metric in given group, and name.
getBucketCounts() - Method in interface org.apache.dubbo.metrics.BucketCounter
Return the bucket count, keyed by timestamp
getBucketCounts(long) - Method in interface org.apache.dubbo.metrics.BucketCounter
Return the bucket count, keyed by timestamp, since (including) the startTime.
getBucketInterval() - Method in interface org.apache.dubbo.metrics.BucketCounter
Get the interval of the bucket
getBucketInterval() - Method in interface org.apache.dubbo.metrics.Compass
 
getCompass(String, MetricName) - Method in interface org.apache.dubbo.metrics.IMetricManager
Create a Compass metric in give group, name, and type if not exist, an instance will be created.
getCompass(String, MetricName) - Static method in class org.apache.dubbo.metrics.MetricManager
Create a Compass metric in given group, and name if not exist, an instance will be created.
getCompass(String, MetricName) - Method in class org.apache.dubbo.metrics.NOPMetricManager
 
getCompasses(String, MetricFilter) - Method in interface org.apache.dubbo.metrics.IMetricManager
Get all the compasses by the specific group and filter
getCompasses() - Method in class org.apache.dubbo.metrics.MetricRegistry
Returns a map of all the compasses in the registry and their names.
getCompasses(MetricFilter) - Method in class org.apache.dubbo.metrics.MetricRegistry
Returns a map of all the compasses in the registry and their names which match the given filter.
getCompasses(String, MetricFilter) - Method in class org.apache.dubbo.metrics.NOPMetricManager
 
getCount() - Method in interface org.apache.dubbo.metrics.Counting
Returns the current count.
getCountAndRtPerCategory() - Method in interface org.apache.dubbo.metrics.Compass
return method execution time and count per bucket per category
getCountAndRtPerCategory(long) - Method in interface org.apache.dubbo.metrics.Compass
return method execution time and count per bucket per category
getCounter(String, MetricName) - Method in interface org.apache.dubbo.metrics.IMetricManager
Create a Counter metric in given group, and name.
getCounter(String, MetricName) - Static method in class org.apache.dubbo.metrics.MetricManager
Create a Counter metric in given group, and name.
getCounter(String, MetricName) - Method in class org.apache.dubbo.metrics.NOPMetricManager
 
getCounters(String, MetricFilter) - Method in interface org.apache.dubbo.metrics.IMetricManager
Get all the counters by the specific group and filter
getCounters() - Method in class org.apache.dubbo.metrics.MetricRegistry
Returns a map of all the counters in the registry and their names.
getCounters(MetricFilter) - Method in class org.apache.dubbo.metrics.MetricRegistry
Returns a map of all the counters in the registry and their names which match the given filter.
getCounters(String, MetricFilter) - Method in class org.apache.dubbo.metrics.NOPMetricManager
 
getGauges() - Method in class org.apache.dubbo.metrics.MetricRegistry
Returns a map of all the gauges in the registry and their names.
getGauges(MetricFilter) - Method in class org.apache.dubbo.metrics.MetricRegistry
Returns a map of all the gauges in the registry and their names which match the given filter.
getIMetricManager() - Static method in class org.apache.dubbo.metrics.MetricManager
get dynamically bound IMetricManager instance
getKey() - Method in class org.apache.dubbo.metrics.MetricName
 
getMaxValue() - Static method in enum org.apache.dubbo.metrics.MetricLevel
 
getMethodCountPerCategory() - Method in interface org.apache.dubbo.metrics.Compass
return method count per bucket per category
getMethodCountPerCategory(long) - Method in interface org.apache.dubbo.metrics.Compass
return method count per bucket per category
getMethodRtPerCategory() - Method in interface org.apache.dubbo.metrics.Compass
return method execution time per bucket per category
getMethodRtPerCategory(long) - Method in interface org.apache.dubbo.metrics.Compass
return method execution time per bucket per category
getMetricLevel() - Method in class org.apache.dubbo.metrics.MetricName
Return the level of this metric The level indicates the importance of the metric
getMetricRegistryByGroup(String) - Method in interface org.apache.dubbo.metrics.IMetricManager
Get metric registry by group name, if not found, null will be returned
getMetricRegistryByGroup(String) - Method in class org.apache.dubbo.metrics.NOPMetricManager
 
getMetrics(String) - Method in interface org.apache.dubbo.metrics.IMetricManager
A map of metric names to metrics.
getMetrics(MetricFilter) - Method in class org.apache.dubbo.metrics.MetricRegistry
Returns a map of all the metrics in the registry and their names which match the given filter
getMetrics() - Method in interface org.apache.dubbo.metrics.MetricSet
A map of metric names to metrics.
getMetrics(String) - Method in class org.apache.dubbo.metrics.NOPMetricManager
 
getNames() - Method in class org.apache.dubbo.metrics.MetricRegistry
Returns a set of the names of all the metrics in the registry.
getTags() - Method in class org.apache.dubbo.metrics.MetricName
 
getValue() - Method in interface org.apache.dubbo.metrics.Gauge
Returns the metric's current value.

H

hashCode() - Method in class org.apache.dubbo.metrics.MetricName
 

I

IMetricManager - Interface in org.apache.dubbo.metrics
 
inc() - Method in interface org.apache.dubbo.metrics.Counter
Increment the counter by one.
inc(long) - Method in interface org.apache.dubbo.metrics.Counter
Increment the counter by n.

J

join(MetricName...) - Static method in class org.apache.dubbo.metrics.MetricName
Join the specified set of metric names.

L

lastUpdateTime() - Method in interface org.apache.dubbo.metrics.Metric
Return the last update time in milliseconds
level(MetricLevel) - Method in class org.apache.dubbo.metrics.MetricName
Metric level can be changed during runtime
listMetricGroups() - Method in interface org.apache.dubbo.metrics.IMetricManager
Get a list of group in current MetricManager
listMetricGroups() - Method in class org.apache.dubbo.metrics.NOPMetricManager
 
listMetricNamesByGroup() - Method in interface org.apache.dubbo.metrics.IMetricManager
list all metric names by group
listMetricNamesByGroup() - Method in class org.apache.dubbo.metrics.NOPMetricManager
 

M

matches(MetricName, Metric) - Method in interface org.apache.dubbo.metrics.MetricFilter
Returns true if the metric matches the filter; false otherwise.
Metric - Interface in org.apache.dubbo.metrics
A tag interface to indicate that a class is a metric.
MetricFilter - Interface in org.apache.dubbo.metrics
A filter used to determine whether or not a metric should be reported, among other things.
MetricLevel - Enum in org.apache.dubbo.metrics
An enumeration class to represent the metric level
MetricManager - Class in org.apache.dubbo.metrics
The design concept is heavily borrowed from SLF4j (http://www.slf4j.org/), the logging framework.
MetricManager() - Constructor for class org.apache.dubbo.metrics.MetricManager
 
MetricName - Class in org.apache.dubbo.metrics
This class is based on Dropwizard metrics, see io/dropwizard/metrics/MetricName.java The following changes are made: * Add metric level * Cache the hash code
MetricName() - Constructor for class org.apache.dubbo.metrics.MetricName
 
MetricName(String) - Constructor for class org.apache.dubbo.metrics.MetricName
 
MetricName(String, Map<String, String>) - Constructor for class org.apache.dubbo.metrics.MetricName
 
MetricName(String, MetricLevel) - Constructor for class org.apache.dubbo.metrics.MetricName
 
MetricName(String, Map<String, String>, MetricLevel) - Constructor for class org.apache.dubbo.metrics.MetricName
 
MetricRegistry - Class in org.apache.dubbo.metrics
A registry of metric instances.
MetricRegistry() - Constructor for class org.apache.dubbo.metrics.MetricRegistry
 
MetricSet - Interface in org.apache.dubbo.metrics
A set of named metrics.

N

NOPMetricManager - Class in org.apache.dubbo.metrics
The empty implementation for IMetricManager
NOPMetricManager() - Constructor for class org.apache.dubbo.metrics.NOPMetricManager
 

O

org.apache.dubbo.metrics - package org.apache.dubbo.metrics
 

R

record(long, String) - Method in interface org.apache.dubbo.metrics.Compass
record a method invocation with execution time and sub-categories
register(String, MetricName, Metric) - Method in interface org.apache.dubbo.metrics.IMetricManager
Register a customized metric to specified group.
register(String, MetricName, Metric) - Static method in class org.apache.dubbo.metrics.MetricManager
Register a customized metric to specified group.
register(String, T) - Method in class org.apache.dubbo.metrics.MetricRegistry
Given a Metric, registers it under the given name.
register(MetricName, T) - Method in class org.apache.dubbo.metrics.MetricRegistry
Given a Metric, registers it under the given name.
register(String, MetricName, Metric) - Method in class org.apache.dubbo.metrics.NOPMetricManager
 
registerAll(MetricSet) - Method in class org.apache.dubbo.metrics.MetricRegistry
Given a metric set, registers them.
remove(MetricName) - Method in class org.apache.dubbo.metrics.MetricRegistry
Removes the metric with the given name.
removeMatching(MetricFilter) - Method in class org.apache.dubbo.metrics.MetricRegistry
Removes all metrics which match the given filter.
resolve(String) - Method in class org.apache.dubbo.metrics.MetricName
 
resolve(String, boolean) - Method in class org.apache.dubbo.metrics.MetricName
Build the MetricName that is this with another path appended to it.

S

SEPARATOR - Static variable in class org.apache.dubbo.metrics.MetricName
 

T

tag(Map<String, String>) - Method in class org.apache.dubbo.metrics.MetricName
Add tags to a metric name and return the newly created MetricName.
tag(String...) - Method in class org.apache.dubbo.metrics.MetricName
Same as MetricName.tag(Map), but takes a variadic list of arguments.
toString() - Method in class org.apache.dubbo.metrics.MetricName
 

U

update() - Method in interface org.apache.dubbo.metrics.BucketCounter
update the counter to the given bucket
update(long) - Method in interface org.apache.dubbo.metrics.BucketCounter
update the counter to the given bucket

V

valueOf(String) - Static method in enum org.apache.dubbo.metrics.MetricLevel
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.apache.dubbo.metrics.MetricLevel
Returns an array containing the constants of this enum type, in the order they are declared.
A B C D E G H I J L M N O R S T U V 
Skip navigation links

Copyright © 2011–2019 The Apache Software Foundation. All rights reserved.