ICache

Interface to the cache.

Unreal Engine C++ API Reference > Developer > DerivedDataCache

References

   
Module DerivedDataCache
Header /Engine/Source/Developer/DerivedDataCache/Public/DerivedDataCache.h
Include #include "DerivedDataCache.h"

Syntax

class ICache  

Remarks

Interface to the cache.

Functions on this interface may be called from any thread.

Requests may complete out of order relative to the order that they were requested.

Callbacks may be called from any thread, including the calling thread, may be called from more than one thread concurrently, and may be called before returning from the request function.

Destructors

Type Name Description
  ~ICache ()  

Functions

Type Name Description
void Get ( TConstArrayView< FCacheGetRequest >..., IRequestOwner& Owner, FOnCacheGetComplete&& OnComplete ) Asynchronous request to get records from the cache.
void GetChunks ( TConstArrayView< FCacheGetChunkRequ..., IRequestOwner& Owner, FOnCacheGetChunkComplete&& OnCompl... ) Asynchronous request to get chunks, which are subsets of values, from records or values.
ICacheStoreM... GetMaintainer () Returns the interface to the background cache store maintenance.
void GetValue ( TConstArrayView< FCacheGetValueRequ..., IRequestOwner& Owner, FOnCacheGetValueComplete&& OnCompl... ) Asynchronous request to get values from the cache.
void Put ( TConstArrayView< FCachePutRequest >..., IRequestOwner& Owner, FOnCachePutComplete&& OnComplete ) Asynchronous request to put records in the cache.
void PutValue ( TConstArrayView< FCachePutValueRequ..., IRequestOwner& Owner, FOnCachePutValueComplete&& OnCompl... ) Asynchronous request to put values in the cache.

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library