C# Class Helios.Ops.Executors.AbstractEventLoop

Abstract base class for working with IEventLoop instances inside a IConnection
Inheritance: IEventLoop
Mostrar archivo Open project: helios-io/helios

Public Methods

Method Description
Clone ( ) : IExecutor
Dispose ( ) : void
Dispose ( bool isDisposing ) : void
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
Next ( ) : IExecutor

Returns a new IEventLoop that can be chained after this one

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

Protected Methods

Method Description
AbstractEventLoop ( IFiber scheduler ) : System

Method Details

AbstractEventLoop() protected method

protected AbstractEventLoop ( IFiber scheduler ) : System
scheduler IFiber
return System

Clone() public abstract method

public abstract Clone ( ) : IExecutor
return IExecutor

Dispose() public method

public Dispose ( ) : void
return void

Dispose() public method

public Dispose ( bool isDisposing ) : void
isDisposing bool
return void

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

Next() public abstract method

Returns a new IEventLoop that can be chained after this one
public abstract Next ( ) : IExecutor
return IExecutor

Shutdown() public method

public Shutdown ( ) : void
return void

Shutdown() public method

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