|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.log4j.rolling.helper.ActionBase
public abstract class 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(java.lang.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 java.io.IOException
execute
in interface Action
java.io.IOException
- if IO error.public void run()
run
in interface java.lang.Runnable
public void close()
close
in interface Action
public boolean isComplete()
isComplete
in interface Action
protected void reportException(java.lang.Exception ex)
ex
- exception.
|
||||||||||
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.