TAO
2.3.3
|
The base class for all purging strategies. More...
#include <Connection_Purging_Strategy.h>
Public Member Functions | |
TAO_Connection_Purging_Strategy (int cache_maximum) | |
The constructor. More... | |
virtual | ~TAO_Connection_Purging_Strategy (void) |
The destructor. More... | |
virtual int | cache_maximum (void) const |
Return the maximum number of cache entries. More... | |
virtual void | update_item (TAO_Transport &transport)=0 |
Sub-classes must implement these methods. More... | |
Private Attributes | |
int | cache_maximum_ |
The maximum number of cach entries. More... | |
The base class for all purging strategies.
This class is used by the Transport_Cache_Manager to maintain ordering information on each Transport that is created.
TAO_Connection_Purging_Strategy::TAO_Connection_Purging_Strategy | ( | int | cache_maximum | ) |
The constructor.
|
virtual |
The destructor.
|
virtual |
Return the maximum number of cache entries.
|
pure virtual |
Sub-classes must implement these methods.
Implemented in TAO_LRU_Connection_Purging_Strategy.
|
private |
The maximum number of cach entries.