Interface IDatabaseCacheRebuilder
Defines operations for rebuild of the published content cache in the database.
Namespace: Umbraco.Cms.Core.PublishedCache
Assembly: Umbraco.Core.dll
Syntax
public interface IDatabaseCacheRebuilder
Methods
View SourceIsRebuilding()
Indicates if the database cache is in the process of being rebuilt.
Declaration
virtual bool IsRebuilding()
Returns
Type | Description |
---|---|
System. |
Rebuild()
Rebuilds the database cache.
Declaration
void Rebuild()
Rebuild(Boolean)
Rebuilds the database cache, optionally using a background thread.
Declaration
virtual void Rebuild(bool useBackgroundThread)
Parameters
Type | Name | Description |
---|---|---|
System. |
useBackgroundThread | Flag indicating whether to use a background thread for the operation and immediately return to the caller. |
RebuildDatabaseCacheIfSerializerChanged()
Rebuids the database cache if the configured serializer has changed.
Declaration
void RebuildDatabaseCacheIfSerializerChanged()