Class ExecutorService
Used by the Dispatcher to execute asynchronous invocations
Inherited Members
Namespace: Akka.Dispatch
Assembly: Akka.dll
Syntax
public abstract class ExecutorService
Constructors
| Improve this Doc View SourceExecutorService(String)
TBD
Declaration
protected ExecutorService(string id)
Parameters
Type | Name | Description |
---|---|---|
String | id | TBD |
Properties
| Improve this Doc View SourceId
The Id of the MessageDispatcher this executor is bound to
Declaration
public string Id { get; }
Property Value
Type | Description |
---|---|
String |
Methods
| Improve this Doc 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()