public class ReplicationMonitor extends MonitorProvider<MonitorProviderCfg>
Modifier and Type | Method and Description |
---|---|
static void |
addMonitorData(List<Attribute> attributes,
String name,
int value)
Add an attribute with an integer 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 name, int value)
attributes
- the list of monitoring attributesname
- the name of the attribute to add.value
- The integer value of he attribute to add.Copyright © 2010-2015 ForgeRock AS. All Rights Reserved.