MCPcopy Create free account
hub / github.com/Tencent/MMKV / clearMemoryCache

Function clearMemoryCache

Android/MMKV/mmkv/src/main/cpp/native-bridge.cpp:881–886  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

879}
880
881MMKV_JNI void clearMemoryCache(JNIEnv *env, jobject instance) {
882 MMKV *kv = getMMKV(env, instance);
883 if (kv) {
884 kv->clearMemoryCache();
885 }
886}
887
888MMKV_JNI void lock(JNIEnv *env, jobject instance) {
889 MMKV *kv = getMMKV(env, instance);

Callers

nothing calls this directly

Calls 2

getMMKVFunction · 0.85
clearMemoryCacheMethod · 0.45

Tested by

no test coverage detected