TDiscardableKeyValueCache::InternalFindWhileLocked

Checks for the entry in our current map, and if not found the backfill.

Choose your operating system:

Windows

macOS

Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Containers/DiscardableKeyValueCache.h

Include

#include "Containers/DiscardableKeyValueCache.h"

Syntax

bool InternalFindWhileLocked
(
    const KeyType & Key,
    ValueType & OutType,
    uint32 InCurrentLockFlags,
    uint32 & OutFlags
)

Remarks

Checks for the entry in our current map, and if not found the backfill. If the entry is in the backfill it is moved to the current map so it will not be discarded when DiscardUnusedEntries is called