Interface FreeDiskSpaceLogRetentionPolicyCfgClient
- All Superinterfaces:
ConfigurationClient
,LogRetentionPolicyCfgClient
A client-side interface for reading and modifying Free Disk Space
Log Retention Policy settings.
Retention policy based on the free disk space available.
-
Method Summary
Modifier and TypeMethodDescriptionManagedObjectDefinition<? extends FreeDiskSpaceLogRetentionPolicyCfgClient,
? extends FreeDiskSpaceLogRetentionPolicyCfg> Get the configuration definition associated with this Free Disk Space Log Retention Policy.Gets the "free-disk-space" property.Gets the "java-class" property.void
setFreeDiskSpace
(ValueOrExpression<Long> value) Sets the "free-disk-space" property.void
setJavaClass
(ValueOrExpression<String> value) Sets the "java-class" property.Methods inherited from interface org.forgerock.opendj.config.ConfigurationClient
commit, properties
-
Method Details
-
definition
ManagedObjectDefinition<? extends FreeDiskSpaceLogRetentionPolicyCfgClient,? extends FreeDiskSpaceLogRetentionPolicyCfg> definition()Get the configuration definition associated with this Free Disk Space Log Retention Policy.- Specified by:
definition
in interfaceConfigurationClient
- Specified by:
definition
in interfaceLogRetentionPolicyCfgClient
- Returns:
- Returns the configuration definition associated with this Free Disk Space Log Retention Policy.
-
getFreeDiskSpace
Gets the "free-disk-space" property.Specifies the minimum amount of free disk space that should be available on the file system on which the archived log files are stored.
- Returns:
- Returns the value of the "free-disk-space" property.
-
setFreeDiskSpace
Sets the "free-disk-space" property.Specifies the minimum amount of free disk space that should be available on the file system on which the archived log files are stored.
- Parameters:
value
- The value of the "free-disk-space" property.- Throws:
PropertyException
- If the new value is invalid.
-
getJavaClass
Gets the "java-class" property.Specifies the fully-qualified name of the Java class that provides the Free Disk Space Log Retention Policy implementation.
Default value:
org.opends.server.loggers.FreeDiskSpaceRetentionPolicy
- Specified by:
getJavaClass
in interfaceLogRetentionPolicyCfgClient
- Returns:
- Returns the value of the "java-class" property.
-
setJavaClass
Sets the "java-class" property.Specifies the fully-qualified name of the Java class that provides the Free Disk Space Log Retention Policy implementation.
- Specified by:
setJavaClass
in interfaceLogRetentionPolicyCfgClient
- Parameters:
value
- The value of the "java-class" property.- Throws:
PropertyException
- If the new value is invalid.
-