Interface MonitorProviderCfgClient
-
- All Superinterfaces:
ConfigurationClient
- All Known Subinterfaces:
ClientConnectionMonitorProviderCfgClient,EntryCacheMonitorProviderCfgClient,MemoryUsageMonitorProviderCfgClient,StackTraceMonitorProviderCfgClient,SystemInfoMonitorProviderCfgClient,VersionMonitorProviderCfgClient
public interface MonitorProviderCfgClient extends ConfigurationClient
A client-side interface for reading and modifying 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 ManagedObjectDefinition<? extends MonitorProviderCfgClient,? extends MonitorProviderCfg>definition()Get the configuration definition associated with this Monitor Provider.StringgetJavaClass()Gets the "java-class" property.BooleanisEnabled()Gets the "enabled" property.voidsetEnabled(boolean value)Sets the "enabled" property.voidsetJavaClass(String value)Sets the "java-class" property.-
Methods inherited from interface org.forgerock.opendj.config.ConfigurationClient
commit, properties
-
-
-
-
Method Detail
-
definition
ManagedObjectDefinition<? extends MonitorProviderCfgClient,? extends MonitorProviderCfg> definition()
Get the configuration definition associated with this Monitor Provider.- Specified by:
definitionin interfaceConfigurationClient- Returns:
- Returns the configuration definition associated with this Monitor Provider.
-
isEnabled
Boolean isEnabled()
Gets the "enabled" property.Indicates whether the Monitor Provider is enabled for use.
- Returns:
- Returns the value of the "enabled" property.
-
setEnabled
void setEnabled(boolean value) throws PropertyExceptionSets the "enabled" property.Indicates whether the Monitor Provider is enabled for use.
- Parameters:
value- The value of the "enabled" property.- Throws:
PropertyException- If the new value is invalid.
-
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.
-
setJavaClass
void setJavaClass(String value) throws PropertyException
Sets the "java-class" property.Specifies the fully-qualified name of the Java class that provides the Monitor Provider implementation.
- Parameters:
value- The value of the "java-class" property.- Throws:
PropertyException- If the new value is invalid.
-
-