C# Класс Disruptor.Dsl.BasicExecutor

TaskScheduler implementation for IExecutor
Наследование: IExecutor
Показать файл Открыть проект

Открытые методы

Метод Описание
BasicExecutor ( TaskScheduler taskScheduler ) : System

Create a new BasicExecutor with a given TaskScheduler that will handle low-level queuing of commands execution.

Execute ( System.Action command ) : Task

Start a new task executiong the given command in the current taskscheduler

ToString ( ) : string

Приватные методы

Метод Описание
DumpThreadInfo ( ) : string
ExecuteCommand ( System.Action command ) : void

Описание методов

BasicExecutor() публичный Метод

Create a new BasicExecutor with a given TaskScheduler that will handle low-level queuing of commands execution.
public BasicExecutor ( TaskScheduler taskScheduler ) : System
taskScheduler System.Threading.Tasks.TaskScheduler
Результат System

Execute() публичный Метод

Start a new task executiong the given command in the current taskscheduler
public Execute ( System.Action command ) : Task
command System.Action
Результат Task

ToString() публичный Метод

public ToString ( ) : string
Результат string