Search Results for

    Show / Hide Table of Contents

    Class TaskSchedulerConfiguration

    The properties for a user-defined task scheduler such as Name, MaxConcurrency, PollRateMs, and TaskTypes

    Inheritance
    object
    TaskSchedulerConfiguration
    Inherited Members
    object.GetType()
    object.MemberwiseClone()
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    Namespace: LemonEdge.API
    Assembly: LemonEdge.API.dll
    Syntax
    public class TaskSchedulerConfiguration

    Constructors

    TaskSchedulerConfiguration()

    Declaration
    public TaskSchedulerConfiguration()

    Properties

    MaxConcurrency

    The maximum number of parallel tasks that may execute at a given time (per scheduler)

    Declaration
    public int MaxConcurrency { get; set; }
    Property Value
    Type Description
    int

    Name

    The name of the task scheduler

    Declaration
    public string Name { get; set; }
    Property Value
    Type Description
    string

    PollRateMs

    The rate at which to poll for new tasks in milliseconds

    Declaration
    public int PollRateMs { get; set; }
    Property Value
    Type Description
    int

    TaskTypes

    The supported task types for the particular task scheduler

    Declaration
    public List<Guid> TaskTypes { get; set; }
    Property Value
    Type Description
    List<Guid>

    Methods

    IsAcceptedTaskType(Guid)

    Whether the given task type is accepted by this configuration.

    Declaration
    public bool IsAcceptedTaskType(Guid taskType)
    Parameters
    Type Name Description
    Guid taskType
    Returns
    Type Description
    bool

    Extension Methods

    LinqExtensions.AsArray<T>(T)
    LinqExtensions.ToArrayOfOne<T>(T)
    LinqExtensions.ToListOfOne<T>(T)
    MiscExtensions.SetIfNotEqual<T, TP>(T, Expression<Func<T, TP>>, TP)
    WeakReferenceExtensions.WeakReference(object)
    SQLExtensions.ToSQLValue(object, bool)
    ReflectionExtensions.ClearEventInvocations(object, string)
    StringExtensions.ToCSVFormatString(object, Type)
    In this article
    Back to top © LemonEdge Technologies. All rights reserved.