Falcon::RampMode Class Reference

Ramp-up GC parameters base class. More...

#include <rampmode.h>

Inheritance diagram for Falcon::RampMode:

Inheritance graph
[legend]

List of all members.

Public Member Functions

size_t activeLevel () const
 Returns the lastly calculated memory level for the active status.
size_t normalLevel () const
 Returns the lastly calculated memory level for the normal status.
virtual void onScanComplete ()=0
 Called when the scan is complete and there is the need for a new calculation.
virtual void onScanInit ()=0
 Called before starting a scan loop.
 RampMode ()
virtual void reset ()
 Called when first set.
virtual ~RampMode ()

Protected Attributes

size_t m_active
size_t m_normal


Detailed Description

Ramp-up GC parameters base class.

The subclasses of this virtual class contain a configurable algorithm used by the Memory Pool to update its status after a succesful garbage collection.


Constructor & Destructor Documentation

Falcon::RampMode::RampMode (  )  [inline]

virtual Falcon::RampMode::~RampMode (  )  [virtual]


Member Function Documentation

size_t Falcon::RampMode::activeLevel (  )  const [inline]

Returns the lastly calculated memory level for the active status.

size_t Falcon::RampMode::normalLevel (  )  const [inline]

Returns the lastly calculated memory level for the normal status.

virtual void Falcon::RampMode::onScanComplete (  )  [pure virtual]

Called when the scan is complete and there is the need for a new calculation.

No need for parameters as mempool, memory sizes and statistics are globally available.

Implemented in Falcon::RampStrict, Falcon::RampLoose, and Falcon::RampSmooth.

virtual void Falcon::RampMode::onScanInit (  )  [pure virtual]

Called before starting a scan loop.

No need for parameters as mempool, memory sizes and statistics are globally available.

Implemented in Falcon::RampStrict, Falcon::RampLoose, and Falcon::RampSmooth.

virtual void Falcon::RampMode::reset (  )  [virtual]

Called when first set.

Reimplemented in Falcon::RampSmooth.


Member Data Documentation

size_t Falcon::RampMode::m_active [protected]

size_t Falcon::RampMode::m_normal [protected]


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

Generated on Mon Oct 19 10:11:40 2009 for Falcon_Core by  doxygen 1.5.8