![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <CloudChunkSource.h>
Inheritance diagram for BuildPatchServices::ICloudChunkSourceStat:Public Member Functions | |
| virtual | ~ICloudChunkSourceStat () |
| virtual void | OnDownloadRequested (const FGuid &ChunkId)=0 |
| virtual void | OnDownloadSuccess (const FGuid &ChunkId)=0 |
| virtual void | OnDownloadFailed (const FGuid &ChunkId, const FString &Url)=0 |
| virtual void | OnDownloadCorrupt (const FGuid &ChunkId, const FString &Url, EChunkLoadResult LoadResult)=0 |
| virtual void | OnDownloadAborted (const FGuid &ChunkId, const FString &Url, double DownloadTimeMean, double DownloadTimeStd, double DownloadTime, double BreakingPoint)=0 |
| virtual void | OnReceivedDataUpdated (int64 TotalBytes)=0 |
| virtual void | OnRequiredDataUpdated (int64 TotalBytes)=0 |
| virtual void | OnDownloadHealthUpdated (EBuildPatchDownloadHealth DownloadHealth)=0 |
| virtual void | OnSuccessRateUpdated (float SuccessRate)=0 |
| virtual void | OnActiveRequestCountUpdated (uint32 RequestCount)=0 |
| virtual void | OnAcceptedNewRequirements (const TSet< FGuid > &ChunkIds)=0 |
This interface defines the statistics class required by the cloud source. It should be implemented in order to collect desired information which is being broadcast by the system.
|
inlinevirtual |
|
pure virtual |
Called when a batch of chunks are added and accepted via IChunkSource::AddRuntimeRequirements.
| ChunkIds | The ids of each chunk. |
Implemented in DeltaStats::FNoCloudChunkSourceStat, and BuildPatchServices::FCloudChunkSourceStatistics.
|
pure virtual |
Called whenever the current number of active requests updates.
| RequestCount | The number of currently active requests, this will range between 0 and NumSimultaneousDownloads config. |
Implemented in DeltaStats::FNoCloudChunkSourceStat, and BuildPatchServices::FCloudChunkSourceStatistics.
|
pure virtual |
Called whenever a chunk was aborted because it was determined as taking too long.
| ChunkId | The id of the chunk. |
| Url | The url used to request the chunk. |
| DownloadTimeMean | The current mean time for chunk downloads when this abort was made. |
| DownloadTimeStd | The current standard deviation for chunk download times when this abort was made. |
| DownloadTime | The time this request had been running for. |
| BreakingPoint | The calculated breaking point which this request has overran. |
Implemented in DeltaStats::FNoCloudChunkSourceStat, and BuildPatchServices::FCloudChunkSourceStatistics.
|
pure virtual |
Called whenever a chunk download request succeeded but the data was not valid.
| ChunkId | The id of the chunk. |
| Url | The url used to request the chunk. |
| LoadResult | The result from attempting to serialize the downloaded data. |
Implemented in BuildPatchServices::FCloudChunkSourceStatistics.
|
pure virtual |
Called whenever a chunk download request has failed.
| ChunkId | The id of the chunk. |
| Url | The url used to request the chunk. |
Implemented in DeltaStats::FNoCloudChunkSourceStat, and BuildPatchServices::FCloudChunkSourceStatistics.
|
pure virtual |
Called whenever the perceived download health changes, according to the provided configuration.
| DownloadHealth | The new download health value. |
Implemented in DeltaStats::FNoCloudChunkSourceStat, and BuildPatchServices::FCloudChunkSourceStatistics.
|
pure virtual |
Called whenever a chunk download request is made.
| ChunkId | The id of the chunk. |
Implemented in DeltaStats::FNoCloudChunkSourceStat, and BuildPatchServices::FCloudChunkSourceStatistics.
|
pure virtual |
Called whenever a chunk download request has succeeded.
| ChunkId | The id of the chunk. |
Implemented in DeltaStats::FNoCloudChunkSourceStat, and BuildPatchServices::FCloudChunkSourceStatistics.
|
pure virtual |
Called to update the amount of bytes which have been downloaded.
| TotalBytes | The number of bytes downloaded so far. |
Implemented in DeltaStats::FNoCloudChunkSourceStat, and BuildPatchServices::FCloudChunkSourceStatistics.
|
pure virtual |
Called whenever the total number of bytes intended to download updates. This can occur after initialization if a chunk is requested which was not in the original list.
| TotalBytes | The number of bytes downloaded so far. |
Implemented in DeltaStats::FNoCloudChunkSourceStat, and BuildPatchServices::FCloudChunkSourceStatistics.
|
pure virtual |
Called whenever the success rate of requests has been updated.
| SuccessRate | The new success rate value, when 1.0 is all requests made so far have been successful, and 0.0 is all requests failed so far. |
Implemented in DeltaStats::FNoCloudChunkSourceStat, and BuildPatchServices::FCloudChunkSourceStatistics.