Search Results for

    Show / Hide Table of Contents
    View Source

    Class Suspendable.ExamineEvents

    Represents events related to the Examine indexing process that can be suspended.

    Inheritance
    object
    Namespace: Umbraco.Cms.Infrastructure
    Assembly: Umbraco.Infrastructure.dll
    Syntax
    public static class Suspendable.ExamineEvents
    Remarks

    This is really needed at all since the only place this is used is in ExamineComponent and that already maintains a flag of whether it suspsended or not AHH... but Deploy probably uses this?

    Properties

    View Source

    CanIndex

    Gets a value indicating whether indexing is currently allowed.

    Declaration
    public static bool CanIndex { get; }
    Property Value
    Type Description
    bool

    Methods

    View Source

    ResumeIndexers(IIndexRebuilder)

    Resumes the indexers after they have been suspended. If a rebuild was previously attempted while suspended, this method triggers a rebuild of the indexes using the provided backgroundIndexRebuilder.

    Declaration
    public static void ResumeIndexers(IIndexRebuilder backgroundIndexRebuilder)
    Parameters
    Type Name Description
    IIndexRebuilder backgroundIndexRebuilder

    The IIndexRebuilder instance used to rebuild the indexes if required.

    View Source

    SuspendIndexers(ILogger)

    Suspends the indexers by setting the internal suspended flag and logs the suspension action.

    Declaration
    public static void SuspendIndexers(ILogger logger)
    Parameters
    Type Name Description
    ILogger logger

    The logger used to record information about the suspension of the indexers.

    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX