#include <Connection_Purging_Strategy.h>
Inheritance diagram for TAO_Connection_Purging_Strategy:

Public Member Functions | |
| TAO_Connection_Purging_Strategy (int cache_maximum) | |
| The constructor. | |
| virtual | ~TAO_Connection_Purging_Strategy (void) |
| The destructor. | |
| virtual int | cache_maximum (void) const |
| Return the maximum number of cache entries. | |
| virtual void | update_item (TAO_Transport *transport)=0 |
| Sub-classes must implement these methods. | |
Private Attributes | |
| int | cache_maximum_ |
| The maximum number of cach entries. | |
This class is used by the Transport_Cache_Manager to maintain ordering information on each Transport that is created.
Definition at line 41 of file Connection_Purging_Strategy.h.
|
|
The constructor.
Definition at line 8 of file Connection_Purging_Strategy.inl.
00010 : cache_maximum_ (cache_maximum) 00011 { 00012 } |
|
|
The destructor.
Definition at line 15 of file Connection_Purging_Strategy.cpp.
00016 {
00017 }
|
|
|
Return the maximum number of cache entries.
Definition at line 20 of file Connection_Purging_Strategy.cpp. References cache_maximum_. Referenced by TAO::Transport_Cache_Manager::fill_set_i().
00021 {
00022 return cache_maximum_;
00023 }
|
|
|
Sub-classes must implement these methods.
Implemented in TAO_LRU_Connection_Purging_Strategy. Referenced by TAO::Transport_Cache_Manager::bind_i(), TAO::Transport_Cache_Manager::find(), and TAO::Transport_Cache_Manager::update_entry(). |
|
|
The maximum number of cach entries.
Definition at line 58 of file Connection_Purging_Strategy.h. Referenced by cache_maximum(). |
1.3.6