Interface SizeLimitLogRetentionPolicyCfgClient
-
- All Superinterfaces:
ConfigurationClient,LogRetentionPolicyCfgClient
public interface SizeLimitLogRetentionPolicyCfgClient extends LogRetentionPolicyCfgClient
A client-side interface for reading and modifying Size Limit Log Retention Policy settings.Retention policy based on the amount of space taken by all the log files on disk.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ManagedObjectDefinition<? extends SizeLimitLogRetentionPolicyCfgClient,? extends SizeLimitLogRetentionPolicyCfg>definition()Get the configuration definition associated with this Size Limit Log Retention Policy.LonggetDiskSpaceUsed()Gets the "disk-space-used" property.StringgetJavaClass()Gets the "java-class" property.voidsetDiskSpaceUsed(long value)Sets the "disk-space-used" 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 SizeLimitLogRetentionPolicyCfgClient,? extends SizeLimitLogRetentionPolicyCfg> definition()
Get the configuration definition associated with this Size Limit Log Retention Policy.- Specified by:
definitionin interfaceConfigurationClient- Specified by:
definitionin interfaceLogRetentionPolicyCfgClient- Returns:
- Returns the configuration definition associated with this Size Limit Log Retention Policy.
-
getDiskSpaceUsed
Long getDiskSpaceUsed()
Gets the "disk-space-used" property.Specifies the maximum total disk space used by the log files.
- Returns:
- Returns the value of the "disk-space-used" property.
-
setDiskSpaceUsed
void setDiskSpaceUsed(long value) throws PropertyExceptionSets the "disk-space-used" property.Specifies the maximum total disk space used by the log files.
- Parameters:
value- The value of the "disk-space-used" 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 Size Limit Log Retention Policy implementation.
- Specified by:
getJavaClassin interfaceLogRetentionPolicyCfgClient- 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 Size Limit Log Retention Policy implementation.
- Specified by:
setJavaClassin interfaceLogRetentionPolicyCfgClient- Parameters:
value- The value of the "java-class" property.- Throws:
PropertyException- If the new value is invalid.
-
-