summaryrefslogtreecommitdiff
path: root/ace/Caching_Strategies_T.h
diff options
context:
space:
mode:
authorkirthika <kirthika@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-08-11 03:53:25 +0000
committerkirthika <kirthika@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-08-11 03:53:25 +0000
commit56b223b5e1539a665507cc081de84e416a2afa5e (patch)
tree34ef9ceb9d3470810674767f9a37c139b007d8b5 /ace/Caching_Strategies_T.h
parent537c31e02f3328104ff1057b80981fcd1b533a2c (diff)
downloadATCD-56b223b5e1539a665507cc081de84e416a2afa5e.tar.gz
Tue Aug 10 23:47:32 1999 Kirthika Parameswaran <kirthika@cs.wustl.edu>
Diffstat (limited to 'ace/Caching_Strategies_T.h')
-rw-r--r--ace/Caching_Strategies_T.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/ace/Caching_Strategies_T.h b/ace/Caching_Strategies_T.h
index 41966b677f0..18464503a92 100644
--- a/ace/Caching_Strategies_T.h
+++ b/ace/Caching_Strategies_T.h
@@ -29,6 +29,9 @@
#pragma warning(disable:4503)
#endif /* _MSC_VER */
+// For linkers that cant grok long names.
+#define ACE_Caching_Strategy ACS
+
template <class ATTRIBUTES, class CACHING_UTILITY>
class ACE_Caching_Strategy
{
@@ -87,6 +90,8 @@ public:
//////////////////////////////////////////////////////////////////////////
+#define ACE_Caching_Strategy_Adapter ACSA
+
template <class ATTRIBUTES, class CACHING_UTILITY, class IMPLEMENTATION>
class ACE_Caching_Strategy_Adapter : public ACE_Caching_Strategy<ATTRIBUTES, CACHING_UTILITY>
{
@@ -162,6 +167,7 @@ private:
};
//////////////////////////////////////////////////////////////////////////
+#define ACE_LRU_Caching_Strategy ALRU
template <class ATTRIBUTES, class CACHING_UTILITY>
class ACE_LRU_Caching_Strategy
@@ -258,6 +264,7 @@ private:
};
//////////////////////////////////////////////////////////////////////////
+#define ACE_LFU_Caching_Strategy ALFU
template <class ATTRIBUTES, class CACHING_UTILITY>
class ACE_LFU_Caching_Strategy
@@ -348,6 +355,7 @@ private:
};
/////////////////////////////////////////////////////////////
+#define ACE_FIFO_Caching_Strategy AFIFO
template<class ATTRIBUTES, class CACHING_UTILITY>
class ACE_FIFO_Caching_Strategy
@@ -437,6 +445,9 @@ private:
// from the cache.
};
+//////////////////////////////////////////////////////////////////////
+#define ACE_Null_Caching_Strategy ANULL
+
template<class ATTRIBUTES, class CACHING_UTILITY>
class ACE_Null_Caching_Strategy
{