diff options
Diffstat (limited to 'TAO/tao/Strategies/LFU_Connection_Purging_Strategy.h')
-rw-r--r-- | TAO/tao/Strategies/LFU_Connection_Purging_Strategy.h | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/TAO/tao/Strategies/LFU_Connection_Purging_Strategy.h b/TAO/tao/Strategies/LFU_Connection_Purging_Strategy.h deleted file mode 100644 index b2b390c429f..00000000000 --- a/TAO/tao/Strategies/LFU_Connection_Purging_Strategy.h +++ /dev/null @@ -1,49 +0,0 @@ -// ================================================================ -/** - * @file LFU_Connection_Purging_Strategy.h - * - * $Id$ - * - * @author Chad Elliott (elliott_c@ociweb.com) - */ -// ================================================================ - -#ifndef TAO_LFU_PURGING_STRATEGY_H -#define TAO_LFU_PURGING_STRATEGY_H -#include /**/ "ace/pre.h" - -#include "strategies_export.h" -#include "tao/Connection_Purging_Strategy.h" - -#if !defined (ACE_LACKS_PRAGMA_ONCE) -# pragma once -#endif /* ACE_LACKS_PRAGMA_ONCE */ - -// **************************************************************** - -/** - * @class TAO_LFU_Connection_Purging_Strategy - * - * @brief The Least Frequently Used connection purging strategy - * - * This class increments the order information on each item passed - * in. This way, the least frequently used transport has the - * smallest ordering number and will therefore be purged first. - */ - -class TAO_Strategies_Export TAO_LFU_Connection_Purging_Strategy: - public TAO_Connection_Purging_Strategy -{ -public: - /// The constructor - TAO_LFU_Connection_Purging_Strategy (int cache_maximum); - - /// The destructor - virtual ~TAO_LFU_Connection_Purging_Strategy (void); - - /// Called when accessing an item from the cache - virtual void update_item (TAO_Transport* transport); -}; - -#include /**/ "ace/post.h" -#endif /* TAO_LFU_PURGING_STRATEGY_H */ |