HDK
|
#include <UT_ThreadSafeCache.h>
Public Types | |
using | cache_type = UT_ThreadSafeCache< UT_Lock > |
Static Public Member Functions | |
static cache_type & | 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 392 of file UT_ThreadSafeCache.h.
Definition at line 395 of file UT_ThreadSafeCache.h.
|
inlinestatic |
Definition at line 397 of file UT_ThreadSafeCache.h.
|
inlinestatic |
Definition at line 410 of file UT_ThreadSafeCache.h.
|
inlinestatic |
Check whether the memory limit has been set.
Definition at line 407 of file UT_ThreadSafeCache.h.
Set the amount of memory to be used by the cache, in MB.
Definition at line 400 of file UT_ThreadSafeCache.h.