15class FOnDemandContentHandle;
16class FOnDemandIoStore;
17struct FOnDemandInstallCacheUsage;
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
Definition SharedPointer.h:692
Definition DiskCacheGovernor.h:13
Definition IoStoreOnDemand.h:88
Definition OnDemandIoStore.h:332
Definition OnDemandInstallCache.h:29
virtual bool TryPinChunks(const FSharedOnDemandContainer &Container, TConstArrayView< int32 > EntryIndices, FOnDemandContentHandle ContentHandle, TArray< int32 > &OutMissing)=0
virtual bool IsChunkCached(const FIoHash &ChunkHash)=0
virtual FResult Flush()=0
virtual FResult PurgeAllUnreferenced(bool bDefrag, const uint64 *BytesToPurge=nullptr)=0
virtual void UpdateLastAccess(TConstArrayView< FIoHash > ChunkHashes)=0
virtual ~IOnDemandInstallCache()=default
virtual FResult Verify()=0
virtual FResult PutChunk(FIoBuffer &&Chunk, const FIoHash &ChunkHash)=0
virtual FResult Purge(uint64 BytesToInstall)=0
virtual FResult FlushLastAccess()=0
virtual FResult DefragAll(const uint64 *BytesToFree=nullptr)=0
virtual FOnDemandInstallCacheUsage GetCacheUsage()=0
NO_LOGGING.
Definition Client.h:20
TSharedPtr< struct FOnDemandContainer, ESPMode::ThreadSafe > FSharedOnDemandContainer
Definition OnDemandContentInstaller.h:30
TSharedPtr< IOnDemandInstallCache > MakeOnDemandInstallCache(FOnDemandIoStore &IoStore, const FOnDemandInstallCacheConfig &Config, FDiskCacheGovernor &Governor)
Definition OnDemandInstallCache.cpp:3708
Definition IoDispatcherBackend.h:186
Definition OnDemandInstallCache.h:50
bool bDropCache
Definition OnDemandInstallCache.h:55
FString RootDirectory
Definition OnDemandInstallCache.h:51
uint64 JournalMaxSize
Definition OnDemandInstallCache.h:53
double LastAccessGranularitySeconds
Definition OnDemandInstallCache.h:54
uint64 DiskQuota
Definition OnDemandInstallCache.h:52
Definition OnDemandInstallCache.h:21
uint64 TotalSize
Definition OnDemandInstallCache.h:23
uint64 ReferencedBlockSize
Definition OnDemandInstallCache.h:24
uint64 MaxSize
Definition OnDemandInstallCache.h:22
Definition IoStoreOnDemand.h:487