Package org.opends.server.monitors
Class LocalBackendMonitor.BaseDnMonitorData
- java.lang.Object
-
- org.opends.server.monitors.LocalBackendMonitor.BaseDnMonitorData
-
- Enclosing class:
- LocalBackendMonitor<B extends LocalBackend<?>>
public static final class LocalBackendMonitor.BaseDnMonitorData extends Object
Stores metric data local backends.
-
-
Constructor Summary
Constructors Constructor Description BaseDnMonitorData(String backendType, String backendId, Dn baseDn)
Constructs a BaseDnMonitorData with the provided arguments.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Dn
monitorInstanceDn()
Returns the DN exposed by the corresponding monitor object.MeterRegistryHolder
newMetricRegistryHolder(MeterRegistry parent, String... additionalHierarchicalNamePrefixElements)
Builds and returns a new meter registry holder using the information held in this object.
-
-
-
Method Detail
-
monitorInstanceDn
public Dn monitorInstanceDn()
Returns the DN exposed by the corresponding monitor object.- Returns:
- the DN exposed by the corresponding monitor object
-
newMetricRegistryHolder
public MeterRegistryHolder newMetricRegistryHolder(MeterRegistry parent, String... additionalHierarchicalNamePrefixElements)
Builds and returns a new meter registry holder using the information held in this object.- Parameters:
parent
- the parent meter registryadditionalHierarchicalNamePrefixElements
- additional prefix elements to use for the hierarchical name of the generated meter registry holder. Optional- Returns:
- a new meter registry holder using the information held in this object
-
-