C# Class Helios.Ops.Executors.BasicExecutor

Basic synchronous executor
Inheritance: IExecutor
Exibir arquivo Open project: helios-io/helios Class Usage Examples

Protected Properties

Property Type Description
AcceptingJobsDeadline ScheduledValue

Public Methods

Method Description
BasicExecutor ( ) : System
Clone ( ) : IExecutor
Execute ( System.Action op ) : void
Execute ( IList op ) : void
Execute ( IList ops, Action remainingOps ) : void
Execute ( Task task ) : void
ExecuteAsync ( System.Action op ) : Task
ExecuteAsync ( IList op ) : Task
ExecuteAsync ( IList ops, Action remainingOps ) : Task
GracefulShutdown ( System.TimeSpan gracePeriod ) : Task
InThread ( Thread thread ) : bool
Shutdown ( ) : void
Shutdown ( System.TimeSpan gracePeriod ) : void

Method Details

BasicExecutor() public method

public BasicExecutor ( ) : System
return System

Clone() public method

public Clone ( ) : IExecutor
return IExecutor

Execute() public method

public Execute ( System.Action op ) : void
op System.Action
return void

Execute() public method

public Execute ( IList op ) : void
op IList
return void

Execute() public method

public Execute ( IList ops, Action remainingOps ) : void
ops IList
remainingOps Action
return void

Execute() public method

public Execute ( Task task ) : void
task Task
return void

ExecuteAsync() public method

public ExecuteAsync ( System.Action op ) : Task
op System.Action
return Task

ExecuteAsync() public method

public ExecuteAsync ( IList op ) : Task
op IList
return Task

ExecuteAsync() public method

public ExecuteAsync ( IList ops, Action remainingOps ) : Task
ops IList
remainingOps Action
return Task

GracefulShutdown() public method

public GracefulShutdown ( System.TimeSpan gracePeriod ) : Task
gracePeriod System.TimeSpan
return Task

InThread() public method

public InThread ( Thread thread ) : bool
thread Thread
return bool

Shutdown() public method

public Shutdown ( ) : void
return void

Shutdown() public method

public Shutdown ( System.TimeSpan gracePeriod ) : void
gracePeriod System.TimeSpan
return void

Property Details

AcceptingJobsDeadline protected_oe property

protected ScheduledValue AcceptingJobsDeadline
return ScheduledValue