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 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.-
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:
configurationClass
in interfaceConfiguration
- Specified by:
configurationClass
in 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.
Default value:
org.opends.server.loggers.TimeLimitRotationPolicy
- Specified by:
getJavaClass
in 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.
-
-