Namespace DNVGL.One.Compute.Core.Worker
Classes
WorkerBase
Worker base class
WorkerBase<TIn, TOut>
Worker base class
Interfaces
IApplicationEnvironment
Represents the application environment of a WorkerHost. The application environment allows the IWorker to retrieve information about the applications deployed to the environment
ILogSource
Represents an object that requires access to an ILogger
ISupportCancellation
Interface for the worker host to inform worker model of the token that would identify any cancellation requests.
ISupportCleanup
Interface for the worker host to inform worker model to clean up resources after execution is finished.
ISupportProgress
A marker interface for a worker to indicate to the worker host that it will be reporting status/progress updates.
ISupportReduction
Optional interface to be implemented by workers that need to implement reduction.
IWorker
Used to identify the Product Specific Worker Model classes that will be MEF imported by the worker host. Provides a contract that the worker model must implemented in order for the worker host and worker model executor to execute the task work unit.
IWorkerExecutionStatusNotificationService
Execution status notification service for workers.
IWorkerExecutor
Interface for the product specific worker model to make progress/status calls into the worker model executor.