UT_ThreadSafeCache< Lock > Class Template Reference

#include <UT_ThreadSafeCache.h>

List of all members.

Classes

class  UT_CacheItem

Public Member Functions

 UT_ThreadSafeCache (bool destroy=true, bool fastaccess=true)
 ~UT_ThreadSafeCache ()
void setMaxMemory (int size_mb)
int64 getMemoryUsage () const
void access (UT_CacheItem *item, bool lock=true, void *parms=0)
void release (UT_CacheItem *item)
void free (UT_CacheItem *item)
void freeAll ()


Detailed Description

template<class Lock>
class UT_ThreadSafeCache< Lock >

Definition at line 33 of file UT_ThreadSafeCache.h.


Constructor & Destructor Documentation

template<class Lock >
UT_ThreadSafeCache< Lock >::UT_ThreadSafeCache ( bool  destroy = true,
bool  fastaccess = true 
)

template<class Lock >
UT_ThreadSafeCache< Lock >::~UT_ThreadSafeCache (  ) 


Member Function Documentation

template<class Lock >
void UT_ThreadSafeCache< Lock >::access ( UT_CacheItem item,
bool  lock = true,
void *  parms = 0 
)

template<class Lock >
void UT_ThreadSafeCache< Lock >::free ( UT_CacheItem item  ) 

template<class Lock >
void UT_ThreadSafeCache< Lock >::freeAll (  ) 

template<class Lock >
int64 UT_ThreadSafeCache< Lock >::getMemoryUsage ( void   )  const [inline]

Definition at line 90 of file UT_ThreadSafeCache.h.

template<class Lock >
void UT_ThreadSafeCache< Lock >::release ( UT_CacheItem item  ) 

template<class Lock >
void UT_ThreadSafeCache< Lock >::setMaxMemory ( int  size_mb  ) 


The documentation for this class was generated from the following file:

Generated on Fri May 25 00:10:55 2012 for HDK by  doxygen 1.5.9