|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Action
The Action interface should be implemented by any class that performs file system actions for RollingFileAppenders after the close of the active log file.
Method Summary | |
---|---|
void |
close()
Cancels the action if not already initialized or waits till completion. |
boolean |
execute()
Perform an action. |
boolean |
isComplete()
Determines if action has been completed. |
Methods inherited from interface java.lang.Runnable |
---|
run |
Method Detail |
---|
boolean execute() throws IOException
IOException
- if IO error, a thrown exception will cause the rollover
to be aborted if possible.void close()
boolean isComplete()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1999-2014 Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.