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

A

addReporterRegistration(Consumer<RatisMetricRegistry>, Consumer<RatisMetricRegistry>) - Method in class org.apache.ratis.metrics.MetricRegistries
Add hook to register reporter for the metricRegistry.

C

clear() - Method in class org.apache.ratis.metrics.MetricRegistries
Removes all the MetricRegisties.
counter(String) - Method in interface org.apache.ratis.metrics.RatisMetricRegistry
 
create(MetricRegistryInfo) - Method in class org.apache.ratis.metrics.MetricRegistries
Create or return MetricRegistry with the given info.
create(MetricRegistryInfo) - Method in interface org.apache.ratis.metrics.MetricRegistryFactory
Create a MetricRegistry from the given MetricRegistryInfo
create(MetricRegistryInfo) - Static method in class org.apache.ratis.metrics.RatisMetrics
 

D

dec() - Method in interface org.apache.ratis.metrics.LongCounter
 
dec(long) - Method in interface org.apache.ratis.metrics.LongCounter
 

E

enableConsoleReporter(TimeDuration) - Method in class org.apache.ratis.metrics.MetricRegistries
Enable console reporter for the metricRegistry.
enableJmxReporter() - Method in class org.apache.ratis.metrics.MetricRegistries
Enable jmx reporter for the metricRegistry.
equals(Object) - Method in class org.apache.ratis.metrics.MetricRegistryInfo
 

G

gauge(String, Supplier<Supplier<T>>) - Method in interface org.apache.ratis.metrics.RatisMetricRegistry
 
get(MetricRegistryInfo) - Method in class org.apache.ratis.metrics.MetricRegistries
Returns the MetricRegistry if found.
getApplicationName() - Method in class org.apache.ratis.metrics.MetricRegistryInfo
 
getCount() - Method in interface org.apache.ratis.metrics.LongCounter
 
getHeartbeatSuffix(boolean) - Static method in class org.apache.ratis.metrics.RatisMetrics
 
getMetricRegistries() - Method in class org.apache.ratis.metrics.MetricRegistries
Returns MetricRegistry's created.
getMetricRegistryInfo() - Method in interface org.apache.ratis.metrics.RatisMetricRegistry
 
getMetricRegistryInfos() - Method in class org.apache.ratis.metrics.MetricRegistries
Returns MetricRegistryInfo's for the MetricRegistry's created.
getMetricsComponentName() - Method in class org.apache.ratis.metrics.MetricRegistryInfo
 
getMetricsDescription() - Method in class org.apache.ratis.metrics.MetricRegistryInfo
Get the description of what this metric registry exposes.
getPrefix() - Method in class org.apache.ratis.metrics.MetricRegistryInfo
Get the unique prefix for metrics that are being exported by this registry.
getRegistry() - Method in class org.apache.ratis.metrics.RatisMetrics
 
global() - Static method in class org.apache.ratis.metrics.MetricRegistries
Return the global singleton instance for the MetricRegistries.

H

hashCode() - Method in class org.apache.ratis.metrics.MetricRegistryInfo
 

I

inc() - Method in interface org.apache.ratis.metrics.LongCounter
 
inc(long) - Method in interface org.apache.ratis.metrics.LongCounter
 

L

load() - Static method in class org.apache.ratis.metrics.MetricRegistriesLoader
Creates a MetricRegistries instance using the corresponding MetricRegistries available to ServiceLoader on the classpath.
LongCounter - Interface in org.apache.ratis.metrics
 

M

MetricRegistries - Class in org.apache.ratis.metrics
MetricRegistries is collection of MetricRegistry's.
MetricRegistries() - Constructor for class org.apache.ratis.metrics.MetricRegistries
 
MetricRegistriesLoader - Class in org.apache.ratis.metrics
 
MetricRegistryFactory - Interface in org.apache.ratis.metrics
A Factory for creating MetricRegistries.
MetricRegistryInfo - Class in org.apache.ratis.metrics
This class holds the name, description and JMX related context names for such group of metrics.
MetricRegistryInfo(String, String, String, String) - Constructor for class org.apache.ratis.metrics.MetricRegistryInfo
 

N

newCounterMaps(Class<T>) - Static method in class org.apache.ratis.metrics.RatisMetrics
 
newHeartbeatCounter(String) - Method in class org.apache.ratis.metrics.RatisMetrics
 
newHeartbeatTimer(String) - Method in class org.apache.ratis.metrics.RatisMetrics
 
newTimerMap(Class<T>, Function<T, Timekeeper>) - Static method in class org.apache.ratis.metrics.RatisMetrics
 
NOOP - Static variable in interface org.apache.ratis.metrics.Timekeeper
 

O

org.apache.ratis.metrics - package org.apache.ratis.metrics
 

R

RATIS_APPLICATION_NAME_METRICS - Static variable in class org.apache.ratis.metrics.RatisMetrics
 
RatisMetricRegistry - Interface in org.apache.ratis.metrics
 
RatisMetrics - Class in org.apache.ratis.metrics
 
RatisMetrics(RatisMetricRegistry) - Constructor for class org.apache.ratis.metrics.RatisMetrics
 
remove(MetricRegistryInfo) - Method in class org.apache.ratis.metrics.MetricRegistries
Decrements the ref count of the MetricRegistry, and removes if ref count == 0.
remove(String) - Method in interface org.apache.ratis.metrics.RatisMetricRegistry
 
removeReporterRegistration(Consumer<RatisMetricRegistry>, Consumer<RatisMetricRegistry>) - Method in class org.apache.ratis.metrics.MetricRegistries
Remove hook of reporter for the metricRegistry.

S

start(Timekeeper) - Static method in interface org.apache.ratis.metrics.Timekeeper
 
stop() - Method in interface org.apache.ratis.metrics.Timekeeper.Context
 

T

time() - Method in interface org.apache.ratis.metrics.Timekeeper
 
Timekeeper - Interface in org.apache.ratis.metrics
 
Timekeeper.Context - Interface in org.apache.ratis.metrics
 
timer(String) - Method in interface org.apache.ratis.metrics.RatisMetricRegistry
 
toAutoCloseable() - Method in interface org.apache.ratis.metrics.Timekeeper.Context
 
toString() - Method in class org.apache.ratis.metrics.MetricRegistryInfo
 

U

unregister() - Method in class org.apache.ratis.metrics.RatisMetrics
 
A C D E G H I L M N O R S T U 
Skip navigation links

Copyright © 2017–2023 The Apache Software Foundation. All rights reserved.