UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
UE::IoStore::JournaledCache::FMemCache Class Reference

Classes

struct  FItem
 

Public Types

using ItemArray = TArray< FItem >
 
using PeelItems = ItemArray
 

Public Member Functions

 FMemCache (uint32 InMaxSize=64<< 10)
 
uint32 GetDemand () const
 
uint32 GetCount () const
 
uint32 GetUsed () const
 
uint32 GetMax () const
 
const FIoBufferGet (uint64 Key) const
 
bool Put (uint64 Key, FIoBuffer &&Data)
 
bool Evict (uint64 Key, bool bAlways)
 
void Drop ()
 
int32 Peel (int32 PeelThreshold, PeelItems &Out)
 
uint32 DebugVisit (void *Param, FDebugCacheEntry::Callback *Callback)
 

Member Typedef Documentation

◆ ItemArray

◆ PeelItems

Constructor & Destructor Documentation

◆ FMemCache()

UE::IoStore::JournaledCache::FMemCache::FMemCache ( uint32  InMaxSize = 64 << 10)

Member Function Documentation

◆ DebugVisit()

uint32 UE::IoStore::JournaledCache::FMemCache::DebugVisit ( void Param,
FDebugCacheEntry::Callback Callback 
)

◆ Drop()

void UE::IoStore::JournaledCache::FMemCache::Drop ( )

◆ Evict()

bool UE::IoStore::JournaledCache::FMemCache::Evict ( uint64  Key,
bool  bAlways 
)

◆ Get()

const FIoBuffer * UE::IoStore::JournaledCache::FMemCache::Get ( uint64  Key) const

◆ GetCount()

uint32 UE::IoStore::JournaledCache::FMemCache::GetCount ( ) const
inline

◆ GetDemand()

uint32 UE::IoStore::JournaledCache::FMemCache::GetDemand ( ) const

◆ GetMax()

uint32 UE::IoStore::JournaledCache::FMemCache::GetMax ( ) const
inline

◆ GetUsed()

uint32 UE::IoStore::JournaledCache::FMemCache::GetUsed ( ) const
inline

◆ Peel()

int32 UE::IoStore::JournaledCache::FMemCache::Peel ( int32  PeelThreshold,
PeelItems Out 
)

◆ Put()

bool UE::IoStore::JournaledCache::FMemCache::Put ( uint64  Key,
FIoBuffer &&  Data 
)

The documentation for this class was generated from the following file: