Generic implementation of IIndexedCacheStorage
◆ CreateCacheStorage()
| virtual bool Experimental::FGenericIndexedCacheStorage::CreateCacheStorage |
( |
uint64 |
InRequestNumberOfBytes, |
|
|
int32 |
CacheStorageIndex |
|
) |
| |
|
inlineoverridevirtual |
Requests a new indexed cache entry, capable of holding up to RequestNumberOfBytes.
- Parameters
-
| InRequestNumberOfBytes | number of bytes this entry needs to hold |
| CacheStorageIndex | - the index of the entry to create |
- Returns
- True on success, otherwise false
Implements Experimental::IIndexedCacheStorage.
◆ DestroyCacheStorage()
| virtual bool Experimental::FGenericIndexedCacheStorage::DestroyCacheStorage |
( |
int32 |
InCacheStorageIndex | ) |
|
|
inlineoverridevirtual |
Destroy an indexed cache entry.
- Parameters
-
| InCacheStorageIndex | - the index of the entry |
- Returns
- True on success, otherwise false
Implements Experimental::IIndexedCacheStorage.
◆ EnumerateCacheStorages()
| virtual void Experimental::FGenericIndexedCacheStorage::EnumerateCacheStorages |
( |
TArray< int32 > & |
OutCacheStorageIndices | ) |
|
|
inlineoverridevirtual |
◆ GetCacheStorageInfo()
| virtual void Experimental::FGenericIndexedCacheStorage::GetCacheStorageInfo |
( |
int32 |
InCacheStorageIndex, |
|
|
uint64 & |
OutCacheStorageDataSize, |
|
|
uint64 & |
OutCacheStorageJournalSize |
|
) |
| |
|
inlineoverridevirtual |
Queries cache storage.
- Parameters
-
| InCacheStorageIndex | - the index of the cache |
| OutCacheStorageSize | - How large the cache storage is |
Implements Experimental::IIndexedCacheStorage.
◆ GetCacheStorageJournalSize()
| virtual uint64 Experimental::FGenericIndexedCacheStorage::GetCacheStorageJournalSize |
( |
uint64 |
CacheDataSize, |
|
|
uint32 |
CacheIndex |
|
) |
| |
|
inlineoverridevirtual |
◆ GetCacheStorageMountPath()
| virtual void Experimental::FGenericIndexedCacheStorage::GetCacheStorageMountPath |
( |
FString & |
OutPlatformMountPath, |
|
|
const FString & |
InMountName |
|
) |
| |
|
inlineoverridevirtual |
Gets the platform mount path for a cached storage based on its generic Name
- Parameters
-
| OutPlatformMountPath | - the platform specific mount path |
| InMountName | - the generic mount name |
Implements Experimental::IIndexedCacheStorage.
◆ GetNumIndexedCacheStorages()
| virtual uint32 Experimental::FGenericIndexedCacheStorage::GetNumIndexedCacheStorages |
( |
| ) |
|
|
inlineoverridevirtual |
Retrieve the number of indexed cache entries available on the platform.
- Returns
- number of indexed cache entries available on the platform.
Implements Experimental::IIndexedCacheStorage.
◆ GetPersistentDownloadDirEarlyStartupSize()
| virtual uint64 Experimental::FGenericIndexedCacheStorage::GetPersistentDownloadDirEarlyStartupSize |
( |
| ) |
|
|
inlineoverridevirtual |
◆ MountCacheStorage()
| virtual bool Experimental::FGenericIndexedCacheStorage::MountCacheStorage |
( |
FString & |
OutPlatformMountPath, |
|
|
int32 |
InCacheStorageIndex, |
|
|
const FString & |
InMountName |
|
) |
| |
|
inlineoverridevirtual |
Mounts a cache storage so file operations can be done
- Parameters
-
| OutPlatformMountPath | - the platform specific mount path. Same name as the one returned by GetCacheStorageMountPath |
| InCacheStorageIndex | - the index of the cache |
| InMountName | - the generic mount name |
Implements Experimental::IIndexedCacheStorage.
◆ SupportsIndexedCacheStorage()
| virtual bool Experimental::FGenericIndexedCacheStorage::SupportsIndexedCacheStorage |
( |
| ) |
|
|
inlineoverridevirtual |
◆ UnmountCacheStorage()
| virtual void Experimental::FGenericIndexedCacheStorage::UnmountCacheStorage |
( |
const FString & |
InMountName | ) |
|
|
inlineoverridevirtual |
The documentation for this class was generated from the following file: