public class ReplicationMonitor extends MonitorProvider<MonitorProviderCfg>
Modifier and Type | Method and Description |
---|---|
static void |
addMonitorData(List<Attribute> attributes,
String attrName,
Object value)
Adds an attribute with a value to the list of monitoring attributes.
|
List<Attribute> |
getMonitorData()
Retrieves a set of attributes containing monitor data that should be
returned to the client if the corresponding monitor entry is requested.
|
String |
getMonitorInstanceName()
Retrieves the name of this monitor provider.
|
void |
initializeMonitorProvider(MonitorProviderCfg configuration)
Initializes this monitor provider based on the information in the provided configuration entry.
|
finalizeMonitorProvider, getMonitorObjectClass, isConfigurationAcceptable, scheduleUpdate
public void initializeMonitorProvider(MonitorProviderCfg configuration)
initializeMonitorProvider
in class MonitorProvider<MonitorProviderCfg>
configuration
- The configuration to use to initialize this monitor provider.public String getMonitorInstanceName()
getMonitorInstanceName
in class MonitorProvider<MonitorProviderCfg>
public List<Attribute> getMonitorData()
getMonitorData
in class MonitorProvider<MonitorProviderCfg>
public static void addMonitorData(List<Attribute> attributes, String attrName, Object value)
attributes
- the list of monitoring attributesattrName
- the name of the attribute to add.value
- The value of he attribute to add.Copyright © 2010-2016 ForgeRock AS. All Rights Reserved.