org.x4juli.handlers.rolling
Interface RolloverDescription

All Known Implementing Classes:
RolloverDescriptionImpl

public interface RolloverDescription

Description of actions needed to complete rollover.

Logging API as a whole was originally done for Apache log4j. Juli is a port of main parts of that to complete the Java Logging APIs. All credits for initial idea, design, implementation, documentation belong to the log4j crew. This file was originally published by Curt Arnold. Please use exclusively the appropriate mailing lists for questions, remarks and contribution.

Since:
0.5
Author:
Boris Unckel

Method Summary
 java.lang.String getActiveFileName()
          Active log file name after rollover.
 boolean getAppend()
          Specifies if active file should be opened for appending.
 Action getAsynchronous()
          Action to be completed after close of current active log file and before next rollover attempt, may be executed asynchronously.
 Action getSynchronous()
          Action to be completed after close of current active log file before returning control to caller.
 

Method Detail

getActiveFileName

public java.lang.String getActiveFileName()
Active log file name after rollover.

Returns:
active log file name after rollover.
Since:
0.5

getAppend

public boolean getAppend()
Specifies if active file should be opened for appending.

Returns:
if true, active file should be opened for appending.
Since:
0.5

getSynchronous

public Action getSynchronous()
Action to be completed after close of current active log file before returning control to caller.

Returns:
action, may be null.
Since:
0.5

getAsynchronous

public Action getAsynchronous()
Action to be completed after close of current active log file and before next rollover attempt, may be executed asynchronously.

Returns:
action, may be null.
Since:
0.5


${license_html}