#include <FIFO_Connection_Purging_Strategy.h>
Inheritance diagram for TAO_FIFO_Connection_Purging_Strategy


Public Methods | |
| TAO_FIFO_Connection_Purging_Strategy (int cache_maximum) | |
| The constructor. | |
| virtual | ~TAO_FIFO_Connection_Purging_Strategy (void) |
| The destructor. | |
| virtual void | update_item (TAO_Transport* transport) |
| Called when accessing an item from the cache. | |
Private Attributes | |
| unsigned long | order_ |
| The ordering information for each transport in the cache. | |
This class maintains it's own count which is only applied to the item passed if it has not yet been cached. This way, each successive transport has a larger ordering number than the previous. This will cause the first transport to 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.
|
1.2.3 written by Dimitri van Heesch,
© 1997-2000