Apache log4cxx  Version 0.10.0
RolloverDescription Class Reference

Inherits ObjectImpl.

List of all members.

Public Member Functions

 RolloverDescription ()
 RolloverDescription (const LogString &activeFileName, const bool append, const ActionPtr &synchronous, const ActionPtr &asynchronous)
 Create new instance.
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 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

Additional Inherited Members

- Protected Attributes inherited from ObjectImpl
unsigned int volatile ref

Constructor & Destructor Documentation

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.

Member Function Documentation

LogString getActiveFileName ( ) const

Active log file name after rollover.

Returns:
active log file name after rollover.
bool getAppend ( ) const
ActionPtr 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.
ActionPtr 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: