|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.log4j.rolling.RolloverDescriptionImpl
public final class RolloverDescriptionImpl
Description of actions needed to complete rollover.
Constructor Summary | |
---|---|
RolloverDescriptionImpl(java.lang.String activeFileName,
boolean append,
Action synchronous,
Action asynchronous)
Create new instance. |
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RolloverDescriptionImpl(java.lang.String activeFileName, boolean append, Action synchronous, Action asynchronous)
activeFileName
- active log file name after rollover, may not be null.append
- true if active log file after rollover should be opened for appending.synchronous
- action to be completed after close of current active log file, may be null.asynchronous
- action to be completed after close of current active log file and
before next rollover attempt.Method Detail |
---|
public java.lang.String getActiveFileName()
getActiveFileName
in interface RolloverDescription
public boolean getAppend()
getAppend
in interface RolloverDescription
public Action getSynchronous()
getSynchronous
in interface RolloverDescription
public Action getAsynchronous()
getAsynchronous
in interface RolloverDescription
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2010 The Apache Software Foundation. Licensed under the Apache License, Version 2.0
Apache Extras Companion for Apache log4j, Apache log4j and Apache are trademarks of the Apache Software Foundation.