summaryrefslogtreecommitdiff
path: root/TAO/tao/LRU_Connection_Purging_Strategy.cpp
blob: f97016d0132e6259b0b1df9b6d827cf0cc5b6ac9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// $Id$

#include "LRU_Connection_Purging_Strategy.h"
#include "Transport.h"

ACE_RCSID(tao, LRU_Connection_Purging_Strategy, "$Id$")

TAO_LRU_Connection_Purging_Strategy::TAO_LRU_Connection_Purging_Strategy (
                                                           int cache_maximum)
 : TAO_Connection_Purging_Strategy (cache_maximum),
   order_ (0)
{
}


TAO_LRU_Connection_Purging_Strategy::~TAO_LRU_Connection_Purging_Strategy (void)
{
}


void
TAO_LRU_Connection_Purging_Strategy::update_item (TAO_Transport* transport)
{
  transport->purging_order (this->order_++);
}