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 Summary
Modifier and TypeMethodDescriptionvoidrolloverComplete(String fileName) Called after rollover.voidrolloverTriggered(String fileName) Called before rollover.
-
Method Details
-
rolloverTriggered
Called before rollover.- Parameters:
fileName- The name of the file rolling over.
-
rolloverComplete
Called after rollover.- Parameters:
fileName- The name of the file rolling over.
-