Table of Contents

Class IndexBuildTaskExecutor

Namespace: Casewhere.Common
Assembly: Casewhere.Common.dll

public static class IndexBuildTaskExecutor

Inheritance

objectIndexBuildTaskExecutor

Inherited Members

object.ToString(), object.Equals(object), object.Equals(object, object), object.ReferenceEquals(object, object), object.GetHashCode(), object.GetType(), object.MemberwiseClone()

Extension Methods

ObjectExtension.ConvertToBsonValue(object)

Fields

MAINTENANCE_TASK_KEY

public static readonly string MAINTENANCE_TASK_KEY

Field Value

string

STARTUP_TASK_KEY

public static readonly string STARTUP_TASK_KEY

Field Value

string

Methods

RunIndexBuildTask(string, Action<CancellationToken>)

public static void RunIndexBuildTask(string context, Action<CancellationToken> indexBuildAction)

Parameters

context string

indexBuildAction Action<CancellationToken>

RunIndexBuildTaskWhenStartup(string, Action<CancellationToken>, CancellationToken)

public static void RunIndexBuildTaskWhenStartup(string appName, Action<CancellationToken> indexBuildAction, CancellationToken disposingToken)

Parameters

appName string

indexBuildAction Action<CancellationToken>

disposingToken CancellationToken