Class PluggableBackendMonitor
java.lang.Object
org.opends.server.api.MonitorProvider
org.opends.server.monitors.LocalBackendMonitor<BackendImpl<?>>
org.opends.server.backends.pluggable.PluggableBackendMonitor
- All Implemented Interfaces:
MeterBinder
A monitor provider for high level backend statistics, such as filter stats and search counters.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.opends.server.monitors.LocalBackendMonitor
LocalBackendMonitor.BaseDnMonitorData -
Field Summary
Fields inherited from class org.opends.server.api.MonitorProvider
registry -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedPluggableBackendMonitor(BackendImpl<?> backend, ServerContext serverContext) Creates a new pluggable backend monitor instance associated to the provided backend. -
Method Summary
Modifier and TypeMethodDescriptionprotected final voidAdds additional metrics specific to the local backend implementation in this monitor provider'sMeterRegistry.protected voidAdds additional metrics specific to the pluggable backend implementation in this monitor provider'sMeterRegistry.protected voidaddMonitorObjectClassNames(Attribute ocAttr) Adds to the provided attribute the objectclass names that should be included in the monitor entry created from this monitor provider.protected abstract StringReturns the local backend implementation type.Methods inherited from class org.opends.server.monitors.LocalBackendMonitor
bindTo, computeMonitorInstanceDn, deregisterBaseDnMonitors, getBaseDnMonitorData, getLocalBackend, registerBaseDnMonitors, updateBaseDnMonitorsMethods inherited from class org.opends.server.api.MonitorProvider
configurationDnToMonitorDn, deregisterAll, getMonitorEntry, getMonitorInstanceDn, toString
-
Constructor Details
-
PluggableBackendMonitor
Creates a new pluggable backend monitor instance associated to the provided backend.- Parameters:
backend- Thebackendmonitored.serverContext- The server context
-
-
Method Details
-
addMonitorObjectClassNames
Description copied from class:MonitorProviderAdds to the provided attribute the objectclass names that should be included in the monitor entry created from this monitor provider. This method should be implemented by child classes to make it easier to search for monitor entries of a specific type.- Overrides:
addMonitorObjectClassNamesin classLocalBackendMonitor<BackendImpl<?>>- Parameters:
ocAttr- the objectClass attribute where to add the object class names
-
getBackendType
Description copied from class:LocalBackendMonitorReturns the local backend implementation type.- Overrides:
getBackendTypein classLocalBackendMonitor<BackendImpl<?>>- Returns:
- A string used in this monitor provider's
MeterRegistryrepresenting the local backend type.
-
addAdditionalMetrics
protected final void addAdditionalMetrics()Description copied from class:LocalBackendMonitorAdds additional metrics specific to the local backend implementation in this monitor provider'sMeterRegistry.The default implementation is to do nothing.
- Overrides:
addAdditionalMetricsin classLocalBackendMonitor<BackendImpl<?>>
-
addAdditionalPluggableMetrics
protected void addAdditionalPluggableMetrics()Adds additional metrics specific to the pluggable backend implementation in this monitor provider'sMeterRegistry.The default implementation is to do nothing.
-