UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FStorageServerFileCache Class Reference

Classes

struct  CacheEntry
 

Public Member Functions

void Lock ()
 
void Unlock ()
 
CacheEntryFindOrAdd (FIoChunkId FileChunkId)
 
void ReadCached (FStorageServerConnection *Connection, FIoChunkId FileChunkId, int64 &FilePos, uint8 *&Destination, int64 &BytesToRead)
 

Static Public Member Functions

static FORCEINLINE int64 BlockOffset (int64 Position)
 
static FStorageServerFileCacheGet ()
 

Static Public Attributes

static const int64 BlockSize = 256 * 1024
 
static const uint32 MaxCacheElements = 16
 

Member Function Documentation

◆ BlockOffset()

static FORCEINLINE int64 FStorageServerFileCache::BlockOffset ( int64  Position)
inlinestatic

◆ FindOrAdd()

CacheEntry & FStorageServerFileCache::FindOrAdd ( FIoChunkId  FileChunkId)
inline

◆ Get()

static FStorageServerFileCache & FStorageServerFileCache::Get ( )
inlinestatic

◆ Lock()

void FStorageServerFileCache::Lock ( )
inline

◆ ReadCached()

void FStorageServerFileCache::ReadCached ( FStorageServerConnection Connection,
FIoChunkId  FileChunkId,
int64 FilePos,
uint8 *&  Destination,
int64 BytesToRead 
)
inline

◆ Unlock()

void FStorageServerFileCache::Unlock ( )
inline

Member Data Documentation

◆ BlockSize

const int64 FStorageServerFileCache::BlockSize = 256 * 1024
static

◆ MaxCacheElements

const uint32 FStorageServerFileCache::MaxCacheElements = 16
static

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