A Future represents the result of an asynchronous computation. Methods are provided to check if the computation is complete, to wait for its completion, and to retrieve the result of the computation. The result can only be retrieved using method get when the computation has completed, blocking if necessary until it is ready.
More...
#include <ThreadPool.h>
Protected Attributes |
boost::any | value |
Detailed Description
A Future represents the result of an asynchronous computation. Methods are provided to check if the computation is complete, to wait for its completion, and to retrieve the result of the computation. The result can only be retrieved using method get when the computation has completed, blocking if necessary until it is ready.
Constructor & Destructor Documentation
virtual Lucene::Future::~Future |
( |
| ) |
|
|
virtual |
Member Function Documentation
template<typename TYPE >
TYPE Lucene::Future::get |
( |
| ) |
|
|
inline |
void Lucene::Future::set |
( |
const boost::any & |
value | ) |
|
|
inline |
Field Documentation
boost::any Lucene::Future::value |
|
protected |
The documentation for this class was generated from the following file: