decaf::util::concurrent::AbstractExecutorService Class Reference

Provides a default implementation for the methods of the ExecutorService interface. More...

#include <src/main/decaf/util/concurrent/AbstractExecutorService.h>

Inheritance diagram for decaf::util::concurrent::AbstractExecutorService:
Inheritance graph
[legend]

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.

Detailed Description

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.

Since:
1.0

Constructor & Destructor Documentation

decaf::util::concurrent::AbstractExecutorService::AbstractExecutorService (  ) 
virtual decaf::util::concurrent::AbstractExecutorService::~AbstractExecutorService (  )  [virtual]

Member Function Documentation

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.

Parameters:
future Pointer to a base FutureType instance that is to be submitted to the Executor.

Implements decaf::util::concurrent::ExecutorService.


The documentation for this class was generated from the following file:

Generated on 1 Dec 2014 for activemq-cpp-3.8.2 by  doxygen 1.6.1