public interface SizeLimitLogRetentionPolicyCfg extends LogRetentionPolicyCfg
Retention policy based on the amount of space taken by all the log files on disk.
| Modifier and Type | Method and Description |
|---|---|
void |
addSizeLimitChangeListener(ConfigurationChangeListener<SizeLimitLogRetentionPolicyCfg> listener)
Register to be notified when this Size Limit Log Retention Policy is changed.
|
Class<? extends SizeLimitLogRetentionPolicyCfg> |
configurationClass()
Gets the configuration class associated with this Size Limit Log Retention Policy.
|
long |
getDiskSpaceUsed()
Gets the "disk-space-used" property.
|
String |
getJavaClass()
Gets the "java-class" property.
|
void |
removeSizeLimitChangeListener(ConfigurationChangeListener<SizeLimitLogRetentionPolicyCfg> listener)
Deregister an existing Size Limit Log Retention Policy configuration change listener.
|
addChangeListener, removeChangeListenerdnClass<? extends SizeLimitLogRetentionPolicyCfg> configurationClass()
configurationClass in interface ConfigurationconfigurationClass in interface LogRetentionPolicyCfgvoid addSizeLimitChangeListener(ConfigurationChangeListener<SizeLimitLogRetentionPolicyCfg> listener)
listener - The Size Limit Log Retention Policy configuration change listener.void removeSizeLimitChangeListener(ConfigurationChangeListener<SizeLimitLogRetentionPolicyCfg> listener)
listener - The Size Limit Log Retention Policy configuration change listener.long getDiskSpaceUsed()
Specifies the maximum total disk space used by the log files.
String getJavaClass()
Specifies the fully-qualified name of the Java class that provides the Size Limit Log Retention Policy implementation.
getJavaClass in interface LogRetentionPolicyCfgCopyright © 2011-2015 ForgeRock AS. All Rights Reserved.