HDK
|
#include <UT_ThreadSafeCache.h>
Static Public Member Functions | |
static UT_ThreadSafeCache < UT_Lock > & | get () |
static void | setMaxMemory (int size_mb) |
Set the amount of memory to be used by the cache, in MB. More... | |
static bool | isMaxMemorySet () |
Check whether the memory limit has been set. More... | |
static int64 | getMemoryUsage () |
This can be used as a unified cache for a process. The cache will not destroy any items left in the cache when the process exits.
Definition at line 383 of file UT_ThreadSafeCache.h.
|
inlinestatic |
Definition at line 386 of file UT_ThreadSafeCache.h.
|
inlinestatic |
Definition at line 399 of file UT_ThreadSafeCache.h.
|
inlinestatic |
Check whether the memory limit has been set.
Definition at line 396 of file UT_ThreadSafeCache.h.
Set the amount of memory to be used by the cache, in MB.
Definition at line 389 of file UT_ThreadSafeCache.h.