Apache log4cxx  Version 0.11.0
Action Class Referenceabstract

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

Inheritance diagram for Action:
ObjectImpl Object FileRenameAction GZCompressAction 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 ObjectImpl
 ObjectImpl ()
 
virtual ~ObjectImpl ()
 
void addRef () const
 
void releaseRef () const
 
- Public Member Functions inherited from Object
virtual const helpers::ClassgetClass () const
 
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 ()
 

Additional Inherited Members

- Static Public Member Functions inherited from Object
static const helpers::ClassgetStaticClass ()
 
static const log4cxx::helpers::ClassRegistrationregisterClass ()
 
- Protected Attributes inherited from ObjectImpl
unsigned int volatile ref
 

Detailed Description

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

Constructor & Destructor Documentation

Action ( )
protected

Constructor.

virtual ~Action ( )
protectedvirtual

Member Function Documentation

void close ( )
virtual bool execute ( log4cxx::helpers::Pool pool) const
pure virtual

Perform action.

Returns
true if successful.

Implemented in ZipCompressAction, GZCompressAction, and FileRenameAction.

bool isComplete ( ) const

Tests if the action is complete.

Returns
true if action is complete.
void reportException ( const std::exception &  )
void run ( log4cxx::helpers::Pool pool)

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