Provides a default implementation for the methods of the ExecutorService interface. More...
#include <src/main/decaf/util/concurrent/AbstractExecutorService.h>

Public Member Functions | |
| AbstractExecutorService () | |
| virtual | ~AbstractExecutorService () |
Protected Member Functions | |
| virtual void | doSubmit (FutureType *future) |
| Perform the actual submit of a FutureType instance, the caller is responsible for creating the properly typed Future<E> object and returning that to its caller. | |
Provides a default implementation for the methods of the ExecutorService interface.
Use this class as a starting point for implementations of custom executor service implementations.
| decaf::util::concurrent::AbstractExecutorService::AbstractExecutorService | ( | ) |
| virtual decaf::util::concurrent::AbstractExecutorService::~AbstractExecutorService | ( | ) | [virtual] |
| virtual void decaf::util::concurrent::AbstractExecutorService::doSubmit | ( | FutureType * | future | ) | [protected, virtual] |
Perform the actual submit of a FutureType instance, the caller is responsible for creating the properly typed Future<E> object and returning that to its caller.
The pointer provided is the property of this Executor and must be deleted by this executor once its completed.
| future | Pointer to a base FutureType instance that is to be submitted to the Executor. |
Implements decaf::util::concurrent::ExecutorService.
1.6.1