public interface Action extends Runnable
Modifier and Type | Method and Description |
---|---|
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.
|
boolean execute() throws IOException
IOException
- if IO error, a thrown exception will cause the rollover
to be aborted if possible.void close()
boolean isComplete()
Copyright © 1999-2017. 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.