00001
00002
00003 #ifndef ACE_CACHING_STRATEGIES_T_CPP
00004 #define ACECACHING_STRATEGIES_T_CPP
00005
00006 #include "ace/Caching_Strategies_T.h"
00007 #include "ace/Log_Msg.h"
00008
00009 #if !defined (__ACE_INLINE__)
00010 #include "ace/Caching_Strategies_T.inl"
00011 #endif
00012
00013 #if !defined (ACE_LACKS_PRAGMA_ONCE)
00014 #pragma once
00015 #endif
00016
00017 ACE_BEGIN_VERSIONED_NAMESPACE_DECL
00018
00019 template<class ATTRIBUTES, class CACHING_UTILITY>
00020 ACE_Caching_Strategy<ATTRIBUTES, CACHING_UTILITY>::~ACE_Caching_Strategy (void)
00021 {
00022 }
00023
00024
00025
00026 template<class ATTRIBUTES, class CACHING_UTILITY>
00027 ACE_LRU_Caching_Strategy<ATTRIBUTES, CACHING_UTILITY>::ACE_LRU_Caching_Strategy (void)
00028 : timer_ (0),
00029 purge_percent_ (10)
00030 {
00031 }
00032
00033
00034
00035 template<class ATTRIBUTES, class CACHING_UTILITY>
00036 ACE_LFU_Caching_Strategy<ATTRIBUTES, CACHING_UTILITY>::ACE_LFU_Caching_Strategy (void)
00037 : purge_percent_ (10)
00038 {
00039 }
00040
00041
00042
00043 template<class ATTRIBUTES, class CACHING_UTILITY>
00044 ACE_FIFO_Caching_Strategy<ATTRIBUTES, CACHING_UTILITY>::ACE_FIFO_Caching_Strategy (void)
00045 : order_ (0),
00046 purge_percent_ (10)
00047 {
00048 }
00049
00050
00051
00052 ACE_ALLOC_HOOK_DEFINE(ACE_LRU_Caching_Strategy)
00053 ACE_ALLOC_HOOK_DEFINE(ACE_LFU_Caching_Strategy)
00054 ACE_ALLOC_HOOK_DEFINE(ACE_FIFO_Caching_Strategy)
00055 ACE_ALLOC_HOOK_DEFINE(ACE_Null_Caching_Strategy)
00056
00057 ACE_END_VERSIONED_NAMESPACE_DECL
00058
00059 #endif