Classes | Public Member Functions | Static Public Member Functions | Public Attributes | Protected Member Functions

Action Class Reference

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

Inherits log4cxx::helpers::ObjectImpl.

Inherited by FileRenameAction, GZCompressAction, and ZipCompressAction.

List of all members.

Classes

class  ClazzAction

Public Member Functions

virtual const helpers::ClassgetClass () 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::ClassgetStaticClass ()
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 ()

Detailed Description

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


Constructor & Destructor Documentation

Action (  )  [protected]

Constructor.

virtual ~Action (  )  [protected, virtual]

Member Function Documentation

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.

Returns:
true if successful.

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.

Returns:
true if 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  ) 

Member Data Documentation

bool complete

Is action complete.

Is action interrupted.


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