#include <checker.hpp>
| mesos::internal::checks::Checker::~Checker |
( |
| ) |
|
| mesos::internal::checks::Checker::Checker |
( |
const Checker & |
| ) |
|
|
delete |
Attempts to create a Checker object.
In case of success, checking starts immediately after initialization.
The check performed is based off the check type and the given runtime.
- Parameters
-
| check | The protobuf message definition of a check. |
| launcherDir | A directory where Mesos helper binaries are located. Executor must have access to this directory for TCP checks. |
| callback | A callback Checker uses to send check status updates to its owner (usually an executor). |
| taskId | The TaskID of the target task. |
| runtime | The runtime that launched the task. |
- Returns
- A
Checker object or an error if create fails.
- Todo:
- A better approach would be to return a stream of updates, e.g.,
process::Stream<CheckStatusInfo> rather than invoking a callback.
| Checker& mesos::internal::checks::Checker::operator= |
( |
const Checker & |
| ) |
|
|
delete |
| void mesos::internal::checks::Checker::pause |
( |
| ) |
|
| void mesos::internal::checks::Checker::resume |
( |
| ) |
|
The documentation for this class was generated from the following file: