Apache Mesos
|
#include <string>
#include <stout/check.hpp>
#include <stout/option.hpp>
#include <process/future.hpp>
Go to the source code of this file.
Macros | |
#define | CHECK_PENDING(expression) CHECK_STATE(CHECK_PENDING, _check_pending, expression) |
#define | CHECK_READY(expression) CHECK_STATE(CHECK_READY, _check_ready, expression) |
#define | CHECK_DISCARDED(expression) CHECK_STATE(CHECK_DISCARDED, _check_discarded, expression) |
#define | CHECK_FAILED(expression) CHECK_STATE(CHECK_FAILED, _check_failed, expression) |
#define | CHECK_ABANDONED(expression) CHECK_STATE(CHECK_ABANDONED, _check_abandoned, expression) |
Functions | |
template<typename T > | |
Option< Error > | _check_pending (const process::Future< T > &f) |
template<typename T > | |
Option< Error > | _check_ready (const process::Future< T > &f) |
template<typename T > | |
Option< Error > | _check_discarded (const process::Future< T > &f) |
template<typename T > | |
Option< Error > | _check_failed (const process::Future< T > &f) |
template<typename T > | |
Option< Error > | _check_abandoned (const process::Future< T > &f) |
#define CHECK_ABANDONED | ( | expression | ) | CHECK_STATE(CHECK_ABANDONED, _check_abandoned, expression) |
#define CHECK_DISCARDED | ( | expression | ) | CHECK_STATE(CHECK_DISCARDED, _check_discarded, expression) |
#define CHECK_FAILED | ( | expression | ) | CHECK_STATE(CHECK_FAILED, _check_failed, expression) |
#define CHECK_PENDING | ( | expression | ) | CHECK_STATE(CHECK_PENDING, _check_pending, expression) |
#define CHECK_READY | ( | expression | ) | CHECK_STATE(CHECK_READY, _check_ready, expression) |
Option<Error> _check_abandoned | ( | const process::Future< T > & | f | ) |
Option<Error> _check_discarded | ( | const process::Future< T > & | f | ) |
Option<Error> _check_failed | ( | const process::Future< T > & | f | ) |
Option<Error> _check_pending | ( | const process::Future< T > & | f | ) |
Option<Error> _check_ready | ( | const process::Future< T > & | f | ) |