Apache log4cxx  Version 0.12.1
log4cxx::rolling::GZCompressAction Class Reference

#include <gzcompressaction.h>

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

Public Member Functions

 GZCompressAction (const File &source, const File &destination, bool deleteSource)
 Constructor. More...
 
virtual bool execute (log4cxx::helpers::Pool &pool) const
 Perform action. More...
 
- Public Member Functions inherited from log4cxx::rolling::Action
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
 

Additional Inherited Members

- Protected Member Functions inherited from log4cxx::rolling::Action
 Action ()
 Constructor. More...
 
virtual ~Action ()
 

Constructor & Destructor Documentation

◆ GZCompressAction()

log4cxx::rolling::GZCompressAction::GZCompressAction ( const File source,
const File destination,
bool  deleteSource 
)

Constructor.

Member Function Documentation

◆ execute()

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

Perform action.

Returns
true if successful.

Implements log4cxx::rolling::Action.


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