Class ExecutorService
Used by the Dispatcher to execute asynchronous invocations
Inherited Members
Namespace: Akka.Dispatch
Assembly: Akka.dll
Syntax
public abstract class ExecutorService
Constructors
| Edit this page View SourceExecutorService(string)
TBD
Declaration
protected ExecutorService(string id)
Parameters
Type | Name | Description |
---|---|---|
string | id | TBD |
Properties
| Edit this page View SourceId
The Id of the MessageDispatcher this executor is bound to
Declaration
public string Id { get; }
Property Value
Type | Description |
---|---|
string |
Methods
| Edit this page View SourceExecute(IRunnable)
Queues or executes (depending on the implementation) the IRunnable
Declaration
public abstract void Execute(IRunnable run)
Parameters
Type | Name | Description |
---|---|---|
IRunnable | run | The asynchronous task to be executed |
Exceptions
Type | Condition |
---|---|
RejectedExecutionException | Thrown when the service can't accept additional tasks. |
Shutdown()
Terminates this ExecutorService instance.
Declaration
public abstract void Shutdown()