UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
BuildPatchServices::FChunkEvictionPolicy Class Reference
+ Inheritance diagram for BuildPatchServices::FChunkEvictionPolicy:

Public Member Functions

 FChunkEvictionPolicy (IChunkReferenceTracker *InChunkReferenceTracker)
 
 ~FChunkEvictionPolicy ()
 
virtual void Query (const TMap< FGuid, TUniquePtr< IChunkDataAccess > > &CurrentMap, int32 DesiredMax, TSet< FGuid > &OutCleanable, TSet< FGuid > &OutBootable) const override
 
- Public Member Functions inherited from BuildPatchServices::IChunkEvictionPolicy
virtual ~IChunkEvictionPolicy ()
 

Constructor & Destructor Documentation

◆ FChunkEvictionPolicy()

BuildPatchServices::FChunkEvictionPolicy::FChunkEvictionPolicy ( IChunkReferenceTracker InChunkReferenceTracker)

◆ ~FChunkEvictionPolicy()

BuildPatchServices::FChunkEvictionPolicy::~FChunkEvictionPolicy ( )

Member Function Documentation

◆ Query()

void BuildPatchServices::FChunkEvictionPolicy::Query ( const TMap< FGuid, TUniquePtr< IChunkDataAccess > > &  CurrentMap,
int32  DesiredMax,
TSet< FGuid > &  OutCleanable,
TSet< FGuid > &  OutBootable 
) const
overridevirtual

Query which chunks in a given set can be removed, or if necessary booted, in order to achieve the desired max count. It is possible to receive a decision of not evicting any data and thus expanding the data set past the desired max.

Parameters
CurrentMapReference to the full set of data to be considered.
DesiredMaxThe maximum number of chunks desired for the set of data.
OutCleanableReceives IDs for chunks which should be abandoned as they are no longer required.
OutBootableReceives IDs for chunks which would be preferable to remove, but are still required later.

Implements BuildPatchServices::IChunkEvictionPolicy.


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