Apache Log4cxx
Version 1.3.1
|
A file system action performed as part of a rollover event. More...
#include <action.h>
Public Member Functions | |
virtual bool | execute (log4cxx::helpers::Pool &pool) const =0 |
Perform action. | |
void | run (log4cxx::helpers::Pool &pool) |
void | close () |
bool | isComplete () const |
Tests if the action is complete. | |
void | reportException (const std::exception &) |
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 | ( | ) |
|
pure virtual |
Perform action.
Implemented in log4cxx::rolling::FileRenameAction, log4cxx::rolling::GZCompressAction, and log4cxx::rolling::ZipCompressAction.
bool log4cxx::rolling::Action::isComplete | ( | ) | const |
Tests if the action is complete.
void log4cxx::rolling::Action::reportException | ( | const std::exception & | ) |
void log4cxx::rolling::Action::run | ( | log4cxx::helpers::Pool & | pool | ) |