ICacheStoreMaintainer

A cache store may register an instance of this interface to take part in cache maintenance.

Windows
MacOS
Linux

Inheritance Hierarchy

IModularFeature

ICacheStoreMaintainer

References

Module

DerivedDataCache

Header

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

Include

#include "DerivedDataCacheMaintainer.h"

Syntax

class ICacheStoreMaintainer : public IModularFeature

Remarks

A cache store may register an instance of this interface to take part in cache maintenance.

As an example, a filesystem cache might register a maintainer that scans for and deletes stale files within its cache directory. Boosting the priority removes any sleep between file scans.

An example consumer is the DDCCleanup commandlet which uses this to boost priority and wait on the completion of maintenance by cache stores.

Functions

Name Description

Public function Virtual

void

 

BoostPriority()

Boost the priority of the active maintenance operation.

Public function Const

bool

 

IsIdle()

True when maintenance is not active.

Constants

Name

Description

FeatureName