|
||||||||||
| 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 java.io.IOException
java.io.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 © 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.