Interface TimeLimitLogRotationPolicyCfg
- All Superinterfaces:
Configuration,LogRotationPolicyCfg
A server-side interface for querying Time Limit Log Rotation Policy
settings.
Rotation policy based on the time since last rotation.
-
Method Summary
Modifier and TypeMethodDescriptionvoidRegister to be notified when this Time Limit Log Rotation Policy is changed.Class<? extends TimeLimitLogRotationPolicyCfg>Gets the configuration class associated with this Time Limit Log Rotation Policy.Gets the "java-class" property.longGets the "rotation-interval" property.voidDeregister an existing Time Limit Log Rotation Policy configuration change listener.Methods inherited from interface org.forgerock.opendj.config.Configuration
dn, nameMethods inherited from interface org.forgerock.opendj.server.config.server.LogRotationPolicyCfg
addChangeListener, removeChangeListener
-
Method Details
-
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.
Default value:
org.opends.server.loggers.TimeLimitRotationPolicy- 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.
-