Interface MonitorProviderCfg
-
- All Superinterfaces:
Configuration
- All Known Subinterfaces:
ClientConnectionMonitorProviderCfg,EntryCacheMonitorProviderCfg,MemoryUsageMonitorProviderCfg,StackTraceMonitorProviderCfg,SystemInfoMonitorProviderCfg,VersionMonitorProviderCfg
public interface MonitorProviderCfg extends Configuration
A server-side interface for querying Monitor Provider settings.Monitor Providers can be used to provide information about the state of the server or one of its components.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddChangeListener(ConfigurationChangeListener<MonitorProviderCfg> listener)Register to be notified when this Monitor Provider is changed.Class<? extends MonitorProviderCfg>configurationClass()Gets the configuration class associated with this Monitor Provider.StringgetJavaClass()Gets the "java-class" property.booleanisEnabled()Gets the "enabled" property.voidremoveChangeListener(ConfigurationChangeListener<MonitorProviderCfg> listener)Deregister an existing Monitor Provider configuration change listener.-
Methods inherited from interface org.forgerock.opendj.config.Configuration
dn, name
-
-
-
-
Method Detail
-
configurationClass
Class<? extends MonitorProviderCfg> configurationClass()
Gets the configuration class associated with this Monitor Provider.- Specified by:
configurationClassin interfaceConfiguration- Returns:
- Returns the configuration class associated with this Monitor Provider.
-
addChangeListener
void addChangeListener(ConfigurationChangeListener<MonitorProviderCfg> listener)
Register to be notified when this Monitor Provider is changed.- Parameters:
listener- The Monitor Provider configuration change listener.
-
removeChangeListener
void removeChangeListener(ConfigurationChangeListener<MonitorProviderCfg> listener)
Deregister an existing Monitor Provider configuration change listener.- Parameters:
listener- The Monitor Provider configuration change listener.
-
isEnabled
boolean isEnabled()
Gets the "enabled" property.Indicates whether the Monitor Provider is enabled for use.
- Returns:
- Returns the value of the "enabled" property.
-
getJavaClass
String getJavaClass()
Gets the "java-class" property.Specifies the fully-qualified name of the Java class that provides the Monitor Provider implementation.
- Returns:
- Returns the value of the "java-class" property.
-
-