Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

TAO_LFU_Connection_Purging_Strategy Class Reference

The Least Frequently Used connection purging strategy. More...

#include <LFU_Connection_Purging_Strategy.h>

Inheritance diagram for TAO_LFU_Connection_Purging_Strategy

Inheritance graph
[legend]
Collaboration diagram for TAO_LFU_Connection_Purging_Strategy:

Collaboration graph
[legend]
List of all members.

Public Methods

 TAO_LFU_Connection_Purging_Strategy (int cache_maximum)
 The constructor.

virtual ~TAO_LFU_Connection_Purging_Strategy (void)
 The destructor.

virtual void update_item (TAO_Transport* transport)
 Called when accessing an item from the cache.


Detailed Description

The Least Frequently Used connection purging strategy.

This class increments the order information on each item passed in. This way, the least frequently used transport has the smallest ordering number and will therefore be purged first.


Constructor & Destructor Documentation

TAO_LFU_Connection_Purging_Strategy::TAO_LFU_Connection_Purging_Strategy ( int cache_maximum ) [inline]
 

The constructor.

TAO_LFU_Connection_Purging_Strategy::~TAO_LFU_Connection_Purging_Strategy ( void ) [virtual]
 

The destructor.


Member Function Documentation

void TAO_LFU_Connection_Purging_Strategy::update_item ( TAO_Transport * transport ) [virtual]
 

Called when accessing an item from the cache.

Reimplemented from TAO_Connection_Purging_Strategy.


The documentation for this class was generated from the following files:
Generated at Wed Nov 21 12:18:41 2001 for TAO_Strategies by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000