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 Details

    • configurationClass

      Class<? extends TimeLimitLogRotationPolicyCfg> configurationClass()
      Gets the configuration class associated with this Time Limit Log Rotation Policy.
      Specified by:
      configurationClass in interface Configuration
      Specified by:
      configurationClass in interface LogRotationPolicyCfg
      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 interface LogRotationPolicyCfg
      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.