public interface TimeLimitLogRotationPolicyCfg extends LogRotationPolicyCfg
Rotation policy based on the time since last rotation.
Modifier and Type | Method and Description |
---|---|
void |
addTimeLimitChangeListener(ConfigurationChangeListener<TimeLimitLogRotationPolicyCfg> listener)
Register to be notified when this Time Limit Log Rotation Policy is changed.
|
Class<? extends TimeLimitLogRotationPolicyCfg> |
configurationClass()
Gets the configuration class associated with this Time Limit Log Rotation Policy.
|
String |
getJavaClass()
Gets the "java-class" property.
|
long |
getRotationInterval()
Gets the "rotation-interval" property.
|
void |
removeTimeLimitChangeListener(ConfigurationChangeListener<TimeLimitLogRotationPolicyCfg> listener)
Deregister an existing Time Limit Log Rotation Policy configuration change listener.
|
addChangeListener, removeChangeListener
dn, name
Class<? extends TimeLimitLogRotationPolicyCfg> configurationClass()
configurationClass
in interface Configuration
configurationClass
in interface LogRotationPolicyCfg
void addTimeLimitChangeListener(ConfigurationChangeListener<TimeLimitLogRotationPolicyCfg> listener)
listener
- The Time Limit Log Rotation Policy configuration change listener.void removeTimeLimitChangeListener(ConfigurationChangeListener<TimeLimitLogRotationPolicyCfg> listener)
listener
- The Time Limit Log Rotation Policy configuration change listener.String getJavaClass()
Specifies the fully-qualified name of the Java class that provides the Time Limit Log Rotation Policy implementation.
getJavaClass
in interface LogRotationPolicyCfg
long getRotationInterval()
Specifies the time interval between rotations.
Copyright 2010-2018 ForgeRock AS.