Interface IDeferredCacheRebuildService
Queues content type cache rebuilds for deferred background processing with de-duplication.
Namespace: Umbraco.Cms.Core.PublishedCache
Assembly: Umbraco.Core.dll
Syntax
public interface IDeferredCacheRebuildService
Methods
View SourceQueueContentTypeRebuild(IReadOnlyCollection<int>)
Queues the specified content type IDs for a deferred database cache rebuild.
Declaration
void QueueContentTypeRebuild(IReadOnlyCollection<int> contentTypeIds)
Parameters
| Type | Name | Description |
|---|---|---|
| IReadOnlyCollection<int> | contentTypeIds | The content type IDs to rebuild. |
QueueMediaTypeRebuild(IReadOnlyCollection<int>)
Queues the specified media type IDs for a deferred database cache rebuild.
Declaration
void QueueMediaTypeRebuild(IReadOnlyCollection<int> mediaTypeIds)
Parameters
| Type | Name | Description |
|---|---|---|
| IReadOnlyCollection<int> | mediaTypeIds | The media type IDs to rebuild. |