Search Results for

    Show / Hide Table of Contents

    Class ChannelTaskScheduler

    The Taskscheduler holds multiple TaskSchdulers with different priorities All scheduled work is executed over the regular ThreadPool and the execution sequence is depenedened on the priority of the TaskSchduler

    Priority TaskSchedulers: High => All queued work is processed before any other priority Normal => Normal work load, processed until max-work count Low => Only processed after normal work load Idle => only processed when no other work is queued

    Inheritance
    object
    ChannelTaskScheduler
    Implements
    IExtension
    IDisposable
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Akka.Dispatch
    Assembly: Akka.dll
    Syntax
    public sealed class ChannelTaskScheduler : IExtension, IDisposable

    Constructors

    | Edit this page View Source

    ChannelTaskScheduler(ExtendedActorSystem)

    Declaration
    public ChannelTaskScheduler(ExtendedActorSystem system)
    Parameters
    Type Name Description
    ExtendedActorSystem system

    Properties

    | Edit this page View Source

    High

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

    Idle

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

    Low

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

    Normal

    Declaration
    public TaskScheduler Normal { get; }
    Property Value
    Type Description
    TaskScheduler

    Methods

    | Edit this page View Source

    Dispose()

    Declaration
    public void Dispose()
    | Edit this page View Source

    Get(ActorSystem)

    Declaration
    public static ChannelTaskScheduler Get(ActorSystem system)
    Parameters
    Type Name Description
    ActorSystem system
    Returns
    Type Description
    ChannelTaskScheduler
    | Edit this page View Source

    GetScheduler(TaskSchedulerPriority)

    Get highest possible TaskSchdeduler of requested priority

    Declaration
    public TaskScheduler GetScheduler(TaskSchedulerPriority priority)
    Parameters
    Type Name Description
    TaskSchedulerPriority priority

    requested priority

    Returns
    Type Description
    TaskScheduler

    TaskSchdeduler with highest possible priority

    Exceptions
    Type Condition
    ArgumentException

    priority not supported

    Implements

    IExtension
    IDisposable

    Extension Methods

    ObjectExtensions.IsDefaultForType<T>(T)
    ObjectExtensions.AsOption<T>(T)
    Extensions.AsInstanceOf<T>(object)
    In this article
    • githubEdit this page
    • View Source
    Back to top
    Contribute
    • Project Chat
    • Discussion Forum
    • Source Code
    Support
    • Akka.NET Support Plans
    • Akka.NET Observability Tools
    • Akka.NET Training & Consulting
    Maintained By
    • Petabridge - The Akka.NET Company
    • Learn Akka.NET