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 Summary

    Modifier and Type
    Method
    Description
    void
    This method is called after the rotation and retention checks are done.
    void
    This method is called before the rotation and retention checks are done.
  • Method Details

    • 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.