LaunchDarkly Dotnet Server SDK
Search Results for

    Show / Hide Table of Contents

    Struct MigrationExecution

    This class is used to control the execution mechanism for migrations.

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: LaunchDarkly.Sdk.Server.Migrations
    Assembly: LaunchDarkly.ServerSdk.dll
    Syntax
    public readonly struct MigrationExecution
    Remarks

    Read operations may be executed in parallel, sequentially in a fixed order, or sequentially in a randomized order.

    This class facilitates correct combinations of parallel/serial with random/fixed.

    Properties

    | Edit this page View Source

    Mode

    The execution mode to use for a migration.

    Declaration
    public MigrationExecutionMode Mode { get; }
    Property Value
    Type Description
    MigrationExecutionMode
    | Edit this page View Source

    Order

    If the execution mode is serial, then this indicates if it should be in a random or fixed order.

    Declaration
    public MigrationSerialOrder Order { get; }
    Property Value
    Type Description
    MigrationSerialOrder

    Methods

    | Edit this page View Source

    Parallel()

    Construct a parallel execution.

    Declaration
    public static MigrationExecution Parallel()
    Returns
    Type Description
    MigrationExecution

    a migration execution instance

    | Edit this page View Source

    Serial(MigrationSerialOrder)

    Construct a serial execution with the specified ordering.

    Declaration
    public static MigrationExecution Serial(MigrationSerialOrder order)
    Parameters
    Type Name Description
    MigrationSerialOrder order

    the serial execution order fixed/random

    Returns
    Type Description
    MigrationExecution

    a migration execution instance

    | Edit this page View Source

    ToString()

    Produce a string representation. This is intended for informational purposes only and subject to change.

    Declaration
    public override string ToString()
    Returns
    Type Description
    string

    a string representation

    Overrides
    ValueType.ToString()
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX