public interface FreeDiskSpaceLogRetentionPolicyCfg extends LogRetentionPolicyCfg
Retention policy based on the free disk space available.
Modifier and Type | Method and Description |
---|---|
void |
addFreeDiskSpaceChangeListener(ConfigurationChangeListener<FreeDiskSpaceLogRetentionPolicyCfg> listener)
Register to be notified when this Free Disk Space Log Retention Policy is changed.
|
Class<? extends FreeDiskSpaceLogRetentionPolicyCfg> |
configurationClass()
Gets the configuration class associated with this Free Disk Space Log Retention Policy.
|
long |
getFreeDiskSpace()
Gets the "free-disk-space" property.
|
String |
getJavaClass()
Gets the "java-class" property.
|
void |
removeFreeDiskSpaceChangeListener(ConfigurationChangeListener<FreeDiskSpaceLogRetentionPolicyCfg> listener)
Deregister an existing Free Disk Space Log Retention Policy configuration change listener.
|
addChangeListener, removeChangeListener
dn, name
Class<? extends FreeDiskSpaceLogRetentionPolicyCfg> configurationClass()
configurationClass
in interface Configuration
configurationClass
in interface LogRetentionPolicyCfg
void addFreeDiskSpaceChangeListener(ConfigurationChangeListener<FreeDiskSpaceLogRetentionPolicyCfg> listener)
listener
- The Free Disk Space Log Retention Policy configuration change listener.void removeFreeDiskSpaceChangeListener(ConfigurationChangeListener<FreeDiskSpaceLogRetentionPolicyCfg> listener)
listener
- The Free Disk Space Log Retention Policy configuration change listener.long getFreeDiskSpace()
Specifies the minimum amount of free disk space that should be available on the file system on which the archived log files are stored.
String getJavaClass()
Specifies the fully-qualified name of the Java class that provides the Free Disk Space Log Retention Policy implementation.
getJavaClass
in interface LogRetentionPolicyCfg
Copyright 2010-2018 ForgeRock AS.