Interface IWorkUnitExecutor
public interface IWorkUnitExecutor
An object which can execute a work unit within a specific context. The details of what a context is depends on the
implementation.
- Since:
- 9.5.2
- Author:
- Petru Galanton
-
Method Summary
Modifier and TypeMethodDescription<T> Tsubmit(ITypedWorkUnit<T> work) Submits for work a unit of work which returns a result.voidSubmits for execution a unit of work.
-
Method Details
-
submit
Submits for execution a unit of work.- Parameters:
work- the unit of work to execute
-
submit
Submits for work a unit of work which returns a result.- Type Parameters:
T- the type of the work unit- Parameters:
work- the work to execute- Returns:
- the result returned by the unit of work
-