blob: 08949c45101f076fdf0f7106ac3848c0b3fee936 [file] [log] [blame]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.5"/>
<title>Apache Mesos: Todo List</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td style="padding-left: 0.5em;">
<div id="projectname">Apache Mesos
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.5 -->
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main&#160;Page</span></a></li>
<li class="current"><a href="pages.html"><span>Related&#160;Pages</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
<li><a href="examples.html"><span>Examples</span></a></li>
</ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">Todo List </div> </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><dl class="reflist">
<dt><a class="anchor" id="_todo000001"></a>Member <a class="el" href="classmesos_1_1internal_1_1checks_1_1Checker.html#a909eb91977670f262ed1e14fdcac6c17">mesos::internal::checks::Checker::create</a> (const CheckInfo &amp;checkInfo, const lambda::function&lt; void(const CheckStatusInfo &amp;)&gt; &amp;callback, const TaskID &amp;taskId, const <a class="el" href="classOption.html">Option&lt; pid_t &gt;</a> &amp;taskPid, const std::vector&lt; std::string &gt; &amp;namespaces)</dt>
<dd>A better approach would be to return a stream of updates, e.g., <code>process::Stream&lt;CheckStatusInfo&gt;</code> rather than invoking a callback. </dd>
<dt><a class="anchor" id="_todo000004"></a>Member <a class="el" href="classmesos_1_1internal_1_1checks_1_1HealthChecker.html#ade286810a9ea9a58cdfddf5dfb3bb20c">mesos::internal::checks::HealthChecker::create</a> (const HealthCheck &amp;check, const std::string &amp;launcherDir, const lambda::function&lt; void(const TaskHealthStatus &amp;)&gt; &amp;callback, const TaskID &amp;taskId, const ContainerID &amp;taskContainerId, const <a class="el" href="structprocess_1_1http_1_1URL.html">process::http::URL</a> &amp;agentURL)</dt>
<dd>A better approach would be to return a stream of updates, e.g., <code>process::Stream&lt;TaskHealthStatus&gt;</code> rather than invoking a callback. </dd>
<dt><a class="anchor" id="_todo000002"></a>Member <a class="el" href="classmesos_1_1internal_1_1checks_1_1HealthChecker.html#a022047285af3643ea7dfe0cbfe5c0bf2">mesos::internal::checks::HealthChecker::create</a> (const HealthCheck &amp;check, const std::string &amp;launcherDir, const lambda::function&lt; void(const TaskHealthStatus &amp;)&gt; &amp;callback, const TaskID &amp;taskId, const <a class="el" href="classOption.html">Option&lt; pid_t &gt;</a> &amp;taskPid, const std::vector&lt; std::string &gt; &amp;namespaces)</dt>
<dd><p class="startdd">A better approach would be to return a stream of updates, e.g., <code>process::Stream&lt;TaskHealthStatus&gt;</code> rather than invoking a callback.</p>
<p class="enddd">Consider leveraging <code>checks::Checker</code> for checking functionality. This class will then focus on interpreting and acting on the result. </p>
</dd>
</dl>
</div></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.5
</small></address>
</body>
</html>