diff options
author | oci <oci@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2001-05-17 14:24:17 +0000 |
---|---|---|
committer | oci <oci@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2001-05-17 14:24:17 +0000 |
commit | 0f26b15489ae2c7a1d1de00cb019b3c8238a574f (patch) | |
tree | c4be9440656b7b04a4f231363e42ef221945623e /TAO/tao/LRU_Connection_Purging_Strategy.cpp | |
parent | c1a6f3562c72fae20f13bd7a4b3dad5d1cdfb583 (diff) | |
download | ATCD-0f26b15489ae2c7a1d1de00cb019b3c8238a574f.tar.gz |
ChangeLogTag: Thu May 17 08:53:33 2001 Chad Elliott <elliott_c@ociweb.com>
Diffstat (limited to 'TAO/tao/LRU_Connection_Purging_Strategy.cpp')
-rw-r--r-- | TAO/tao/LRU_Connection_Purging_Strategy.cpp | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/TAO/tao/LRU_Connection_Purging_Strategy.cpp b/TAO/tao/LRU_Connection_Purging_Strategy.cpp new file mode 100644 index 00000000000..0fa60a95f42 --- /dev/null +++ b/TAO/tao/LRU_Connection_Purging_Strategy.cpp @@ -0,0 +1,29 @@ +// $Id$ + +#include "LRU_Connection_Purging_Strategy.h" + +ACE_RCSID(tao, LRU_Connection_Purging_Strategy, "$Id$") + +TAO_LRU_Connection_Purging_Strategy::TAO_LRU_Connection_Purging_Strategy ( + TAO_Resource_Factory* rf) + : TAO_ULong_Connection_Purging_Strategy (rf), + order_ (0) +{ +} + + +TAO_LRU_Connection_Purging_Strategy::~TAO_LRU_Connection_Purging_Strategy () +{ +} + + +void +TAO_LRU_Connection_Purging_Strategy::update_item_i ( + TAO_DESCRIPTOR_INTERFACE* prop, + TAO_PURGING_CACHE_ITEM* item) +{ + TAO_Cache_ExtId ext_id (prop); + ATTRIBUTE_TYPE int_id (this->order_++); + this->tracking_map ().rebind(ext_id, int_id); +} + |