#include <LRU_Connection_Purging_Strategy.h>
Inheritance diagram for TAO_LRU_Connection_Purging_Strategy:
Public Methods | |
TAO_LRU_Connection_Purging_Strategy (int cache_maximum) | |
The constructor. More... | |
virtual | ~TAO_LRU_Connection_Purging_Strategy (void) |
The destructor. More... | |
virtual void | update_item (TAO_Transport *transport) |
Called when accessing an item from the cache. More... | |
Private Attributes | |
unsigned long | order_ |
The ordering information for each transport in the cache. More... |
This class maintains it's own count which is applied to the item passed in. This way, the least recently used transport has the smallest ordering number and will therefore be purged first.
|
The constructor.
|
|
The destructor.
|
|
Called when accessing an item from the cache.
Reimplemented from TAO_Connection_Purging_Strategy. |
|
The ordering information for each transport in the cache.
|