|
Log4j 1.3alpha-7 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.log4j.rolling.helper.ActionBase
Abstract base class for implementations of Action.
Constructor Summary | |
protected |
ActionBase()
Constructor. |
Method Summary | |
void |
close()
Cancels the action if not already initialized or waits till completion. |
abstract boolean |
execute()
Perform action. |
boolean |
isComplete()
Tests if the action is complete. |
protected void |
reportException(Exception ex)
Capture exception. |
void |
run()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
protected ActionBase()
Method Detail |
public abstract boolean execute() throws IOException
execute
in interface Action
IOException
- if IO error.public void run()
run
in interface Runnable
public void close()
close
in interface Action
public boolean isComplete()
isComplete
in interface Action
protected void reportException(Exception ex)
ex
- exception.
|
Log4j 1.3alpha-7 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |