Apache log4cxx  Version 0.13.0
log4cxx::rolling::Action Class Referenceabstract

A file system action performed as part of a rollover event. More...

#include <action.h>

Inheritance diagram for log4cxx::rolling::Action:
log4cxx::helpers::Object log4cxx::rolling::FileRenameAction log4cxx::rolling::GZCompressAction log4cxx::rolling::ZipCompressAction

Public Member Functions

virtual bool execute (log4cxx::helpers::Pool &pool) const =0
 Perform action. More...
void run (log4cxx::helpers::Pool &pool)
void close ()
bool isComplete () const
 Tests if the action is complete. More...
void reportException (const std::exception &)
- Public Member Functions inherited from log4cxx::helpers::Object
virtual ~Object ()
virtual bool instanceof (const Class &clazz) const =0
virtual const void * cast (const Class &clazz) const =0

Protected Member Functions

 Action ()
 Constructor. More...
virtual ~Action ()

Detailed Description

A file system action performed as part of a rollover event.

Constructor & Destructor Documentation

◆ Action()

log4cxx::rolling::Action::Action ( )


◆ ~Action()

virtual log4cxx::rolling::Action::~Action ( )

Member Function Documentation

◆ close()

void log4cxx::rolling::Action::close ( )

◆ execute()

virtual bool log4cxx::rolling::Action::execute ( log4cxx::helpers::Pool pool) const
pure virtual

Perform action.

true if successful.

Implemented in log4cxx::rolling::ZipCompressAction, log4cxx::rolling::GZCompressAction, and log4cxx::rolling::FileRenameAction.

◆ isComplete()

bool log4cxx::rolling::Action::isComplete ( ) const

Tests if the action is complete.

true if action is complete.

◆ reportException()

void log4cxx::rolling::Action::reportException ( const std::exception &  )

◆ run()

void log4cxx::rolling::Action::run ( log4cxx::helpers::Pool pool)

The documentation for this class was generated from the following file: