Interface FixedTimeLogRotationPolicyCfg

    • Method Detail

      • addFixedTimeChangeListener

        void addFixedTimeChangeListener​(ConfigurationChangeListener<FixedTimeLogRotationPolicyCfg> listener)
        Register to be notified when this Fixed Time Log Rotation Policy is changed.
        Parameters:
        listener - The Fixed Time Log Rotation Policy configuration change listener.
      • removeFixedTimeChangeListener

        void removeFixedTimeChangeListener​(ConfigurationChangeListener<FixedTimeLogRotationPolicyCfg> listener)
        Deregister an existing Fixed Time Log Rotation Policy configuration change listener.
        Parameters:
        listener - The Fixed Time 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 Fixed Time Log Rotation Policy implementation.

        Default value: org.opends.server.loggers.FixedTimeRotationPolicy

        Specified by:
        getJavaClass in interface LogRotationPolicyCfg
        Returns:
        Returns the value of the "java-class" property.
      • getTimeOfDay

        SortedSet<String> getTimeOfDay()
        Gets the "time-of-day" property.

        Specifies the time of day at which log rotation should occur.

        Returns:
        Returns an unmodifiable set containing the values of the "time-of-day" property.