Interface RolloverListener


  • public interface RolloverListener
    Implementations of this interface that are registered with the RollingFileManager will be notified before and after a rollover occurs. This is a synchronous call so Listeners should exit the methods as fast as possible. It is recommended that they simply notify some other already active thread.
    • Method Detail

      • rolloverTriggered

        void rolloverTriggered​(String fileName)
        Called before rollover.
        Parameters:
        fileName - The name of the file rolling over.
      • rolloverComplete

        void rolloverComplete​(String fileName)
        Called after rollover.
        Parameters:
        fileName - The name of the file rolling over.