Class ReplicationMonitor
- java.lang.Object
-
- org.opends.server.api.MonitorProvider<MonitorProviderCfg>
-
- org.opends.server.replication.service.ReplicationMonitor
-
public class ReplicationMonitor extends MonitorProvider<MonitorProviderCfg>
Class used to generate monitoring information for the replication.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MonitorDatagetMonitorData()Retrieves a set of attributes containing monitor data that should be returned to the client if the corresponding monitor entry is requested.StringgetMonitorInstanceName()Retrieves the name of this monitor provider.voidinitializeMonitorProvider(MonitorProviderCfg configuration)Initializes this monitor provider based on the information in the provided configuration entry.-
Methods inherited from class org.opends.server.api.MonitorProvider
finalizeMonitorProvider, getMonitorObjectClass, isConfigurationAcceptable, scheduleUpdate
-
-
-
-
Method Detail
-
initializeMonitorProvider
public void initializeMonitorProvider(MonitorProviderCfg configuration)
Initializes this monitor provider based on the information in the provided configuration entry.- Overrides:
initializeMonitorProviderin classMonitorProvider<MonitorProviderCfg>- Parameters:
configuration- The configuration to use to initialize this monitor provider.
-
getMonitorInstanceName
public String getMonitorInstanceName()
Retrieves the name of this monitor provider. It should be unique among all monitor providers, including all instances of the same monitor provider.- Specified by:
getMonitorInstanceNamein classMonitorProvider<MonitorProviderCfg>- Returns:
- The name of this monitor provider.
-
getMonitorData
public MonitorData getMonitorData()
Description copied from class:MonitorProviderRetrieves a set of attributes containing monitor data that should be returned to the client if the corresponding monitor entry is requested.- Specified by:
getMonitorDatain classMonitorProvider<MonitorProviderCfg>- Returns:
- A set of attributes containing monitor data that should be returned to the client if the corresponding monitor entry is requested.
-
-