ICacheStore

Interface to a store of cache records and cache values.

Windows
MacOS
Linux

Inheritance Hierarchy

ICacheStore

ICache

References

Module

DerivedDataCache

Header

/Engine/Source/Developer/DerivedDataCache/Public/DerivedDataCache.h

Include

#include "DerivedDataCache.h"

Syntax

class ICacheStore

Remarks

Interface to a store of cache records and cache values.

Functions on this interface may be called from any thread. When a callback is provided, it may be invoked from a different thread than the request was made on, and may be invoked before the request function returns, both of which must be supported by the caller and the callback.

Destructors

Name Description

Public function Virtual

~ICacheStore()

Functions

Name Description

Public function

void

 

Get

(
    TConstArrayView< FCacheGetRequest >...,
    IRequestOwner& Owner,
    FOnCacheGetComplete&& OnComplete
)

Asynchronous request to get cache records according to the policy.

Public function

void

 

GetChunks

(
    TConstArrayView< FCacheGetChunkRequ...,
    IRequestOwner& Owner,
    FOnCacheGetChunkComplete&& OnCompl...
)

Asynchronous request to get chunks, which are subsets of values, from records or values.

Public function Virtual

void

 

GetValue

(
    TConstArrayView< FCacheGetValueRequ...,
    IRequestOwner& Owner,
    FOnCacheGetValueComplete&& OnCompl...
)

Public function

void

 

Put

(
    TConstArrayView< FCachePutRequest >...,
    IRequestOwner& Owner,
    FOnCachePutComplete&& OnComplete
)

Asynchronous request to put cache records according to the policy.

Public function Virtual

void

 

PutValue

(
    TConstArrayView< FCachePutValueRequ...,
    IRequestOwner& Owner,
    FOnCachePutValueComplete&& OnCompl...
)