Interface RotatableWriter.RolloverLifecycleHook

  • Enclosing class:
    RotatableWriter

    public static interface RotatableWriter.RolloverLifecycleHook
    Callback hooks to allow custom action to be taken before and after the checks for rotation and retention is performed.
    • Method Detail

      • beforeRollingOver

        void beforeRollingOver()
        This method is called before the rotation and retention checks are done.
      • afterRollingOver

        void afterRollingOver()
        This method is called after the rotation and retention checks are done.