Navigation
API > API/Runtime > API/Runtime/IndexedCacheStorage
Manager to handle ref-counting of ICS entries.
| Name | FIndexedCacheStorageManager |
| Type | class |
| Header File | /Engine/Source/Runtime/Experimental/IndexedCacheStorage/Public/IndexedCacheStorageManager.h |
| Include Path | #include "IndexedCacheStorageManager.h" |
Syntax
class FIndexedCacheStorageManager
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bHasRegisteredEntries | bool | IndexedCacheStorageManager.h | ||
| IndexedCacheStorageMetaData | TUniquePtr< struct FIndexedCacheStorageMetaData > | IndexedCacheStorageManager.h | ||
| StorageNameToStorageIndex | TMap< FString, int32 > | IndexedCacheStorageManager.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool CreateCacheStorage
(
uint64 RequestNumberOfBytes, |
Create a new storage at the specified index. Will destroy the previous one if it had a different capacity. | IndexedCacheStorageManager.h | |
void DestroyCacheStorage
(
int32 CacheIndex |
Destroy the specified cache storage. | IndexedCacheStorageManager.h | |
| Returns all registered storage names. The assoaciated cache storages might not have been created | IndexedCacheStorageManager.h | ||
uint64 GetCacheEarlyStartupSize
(
int32 CacheIndex |
Returns 0 if no early startup size configured. | IndexedCacheStorageManager.h | |
uint64 GetCacheStorageCapacity
(
int32 CacheIndex |
Returns 0 if no cache currently exists. | IndexedCacheStorageManager.h | |
FString GetMountName
(
int32 CacheIndex |
Returns mount name in cache index is mounted, empty if not mounted. | IndexedCacheStorageManager.h | |
FString GetMountPath
(
int32 CacheIndex |
Helper to retrieve the mount path. Equivalent to GetCacheStorageMountPath(GetMountName) | IndexedCacheStorageManager.h | |
int32 GetStorageIndex
(
const FString& CacheStorageName |
Returns the cache index registered to that storage name. | IndexedCacheStorageManager.h | |
FString MountCacheStorage
(
int32 CacheIndex |
Returns the path of the mounted cache. | IndexedCacheStorageManager.h | |
bool SupportsIndexedCacheStorage() |
Returns whether ICS is supported. | IndexedCacheStorageManager.h | |
void UnmountCacheStorage
(
int32 CacheIndex |
Requests unmounting for CacheIndex. Actually unmounts if # of UnmountCacheEntry == # of MountCacheStorage for the same index. | IndexedCacheStorageManager.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static FIndexedCacheStorageManager & Get() |
IndexedCacheStorageManager.h |