Class LocalBackendMonitor.BaseDnMonitorData

    • Constructor Detail

      • BaseDnMonitorData

        public BaseDnMonitorData​(String backendType,
                                 String backendId,
                                 Dn baseDn)
        Constructs a BaseDnMonitorData with the provided arguments.
        Parameters:
        backendId - the backend id
        backendType - the backend type
        baseDn - base DN exposed by the backend
    • 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 registry
        additionalHierarchicalNamePrefixElements - 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