|
| | FOnDemandInstallCache (const FOnDemandInstallCacheConfig &Config, FOnDemandIoStore &IoStore, FDiskCacheGovernor &Governor) |
| |
| virtual | ~FOnDemandInstallCache () |
| |
| virtual void | Initialize (FSharedBackendContextRef Context) override |
| |
| virtual void | Shutdown () override |
| |
| virtual void | ResolveIoRequests (FIoRequestList Requests, FIoRequestList &OutUnresolved) override |
| |
| virtual FIoRequestImpl * | GetCompletedIoRequests () override |
| |
| virtual void | CancelIoRequest (FIoRequestImpl *Request) override |
| |
| virtual void | UpdatePriorityForIoRequest (FIoRequestImpl *Request) override |
| |
| virtual bool | DoesChunkExist (const FIoChunkId &ChunkId) const override |
| |
| virtual TIoStatusOr< uint64 > | GetSizeForChunk (const FIoChunkId &ChunkId) const override |
| |
| virtual TIoStatusOr< FIoMappedRegion > | OpenMapped (const FIoChunkId &ChunkId, const FIoReadOptions &Options) override |
| |
| virtual const TCHAR * | GetName () const override |
| |
| virtual bool | IsChunkCached (const FIoHash &ChunkHash) override |
| |
| virtual bool | TryPinChunks (const FSharedOnDemandContainer &Container, TConstArrayView< int32 > EntryIndices, FOnDemandContentHandle ContentHandle, TArray< int32 > &OutMissing) override |
| |
| virtual FResult | PutChunk (FIoBuffer &&Chunk, const FIoHash &ChunkHash) override |
| |
| virtual FResult | Purge (uint64 BytesToInstall) override |
| |
| virtual FResult | PurgeAllUnreferenced (bool bDefrag, const uint64 *BytesToPurge=nullptr) override |
| |
| virtual FResult | DefragAll (const uint64 *BytesToFree=nullptr) override |
| |
| virtual FResult | Verify () override |
| |
| virtual FResult | Flush () override |
| |
| virtual FResult | FlushLastAccess () override |
| |
| virtual void | UpdateLastAccess (TConstArrayView< FIoHash > ChunkHashes) override |
| |
| virtual FOnDemandInstallCacheUsage | GetCacheUsage () override |
| |
Public Member Functions inherited from UE::IoStore::IOnDemandInstallCache |
| virtual | ~IOnDemandInstallCache ()=default |
| |
| virtual void | Initialize (TSharedRef< const FIoDispatcherBackendContext > Context)=0 |
| |
| virtual bool | DoesChunkExist (const FIoChunkId &ChunkId, const FIoOffsetAndLength &ChunkRange) const |
| |
| virtual TIoStatusOr< uint64 > | GetSizeForChunk (const FIoChunkId &ChunkId, const FIoOffsetAndLength &ChunkRange, uint64 &OutAvailable) const |
| |
◆ FOnDemandInstallCache()
◆ ~FOnDemandInstallCache()
| UE::IoStore::FOnDemandInstallCache::~FOnDemandInstallCache |
( |
| ) |
|
|
virtual |
◆ CancelIoRequest()
◆ DefragAll()
| FResult UE::IoStore::FOnDemandInstallCache::DefragAll |
( |
const uint64 * |
BytesToFree = nullptr | ) |
|
|
overridevirtual |
◆ DoesChunkExist()
| bool UE::IoStore::FOnDemandInstallCache::DoesChunkExist |
( |
const FIoChunkId & |
ChunkId | ) |
const |
|
overridevirtual |
◆ Flush()
| FResult UE::IoStore::FOnDemandInstallCache::Flush |
( |
| ) |
|
|
overridevirtual |
◆ FlushLastAccess()
| FResult UE::IoStore::FOnDemandInstallCache::FlushLastAccess |
( |
| ) |
|
|
overridevirtual |
◆ GetCacheUsage()
◆ GetCompletedIoRequests()
| FIoRequestImpl * UE::IoStore::FOnDemandInstallCache::GetCompletedIoRequests |
( |
| ) |
|
|
overridevirtual |
Returns all completed request(s) to the I/O dispatcher. Triggered by invoking the wake-up callback on the backend context object.
Implements IIoDispatcherBackend.
◆ GetName()
| const TCHAR * UE::IoStore::FOnDemandInstallCache::GetName |
( |
| ) |
const |
|
overridevirtual |
◆ GetSizeForChunk()
◆ Initialize()
◆ IsChunkCached()
| bool UE::IoStore::FOnDemandInstallCache::IsChunkCached |
( |
const FIoHash & |
ChunkHash | ) |
|
|
overridevirtual |
◆ OpenMapped()
◆ Purge()
| FResult UE::IoStore::FOnDemandInstallCache::Purge |
( |
uint64 |
BytesToInstall | ) |
|
|
overridevirtual |
◆ PurgeAllUnreferenced()
| FResult UE::IoStore::FOnDemandInstallCache::PurgeAllUnreferenced |
( |
bool |
bDefrag, |
|
|
const uint64 * |
BytesToPurge = nullptr |
|
) |
| |
|
overridevirtual |
◆ PutChunk()
◆ ResolveIoRequests()
Create asynchronous read requests for the list of I/O request(s). The request(s) can span multiple chunks.
- Parameters
-
| Requests | Request(s) to resolve. |
| OutUnresolved | Unresolved request(s) returned to the I/O dispatcher. |
Implements IIoDispatcherBackend.
◆ Shutdown()
| void UE::IoStore::FOnDemandInstallCache::Shutdown |
( |
| ) |
|
|
overridevirtual |
◆ TryPinChunks()
◆ UpdateLastAccess()
◆ UpdatePriorityForIoRequest()
| void UE::IoStore::FOnDemandInstallCache::UpdatePriorityForIoRequest |
( |
FIoRequestImpl * |
Request | ) |
|
|
overridevirtual |
◆ Verify()
| FResult UE::IoStore::FOnDemandInstallCache::Verify |
( |
| ) |
|
|
overridevirtual |
The documentation for this class was generated from the following file: