Interface TimeLimitLogRotationPolicyCfg
-
- All Superinterfaces:
Configuration,LogRotationPolicyCfg
public interface TimeLimitLogRotationPolicyCfg extends LogRotationPolicyCfg
A server-side interface for querying Time Limit Log Rotation Policy settings.Rotation policy based on the time since last rotation.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddTimeLimitChangeListener(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.StringgetJavaClass()Gets the "java-class" property.longgetRotationInterval()Gets the "rotation-interval" property.voidremoveTimeLimitChangeListener(ConfigurationChangeListener<TimeLimitLogRotationPolicyCfg> listener)Deregister an existing Time Limit Log Rotation Policy configuration change listener.-
Methods inherited from interface org.forgerock.opendj.config.Configuration
dn, name
-
Methods inherited from interface org.forgerock.opendj.server.config.server.LogRotationPolicyCfg
addChangeListener, removeChangeListener
-
-
-
-
Method Detail
-
configurationClass
Class<? extends TimeLimitLogRotationPolicyCfg> configurationClass()
Gets the configuration class associated with this Time Limit Log Rotation Policy.- Specified by:
configurationClassin interfaceConfiguration- Specified by:
configurationClassin interfaceLogRotationPolicyCfg- Returns:
- Returns the configuration class associated with this Time Limit Log Rotation Policy.
-
addTimeLimitChangeListener
void addTimeLimitChangeListener(ConfigurationChangeListener<TimeLimitLogRotationPolicyCfg> listener)
Register to be notified when this Time Limit Log Rotation Policy is changed.- Parameters:
listener- The Time Limit Log Rotation Policy configuration change listener.
-
removeTimeLimitChangeListener
void removeTimeLimitChangeListener(ConfigurationChangeListener<TimeLimitLogRotationPolicyCfg> listener)
Deregister an existing Time Limit Log Rotation Policy configuration change listener.- Parameters:
listener- The Time Limit Log Rotation Policy configuration change listener.
-
getJavaClass
String getJavaClass()
Gets the "java-class" property.Specifies the fully-qualified name of the Java class that provides the Time Limit Log Rotation Policy implementation.
- Specified by:
getJavaClassin interfaceLogRotationPolicyCfg- Returns:
- Returns the value of the "java-class" property.
-
getRotationInterval
long getRotationInterval()
Gets the "rotation-interval" property.Specifies the time interval between rotations.
- Returns:
- Returns the value of the "rotation-interval" property.
-
-