|
Apache Log4cxx
Version 1.8.0
|
A file system action performed as part of a rollover event. More...
#include <action.h>
Public Member Functions | |
| bool | execute () const |
| Perform the action. | |
| virtual bool | execute (helpers::Pool &pool) const =0 |
| void | run () |
| void | close () |
| bool | isComplete () const |
| Is action is complete? | |
| LogString | getName () const |
| void | reportException (const std::exception &) |
| void | run (helpers::Pool &pool) |
| Public Member Functions inherited from log4cxx::helpers::Object | |
| virtual | ~Object () |
| virtual const helpers::Class & | getClass () const =0 |
| virtual bool | instanceof (const Class &clazz) const =0 |
| virtual const void * | cast (const Class &clazz) const =0 |
Protected Member Functions | |
| Action () | |
| Constructor. | |
| Action (LOG4CXX_PRIVATE_PTR(ActionPrivate) priv) | |
| virtual | ~Action () |
A file system action performed as part of a rollover event.
|
protected |
Constructor.
|
protected |
|
protectedvirtual |
| void log4cxx::rolling::Action::close | ( | ) |
| bool log4cxx::rolling::Action::execute | ( | ) | const |
Perform the action.
|
pure virtual |
pool parameter is not used and will be removed in a future version. Implement this method for now, but plan to migrate to execute() without a helpers::Pool parameter. Implemented in log4cxx::rolling::FileRenameAction, log4cxx::rolling::GZCompressAction, and log4cxx::rolling::ZipCompressAction.
| LogString log4cxx::rolling::Action::getName | ( | ) | const |
| bool log4cxx::rolling::Action::isComplete | ( | ) | const |
Is action is complete?
| void log4cxx::rolling::Action::reportException | ( | const std::exception & | ) |
| void log4cxx::rolling::Action::run | ( | ) |
| void log4cxx::rolling::Action::run | ( | helpers::Pool & | pool | ) |