Apache Log4cxx  Version 1.2.0
Loading...
Searching...
No Matches
log4cxx::rolling::RolloverDescription Class Reference

#include <rolloverdescription.h>

Inheritance diagram for log4cxx::rolling::RolloverDescription:
log4cxx::helpers::Object

Public Member Functions

 RolloverDescription ()
 
 RolloverDescription (const LogString &activeFileName, const bool append, const ActionPtr &synchronous, const ActionPtr &asynchronous)
 Create new instance.
 
 ~RolloverDescription ()
 
LogString getActiveFileName () const
 Active log file name after rollover.
 
bool getAppend () const
 
ActionPtr getSynchronous () const
 Action to be completed after close of current active log file before returning control to caller.
 
ActionPtr getAsynchronous () const
 Action to be completed after close of current active log file and before next rollover attempt, may be executed asynchronously.
 
- Public Member Functions inherited from log4cxx::helpers::Object
virtual ~Object ()
 
virtual const helpers::ClassgetClass () const =0
 
virtual bool instanceof (const Class &clazz) const =0
 
virtual const void * cast (const Class &clazz) const =0
 

Constructor & Destructor Documentation

◆ RolloverDescription() [1/2]

log4cxx::rolling::RolloverDescription::RolloverDescription ( )

◆ RolloverDescription() [2/2]

log4cxx::rolling::RolloverDescription::RolloverDescription ( const LogString activeFileName,
const bool  append,
const ActionPtr &  synchronous,
const ActionPtr &  asynchronous 
)

Create new instance.

Parameters
activeFileNameactive log file name after rollover, may not be null.
appendtrue if active log file after rollover should be opened for appending.
synchronousaction to be completed after close of current active log file, may be null.
asynchronousaction to be completed after close of current active log file and before next rollover attempt.

◆ ~RolloverDescription()

log4cxx::rolling::RolloverDescription::~RolloverDescription ( )

Member Function Documentation

◆ getActiveFileName()

LogString log4cxx::rolling::RolloverDescription::getActiveFileName ( ) const

Active log file name after rollover.

Returns
active log file name after rollover.

◆ getAppend()

bool log4cxx::rolling::RolloverDescription::getAppend ( ) const

◆ getAsynchronous()

ActionPtr log4cxx::rolling::RolloverDescription::getAsynchronous ( ) const

Action to be completed after close of current active log file and before next rollover attempt, may be executed asynchronously.

Returns
action, may be null.

◆ getSynchronous()

ActionPtr log4cxx::rolling::RolloverDescription::getSynchronous ( ) const

Action to be completed after close of current active log file before returning control to caller.

Returns
action, may be null.

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