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 © 2013 The Apache Software Foundation. Licensed under the Apache License, Version 2.0
Apache Extras for Apache log4j, Apache log4j and Apache are trademarks of the Apache Software Foundation.