diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2002-05-27 05:50:55 +0000 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2002-05-27 05:50:55 +0000 |
commit | 33969b6eeeaebcc6dd4185e34128d9013f17c510 (patch) | |
tree | cb11b883a36d535f10e3129cafde0ad0e8fa3bb2 /ace/Caching_Utility_T.h | |
parent | 8563c7c616d6a93c527ce6e3f57a6c5d03398aba (diff) | |
download | ATCD-33969b6eeeaebcc6dd4185e34128d9013f17c510.tar.gz |
ChangeLogTag: Mon May 27 07:42:12 2002 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'ace/Caching_Utility_T.h')
-rw-r--r-- | ace/Caching_Utility_T.h | 19 |
1 files changed, 8 insertions, 11 deletions
diff --git a/ace/Caching_Utility_T.h b/ace/Caching_Utility_T.h index 8f22710fd28..53f48f6f16e 100644 --- a/ace/Caching_Utility_T.h +++ b/ace/Caching_Utility_T.h @@ -47,21 +47,20 @@ public: typedef ACE_Cleanup_Strategy<KEY, VALUE, CONTAINER> CLEANUP_STRATEGY; + /// Constructor. ACE_Pair_Caching_Utility (ACE_Cleanup_Strategy<KEY, VALUE, CONTAINER> *cleanup_strategy = 0, int delete_cleanup_strategy = 0); - // Constructor. - /// Destructor. ~ACE_Pair_Caching_Utility (void); + /** + * Purge entries from the <container>. The Cleanup_Strategy will do the actual + * job of cleanup once the entries to be cleaned up are decided. + */ int clear_cache (CONTAINER &container, double purge_percent); - // Purge entries from the <container>. The Cleanup_Strategy will do - // the actual job of cleanup once the entries to be cleaned up are - // decided. - protected: /// Find the entry with minimum caching attributes. @@ -106,11 +105,10 @@ public: typedef ACE_Recyclable_Handler_Cleanup_Strategy<KEY, VALUE, CONTAINER> CLEANUP_STRATEGY; typedef ACE_Cleanup_Strategy<KEY, VALUE, CONTAINER> CLEANUP_STRATEGY_BASE; + /// Constructor. ACE_Recyclable_Handler_Caching_Utility (ACE_Cleanup_Strategy<KEY, VALUE, CONTAINER> *cleanup_strategy = 0, int delete_cleanup_strategy = 0); - // Constructor. - /// Destructor. ~ACE_Recyclable_Handler_Caching_Utility (void); @@ -167,11 +165,10 @@ public: typedef ACE_Refcounted_Recyclable_Handler_Cleanup_Strategy<KEY, VALUE, CONTAINER> CLEANUP_STRATEGY; typedef ACE_Cleanup_Strategy<KEY, VALUE, CONTAINER> CLEANUP_STRATEGY_BASE; + /// Constructor. ACE_Refcounted_Recyclable_Handler_Caching_Utility (ACE_Cleanup_Strategy<KEY, VALUE, CONTAINER> *cleanup_strategy = 0, int delete_cleanup_strategy = 0); - // Constructor. - /// Destructor. ~ACE_Refcounted_Recyclable_Handler_Caching_Utility (void); @@ -303,7 +300,7 @@ public: /** * Purge entries from the <container>. The Cleanup_Strategy will do * the actual job of cleanup once the entries to be cleaned up are - * decided. NOte: Here it is a no-op. + * decided. Note: Here it is a no-op. */ int clear_cache (CONTAINER &container, double purge_percent); |