summaryrefslogtreecommitdiff
path: root/TAO/tao/Strategies/LFU_Connection_Purging_Strategy.cpp
blob: a05463d5781d0e831466aa9ee07ccc67a26259a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#include "tao/Strategies/LFU_Connection_Purging_Strategy.h"
#include "tao/Transport.h"

TAO_BEGIN_VERSIONED_NAMESPACE_DECL

TAO_LFU_Connection_Purging_Strategy::TAO_LFU_Connection_Purging_Strategy (
                                                           int cache_maximum)
: TAO_Connection_Purging_Strategy (cache_maximum)
{
}

void
TAO_LFU_Connection_Purging_Strategy::update_item (TAO_Transport& transport)
{
  transport.purging_order (transport.purging_order () + 1);
}

TAO_END_VERSIONED_NAMESPACE_DECL