A file system action performed as part of a rollover event. More...
Inherits log4cxx::helpers::ObjectImpl.
Inherited by FileRenameAction, GZCompressAction, and ZipCompressAction.
Classes | |
class | ClazzAction |
Public Member Functions | |
virtual const helpers::Class & | getClass () const |
const void * | cast (const helpers::Class &clazz) const |
bool | instanceof (const helpers::Class &clazz) const |
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 &) |
Static Public Member Functions | |
static const helpers::Class & | getStaticClass () |
static const log4cxx::helpers::ClassRegistration & | registerClass () |
Public Attributes | |
bool | complete |
Is action complete. | |
bool | interrupted |
Is action interrupted. | |
log4cxx::helpers::Pool | pool |
log4cxx::helpers::Mutex | mutex |
Protected Member Functions | |
Action () | |
Constructor. | |
virtual | ~Action () |
A file system action performed as part of a rollover event.
Action | ( | ) | [protected] |
Constructor.
virtual ~Action | ( | ) | [protected, virtual] |
const void* cast | ( | const helpers::Class & | clazz | ) | const [inline, virtual] |
Implements Object.
Reimplemented in FileRenameAction, GZCompressAction, and ZipCompressAction.
void close | ( | ) |
virtual bool execute | ( | log4cxx::helpers::Pool & | pool | ) | const [pure virtual] |
Perform action.
Implemented in FileRenameAction, GZCompressAction, and ZipCompressAction.
virtual const helpers::Class& getClass | ( | ) | const [virtual] |
Reimplemented from Object.
Reimplemented in FileRenameAction, GZCompressAction, and ZipCompressAction.
static const helpers::Class& getStaticClass | ( | ) | [static] |
Reimplemented from Object.
Reimplemented in FileRenameAction, GZCompressAction, and ZipCompressAction.
bool instanceof | ( | const helpers::Class & | clazz | ) | const [inline, virtual] |
Implements Object.
Reimplemented in FileRenameAction, GZCompressAction, and ZipCompressAction.
bool isComplete | ( | ) | const |
Tests if the action is complete.
static const log4cxx::helpers::ClassRegistration& registerClass | ( | ) | [static] |
Reimplemented from Object.
Reimplemented in FileRenameAction, GZCompressAction, and ZipCompressAction.
void reportException | ( | const std::exception & | ) |
void run | ( | log4cxx::helpers::Pool & | pool | ) |
bool complete |
Is action complete.
bool interrupted |
Is action interrupted.