Search Results for

    Show / Hide Table of Contents
    View Source

    Class HybridCacheStartupNotificationHandler

    Rebuilds the database cache if required when the serializer changes

    Inheritance
    System.Object
    Namespace: Umbraco.Cms.Infrastructure.HybridCache.NotificationHandlers
    Assembly: Umbraco.PublishedCache.HybridCache.dll
    Syntax
    public class HybridCacheStartupNotificationHandler : INotificationAsyncHandler<UmbracoApplicationStartingNotification>, INotificationHandler

    Constructors

    View Source

    HybridCacheStartupNotificationHandler(IDatabaseCacheRebuilder, IRuntimeState)

    Declaration
    public HybridCacheStartupNotificationHandler(IDatabaseCacheRebuilder databaseCacheRebuilder, IRuntimeState runtimeState)
    Parameters
    Type Name Description
    IDatabaseCacheRebuilder databaseCacheRebuilder
    IRuntimeState runtimeState

    Methods

    View Source

    HandleAsync(UmbracoApplicationStartingNotification, CancellationToken)

    Declaration
    public Task HandleAsync(UmbracoApplicationStartingNotification notification, CancellationToken cancellationToken)
    Parameters
    Type Name Description
    UmbracoApplicationStartingNotification notification
    CancellationToken cancellationToken
    Returns
    Type Description
    Task
    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • HybridCacheStartupNotificationHandler(IDatabaseCacheRebuilder, IRuntimeState)
    • Methods
      • HandleAsync(UmbracoApplicationStartingNotification, CancellationToken)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX