![]() |
Apache Ignite C++
|
Specialization for void type. More...
#include <future.h>
Public Types | |
| typedef void | ValueType |
| Template value type. | |
Public Member Functions | |
| Future (const Future< ValueType > &src) | |
| Copy constructor. More... | |
| Future & | operator= (const Future< ValueType > &other) |
| Assignment operator. More... | |
| void | Wait () const |
| Wait for value to be set. More... | |
| bool | WaitFor (int32_t msTimeout) const |
| Wait for value to be set for specified time. More... | |
| void | GetValue () const |
| Wait for operation complition or error. More... | |
| void | Cancel () |
| Cancel related operation. | |
| bool | IsReady () |
| Check if the future ready. | |
Friends | |
| class | common::Promise< void > |
Specialization for void type.
|
inline |
Copy constructor.
| src | Instance to copy. |
|
inline |
Wait for operation complition or error.
Active thread will be blocked until value or error will be set.
| IgniteError | if error has been set. |
|
inline |
Assignment operator.
| other | Other instance. |
|
inline |
Wait for value to be set.
Active thread will be blocked until value or error will be set.
|
inline |
Wait for value to be set for specified time.
Active thread will be blocked until value or error will be set or timeout will end.
| msTimeout | Timeout in milliseconds. |
1.8.17