Class TimeLimitRotationPolicy

  • All Implemented Interfaces:
    RotationPolicy

    public class TimeLimitRotationPolicy
    extends Object
    implements RotationPolicy
    Creates a rotation policy based on a time duration. Once the duration has passed the policy will indicate a file rotation is necessary.
    • Constructor Detail

      • TimeLimitRotationPolicy

        public TimeLimitRotationPolicy​(Duration rotationInterval)
        Constructs a TimeLimitRotationPolicy with a given Duration.
        Parameters:
        rotationInterval - The interval to rotate at.