FInstallBundleCache

Choose your operating system:

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

bool

 

ClearPendingEvict

(
    FName BundleName
)

Public function

FInstallBund...

 

Flush

(
    EInstallBundleSourceType* Sour...
)

Called from bundle manager, returns all bundles that can be evicted.

Public function Const

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

FName

 

GetName()

Public function Const

uint64

 

GetSize()

Return the total size of the cache.

Public function Const

FInstallBund...

 

GetStats

(
    bool bDumpToLog,
    bool bVerbose
)

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