Record Class LocalBackendMonitor.BaseDnMonitorData
java.lang.Object
java.lang.Record
org.opends.server.monitors.LocalBackendMonitor.BaseDnMonitorData
- Record Components:
backendType- the backend typebackendId- the backend idbaseDn- base DN exposed by the backend
- Enclosing class:
LocalBackendMonitor<B extends LocalBackend<?>>
-
Constructor Summary
ConstructorsConstructorDescriptionBaseDnMonitorData(String backendType, String backendId, Dn baseDn) Creates an instance of aBaseDnMonitorDatarecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thebackendIdrecord component.Returns the value of thebackendTyperecord component.baseDn()Returns the value of thebaseDnrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the DN exposed by the corresponding monitor object.newMetricRegistryHolder(MeterRegistry parent, String... additionalHierarchicalNamePrefixElements) Builds and returns a new meter registry holder using the information held in this object.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
BaseDnMonitorData
Creates an instance of aBaseDnMonitorDatarecord class.- Parameters:
backendType- the value for thebackendTyperecord componentbackendId- the value for thebackendIdrecord componentbaseDn- the value for thebaseDnrecord component
-
-
Method Details
-
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
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
backendType
Returns the value of thebackendTyperecord component.- Returns:
- the value of the
backendTyperecord component
-
backendId
-
baseDn
-