![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <ChunkEvictionPolicy.h>
Inheritance diagram for BuildPatchServices::IChunkEvictionPolicy:Public Member Functions | |
| virtual | ~IChunkEvictionPolicy () |
| virtual void | Query (const TMap< FGuid, TUniquePtr< IChunkDataAccess > > &CurrentMap, int32 DesiredMax, TSet< FGuid > &OutCleanable, TSet< FGuid > &OutBootable) const =0 |
An interface providing decisions for cleaning and booting chunk data from stores.
|
inlinevirtual |
|
pure virtual |
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.
| CurrentMap | Reference to the full set of data to be considered. |
| DesiredMax | The maximum number of chunks desired for the set of data. |
| OutCleanable | Receives IDs for chunks which should be abandoned as they are no longer required. |
| OutBootable | Receives IDs for chunks which would be preferable to remove, but are still required later. |
Implemented in BuildPatchServices::FChunkEvictionPolicy.