#include <gridfuture.hpp>
Public Member Functions | |
| virtual | ~GridClientBoolFuture () |
| virtual bool | get () const =0 |
| virtual bool | get (const boost::posix_time::time_duration &timeout) const =0 |
Future for operations that return boolean flag.
| virtual GridClientBoolFuture::~GridClientBoolFuture | ( | ) | [inline, virtual] |
Destructor.
| virtual bool GridClientBoolFuture::get | ( | ) | const [pure virtual] |
Waits for future to finish and returns the result of operation.
true if the operation succeeded, false otherwise. | GridClientException | In case an operation has thrown exception (it is rethrown). |
Implemented in GridBoolFutureImpl, and GridBoolFailFutureImpl< ExT >.
| virtual bool GridClientBoolFuture::get | ( | const boost::posix_time::time_duration & | timeout | ) | const [pure virtual] |
Waits for future to finish and returns the result of operation.
| timeout | Time to wait for result. |
true if the operation succeeded, false otherwise. | GridClientException | In case an operation has thrown exception (it is rethrown). | |
| GridClientFutureTimeoutException | If timed out before future finishes. |
Implemented in GridBoolFutureImpl, and GridBoolFailFutureImpl< ExT >.
1.7.1