Navigation
API > API/Runtime > API/Runtime/InstallBundleManager
| Name | FInstallBundleCache |
| Type | class |
| Header File | /Engine/Source/Runtime/InstallBundleManager/Public/InstallBundleCache.h |
| Include Path | #include "InstallBundleCache.h" |
Syntax
class FInstallBundleCache : public TSharedFromThis< FInstallBundleCache >
Inheritance Hierarchy
- TSharedFromThis< FInstallBundleCache > → FInstallBundleCache
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~FInstallBundleCache() |
InstallBundleCache.h |
Structs
| Name | Remarks |
|---|---|
| FBundleCacheInfo | |
| FCacheSortPredicate | |
| FPerSourceBundleCacheInfo |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| CacheInfo | TMap< FName, FBundleCacheInfo > | Mutable to allow sorting in const contexts | InstallBundleCache.h | |
| CacheName | FName | InstallBundleCache.h | ||
| PerSourceCacheInfo | TMap< FName, TMap< FInstallBundleSourceType, FPerSourceBundleCacheInfo > > | InstallBundleCache.h | ||
| TotalSize | uint64 | InstallBundleCache.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddOrUpdateBundle
(
FInstallBundleSourceType Source, |
Add a bundle to the cache. | InstallBundleCache.h | |
bool ClearPendingEvict
(
FName BundleName |
InstallBundleCache.h | ||
bool Contains
(
FInstallBundleSourceType Source, |
InstallBundleCache.h | ||
bool Contains
(
FName BundleName |
InstallBundleCache.h | ||
FInstallBundleCacheFlushResult Flush
(
FInstallBundleSourceType* Source |
Called from bundle manager, returns all bundles that can be evicted. | InstallBundleCache.h | |
TOptional< FInstallBundleCacheBundleInfo > GetBundleInfo
(
FName BundleName |
InstallBundleCache.h | ||
TOptional< FInstallBundleCacheBundleInfo > GetBundleInfo
(
FInstallBundleSourceType Source, |
InstallBundleCache.h | ||
uint64 GetFreeSpace() |
Return the amount of free space in the cache, clamped to [0, GetSize()]. | InstallBundleCache.h | |
FName GetName() |
InstallBundleCache.h | ||
uint64 GetSize() |
Return the total size of the cache. | InstallBundleCache.h | |
FInstallBundleCacheStats GetStats
(
EInstallBundleCacheStatsFlags Flags, |
InstallBundleCache.h | ||
uint64 GetUsedSize () |
Return the amount of space in use. | InstallBundleCache.h | |
void HintRequested
(
FName BundleName, |
Hint to the cache that this bundle is requested, and we should prefer to evict non-requested bundles if possible. | InstallBundleCache.h | |
void Init
(
FInstallBundleCacheInitInfo InitInfo |
InstallBundleCache.h | ||
bool IsReserved
(
FName BundleName |
InstallBundleCache.h | ||
bool Release
(
FName BundleName |
Called from bundle manager to make the files for this bundle eligible for eviction. | InstallBundleCache.h | |
void RemoveBundle
(
FInstallBundleSourceType Source, |
InstallBundleCache.h | ||
FInstallBundleCacheReserveResult Reserve
(
FName BundleName |
Called from bundle manager. | InstallBundleCache.h | |
bool SetPendingEvict
(
FName BundleName |
InstallBundleCache.h |