Log4j 1.3alpha-8

org.apache.log4j.rolling
Interface RolloverDescription

All Known Implementing Classes:
RolloverDescriptionImpl

public interface RolloverDescription

Description of actions needed to complete rollover.

Since:
1.3
Author:
Curt Arnold

Method Summary
 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 String getActiveFileName()
Active log file name after rollover.
Returns:
active log file name after rollover.

getAppend

public boolean getAppend()
Specifies if active file should be opened for appending.
Returns:
if true, active file should be opened for appending.

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.

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.

Log4j 1.3alpha-8

Copyright © 2000-2006 Apache Software Foundation.
Licensed under the Apache License, Version 2.0.