FInstallBundleCache

Windows
MacOS
Linux

Inheritance Hierarchy

TSharedFromThis

FInstallBundleCache

References

Module

InstallBundleManager

Header

/Engine/Source/Runtime/InstallBundleManager/Public/InstallBundleCache.h

Include

#include "InstallBundleCache.h"

Syntax

class FInstallBundleCache : public TSharedFromThis< FInstallBundleCache >

Destructors

Name Description

Public function Virtual

~FInstallBundleCache()

Functions

Name Description

Public function

void

 

AddOrUpdateBundle

(
    EInstallBundleSourceType Source,
    const FInstallBundleCacheBundleInfo...
)

Add a bundle to the cache.

Public function

TOptional< F...

 

GetBundleInfo

(
    EInstallBundleSourceType Source,
    FName BundleName
)

Public function Const

uint64

 

GetFreeSpace()

Return the amount of free space in the cache, clamped to [0, GetSize()].

Public function Const

uint64

 

GetSize()

Return the total size of the cache.

Public function Const

FInstallBund...

 

GetStats

(
    bool bDumpToLog
)

Public function Const

uint64

 

GetUsedSize()

Return the amount of space in use.

Public function

void

 

HintRequested

(
    FName BundleName,
    bool bRequested
)

Hint to the cache that this bundle is requested, and we should prefer to evict non-requested bundles if possible.

Public function

void

 

Init

(
    FInstallBundleCacheInitInfo InitInf...
)

Public function

bool

 

Release

(
    FName BundleName
)

Called from bundle manager to make the files for this bundle eligible for eviction.

Public function

void

 

RemoveBundle

(
    EInstallBundleSourceType Source,
    FName BundleName
)

Public function

FInstallBund...

 

Reserve

(
    FName BundleName
)

Called from bundle manager.

Public function

bool

 

SetPendingEvict

(
    FName BundleName
)

Enums

Name

Description

Private enum

ECacheState

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss