Search Results for

    Show / Hide Table of Contents
    View Source

    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 Source

    IsRebuilding()

    Indicates if the database cache is in the process of being rebuilt.

    Declaration
    virtual bool IsRebuilding()
    Returns
    Type Description
    System.Boolean
    View Source

    Rebuild()

    Rebuilds the database cache.

    Declaration
    void Rebuild()
    View Source

    Rebuild(Boolean)

    Rebuilds the database cache, optionally using a background thread.

    Declaration
    virtual void Rebuild(bool useBackgroundThread)
    Parameters
    Type Name Description
    System.Boolean useBackgroundThread

    Flag indicating whether to use a background thread for the operation and immediately return to the caller.

    View Source

    RebuildDatabaseCacheIfSerializerChanged()

    Rebuids the database cache if the configured serializer has changed.

    Declaration
    void RebuildDatabaseCacheIfSerializerChanged()
    • Improve this Doc
    • View Source
    In This Article
    • Methods
      • IsRebuilding()
      • Rebuild()
      • Rebuild(Boolean)
      • RebuildDatabaseCacheIfSerializerChanged()
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX