#include <UT_ThreadSafeCache.h>
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 () |
Definition at line 33 of file UT_ThreadSafeCache.h.
| UT_ThreadSafeCache< Lock >::UT_ThreadSafeCache | ( | bool | destroy = true, |
|
| bool | fastaccess = true | |||
| ) |
| UT_ThreadSafeCache< Lock >::~UT_ThreadSafeCache | ( | ) |
| void UT_ThreadSafeCache< Lock >::access | ( | UT_CacheItem * | item, | |
| bool | lock = true, |
|||
| void * | parms = 0 | |||
| ) |
| void UT_ThreadSafeCache< Lock >::free | ( | UT_CacheItem * | item | ) |
| void UT_ThreadSafeCache< Lock >::freeAll | ( | ) |
| int64 UT_ThreadSafeCache< Lock >::getMemoryUsage | ( | void | ) | const [inline] |
Definition at line 90 of file UT_ThreadSafeCache.h.
| void UT_ThreadSafeCache< Lock >::release | ( | UT_CacheItem * | item | ) |
| void UT_ThreadSafeCache< Lock >::setMaxMemory | ( | int | size_mb | ) |
1.5.9