mesos-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From git-site-r...@apache.org
Subject [01/11] mesos-site git commit: Updated the website built from mesos SHA: 62d1173.
Date Tue, 21 Nov 2017 01:15:15 GMT
Repository: mesos-site
Updated Branches:
  refs/heads/asf-site 06ed9353a -> 4e0c31b4c


http://git-wip-us.apache.org/repos/asf/mesos-site/blob/4e0c31b4/content/api/latest/c++/task__status__update__manager_8hpp_source.html
----------------------------------------------------------------------
diff --git a/content/api/latest/c++/task__status__update__manager_8hpp_source.html b/content/api/latest/c++/task__status__update__manager_8hpp_source.html
new file mode 100644
index 0000000..8730c6f
--- /dev/null
+++ b/content/api/latest/c++/task__status__update__manager_8hpp_source.html
@@ -0,0 +1,315 @@
+<!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: src/slave/task_status_update_manager.hpp Source File</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><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 class="current"><a href="files.html"><span>Files</span></a></li>
+      <li><a href="examples.html"><span>Examples</span></a></li>
+    </ul>
+  </div>
+  <div id="navrow2" class="tabs2">
+    <ul class="tablist">
+      <li><a href="files.html"><span>File&#160;List</span></a></li>
+      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
+    </ul>
+  </div>
+<div id="nav-path" class="navpath">
+  <ul>
+<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_80f0d4a0945c74dfa611dba2ec326a39.html">slave</a></li>  </ul>
+</div>
+</div><!-- top -->
+<div class="header">
+  <div class="headertitle">
+<div class="title">task_status_update_manager.hpp</div>  </div>
+</div><!--header-->
+<div class="contents">
+<a href="task__status__update__manager_8hpp.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">// Licensed to the Apache Software Foundation (ASF) under one</span></div>
+<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment">// or more contributor license agreements.  See the NOTICE file</span></div>
+<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment">// distributed with this work for additional information</span></div>
+<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment">// regarding copyright ownership.  The ASF licenses this file</span></div>
+<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment">// to you under the Apache License, Version 2.0 (the</span></div>
+<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment">// &quot;License&quot;); you may not use this file except in compliance</span></div>
+<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment">// with the License.  You may obtain a copy of the License at</span></div>
+<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment">//</span></div>
+<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="comment">//     http://www.apache.org/licenses/LICENSE-2.0</span></div>
+<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="comment">//</span></div>
+<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="comment">// Unless required by applicable law or agreed to in writing, software</span></div>
+<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="comment">// distributed under the License is distributed on an &quot;AS IS&quot; BASIS,</span></div>
+<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="comment">// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</span></div>
+<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="comment">// See the License for the specific language governing permissions and</span></div>
+<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="comment">// limitations under the License.</span></div>
+<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;</div>
+<div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="preprocessor">#ifndef __TASK_STATUS_UPDATE_MANAGER_HPP__</span></div>
+<div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="preprocessor"></span><span class="preprocessor">#define __TASK_STATUS_UPDATE_MANAGER_HPP__</span></div>
+<div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="preprocessor"></span></div>
+<div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="preprocessor">#include &lt;queue&gt;</span></div>
+<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="preprocessor">#include &lt;string&gt;</span></div>
+<div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;</div>
+<div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="include_2mesos_2mesos_8hpp.html">mesos/mesos.hpp</a>&gt;</span></div>
+<div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;</div>
+<div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="future_8hpp.html">process/future.hpp</a>&gt;</span></div>
+<div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="3rdparty_2libprocess_2include_2process_2pid_8hpp.html">process/pid.hpp</a>&gt;</span></div>
+<div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="timeout_8hpp.html">process/timeout.hpp</a>&gt;</span></div>
+<div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;</div>
+<div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="hashset_8hpp.html">stout/hashset.hpp</a>&gt;</span></div>
+<div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="lambda_8hpp.html">stout/lambda.hpp</a>&gt;</span></div>
+<div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="option_8hpp.html">stout/option.hpp</a>&gt;</span></div>
+<div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="try_8hpp.html">stout/try.hpp</a>&gt;</span></div>
+<div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="uuid_8hpp.html">stout/uuid.hpp</a>&gt;</span></div>
+<div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;</div>
+<div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="messages_8hpp.html">messages/messages.hpp</a>&quot;</span></div>
+<div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;</div>
+<div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="src_2slave_2flags_8hpp.html">slave/flags.hpp</a>&quot;</span></div>
+<div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;</div>
+<div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;<span class="keyword">namespace </span>mesos {</div>
+<div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;<span class="keyword">namespace </span>internal {</div>
+<div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;<span class="keyword">namespace </span>slave {</div>
+<div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;</div>
+<div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;<span class="comment">// Forward declarations.</span></div>
+<div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;</div>
+<div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;<span class="keyword">namespace </span>state {</div>
+<div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;<span class="keyword">struct </span>SlaveState;</div>
+<div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;}</div>
+<div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;</div>
+<div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;<span class="keyword">class </span>TaskStatusUpdateManagerProcess;</div>
+<div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;<span class="keyword">struct </span>TaskStatusUpdateStream;</div>
+<div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;</div>
+<div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;</div>
+<div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;<span class="comment">// TaskStatusUpdateManager is responsible for</span></div>
+<div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;<span class="comment">// 1) Reliably sending status updates to the master.</span></div>
+<div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;<span class="comment">// 2) Checkpointing the update to disk (optional).</span></div>
+<div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;<span class="comment">// 3) Sending ACKs to the executor (optional).</span></div>
+<div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;<span class="comment">// 4) Receiving ACKs from the scheduler.</span></div>
+<div class="line"><a name="l00058"></a><span class="lineno"><a class="line" href="classmesos_1_1internal_1_1slave_1_1TaskStatusUpdateManager.html">   58</a></span>&#160;<span class="keyword">class </span><a class="code" href="classmesos_1_1internal_1_1slave_1_1TaskStatusUpdateManager.html">TaskStatusUpdateManager</a></div>
+<div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;{</div>
+<div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;<span class="keyword">public</span>:</div>
+<div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;  <a class="code" href="classmesos_1_1internal_1_1slave_1_1TaskStatusUpdateManager.html#af68587287ae6c02ce62e3075dafcbfa5">TaskStatusUpdateManager</a>(<span class="keyword">const</span> <a class="code" href="classmesos_1_1internal_1_1slave_1_1Flags.html">Flags</a>&amp; <a class="code" href="decoder_8hpp.html#abb0829cce9dd20a40ae0d86890ae85c6">flags</a>);</div>
+<div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;  <span class="keyword">virtual</span> <a class="code" href="classmesos_1_1internal_1_1slave_1_1TaskStatusUpdateManager.html#a8129417aaad93a068ad3c172ae3e1861">~TaskStatusUpdateManager</a>();</div>
+<div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;</div>
+<div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;  <span class="comment">// Expects a callback &#39;forward&#39; which gets called whenever there is</span></div>
+<div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;  <span class="comment">// a new status update that needs to be forwarded to the master.</span></div>
+<div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classmesos_1_1internal_1_1slave_1_1TaskStatusUpdateManager.html#aeaa2a514010604869d809085fc59e8bf">initialize</a>(<span class="keyword">const</span> lambda::function&lt;<span class="keywordtype">void</span>(StatusUpdate)&gt;&amp; forward);</div>
+<div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;</div>
+<div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;  <span class="comment">// TODO(vinod): Come up with better names/signatures for the</span></div>
+<div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;  <span class="comment">// checkpointing and non-checkpointing &#39;update()&#39; functions.</span></div>
+<div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;  <span class="comment">// Currently, it is not obvious that one version of &#39;update()&#39;</span></div>
+<div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;  <span class="comment">// does checkpointing while the other doesn&#39;t.</span></div>
+<div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;</div>
+<div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;  <span class="comment">// Checkpoints the status update and reliably sends the</span></div>
+<div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;  <span class="comment">// update to the master (and hence the scheduler).</span></div>
+<div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;  <span class="comment">// @return Whether the update is handled successfully</span></div>
+<div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;  <span class="comment">// (e.g. checkpointed).</span></div>
+<div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;  <a class="code" href="classprocess_1_1Future.html">process::Future&lt;Nothing&gt;</a> <a class="code" href="classmesos_1_1internal_1_1slave_1_1TaskStatusUpdateManager.html#a40ca1034b24127afa1a3ddc12a8a5506">update</a>(</div>
+<div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;      <span class="keyword">const</span> StatusUpdate&amp; <a class="code" href="classmesos_1_1internal_1_1slave_1_1TaskStatusUpdateManager.html#a40ca1034b24127afa1a3ddc12a8a5506">update</a>,</div>
+<div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;      <span class="keyword">const</span> SlaveID&amp; slaveId,</div>
+<div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;      <span class="keyword">const</span> ExecutorID&amp; executorId,</div>
+<div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;      <span class="keyword">const</span> ContainerID&amp; containerId);</div>
+<div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;</div>
+<div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;  <span class="comment">// Retries the update to the master (as long as the slave is</span></div>
+<div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;  <span class="comment">// alive), but does not checkpoint the update.</span></div>
+<div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;  <span class="comment">// @return Whether the update is handled successfully.</span></div>
+<div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;  <a class="code" href="classprocess_1_1Future.html">process::Future&lt;Nothing&gt;</a> <a class="code" href="classmesos_1_1internal_1_1slave_1_1TaskStatusUpdateManager.html#a40ca1034b24127afa1a3ddc12a8a5506">update</a>(</div>
+<div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;      <span class="keyword">const</span> StatusUpdate&amp; update,</div>
+<div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;      <span class="keyword">const</span> SlaveID&amp; slaveId);</div>
+<div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;</div>
+<div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;  <span class="comment">// Checkpoints the status update to disk if necessary.</span></div>
+<div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;  <span class="comment">// Also, sends the next pending status update, if any.</span></div>
+<div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;  <span class="comment">// @return True if the ACK is handled successfully (e.g., checkpointed)</span></div>
+<div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;  <span class="comment">//              and the task&#39;s status update stream is not terminated.</span></div>
+<div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;  <span class="comment">//         False same as above except the status update stream is terminated.</span></div>
+<div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;  <span class="comment">//         Failed if there are any errors (e.g., duplicate, checkpointing).</span></div>
+<div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;  <a class="code" href="classprocess_1_1Future.html">process::Future&lt;bool&gt;</a> <a class="code" href="classmesos_1_1internal_1_1slave_1_1TaskStatusUpdateManager.html#a69a053c21c06b4cd411cf14217aadc23">acknowledgement</a>(</div>
+<div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;      <span class="keyword">const</span> TaskID&amp; taskId,</div>
+<div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;      <span class="keyword">const</span> FrameworkID&amp; frameworkId,</div>
+<div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;      <span class="keyword">const</span> <a class="code" href="structid_1_1UUID.html">UUID</a>&amp; uuid);</div>
+<div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;</div>
+<div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;  <span class="comment">// Recover status updates.</span></div>
+<div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;  <a class="code" href="classprocess_1_1Future.html">process::Future&lt;Nothing&gt;</a> <a class="code" href="classmesos_1_1internal_1_1slave_1_1TaskStatusUpdateManager.html#a7c7ce88b8ff5596dc40ff9440071372c">recover</a>(</div>
+<div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;      <span class="keyword">const</span> std::string&amp; rootDir,</div>
+<div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160;      <span class="keyword">const</span> <a class="code" href="classOption.html">Option&lt;state::SlaveState&gt;</a>&amp; state);</div>
+<div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160;</div>
+<div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160;</div>
+<div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;  <span class="comment">// Pause sending updates.</span></div>
+<div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;  <span class="comment">// This is useful when the slave is disconnected because a</span></div>
+<div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;  <span class="comment">// disconnected slave will drop the updates.</span></div>
+<div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classmesos_1_1internal_1_1slave_1_1TaskStatusUpdateManager.html#aac77ad30d10b8ac34c271f6fcfdbdd35">pause</a>();</div>
+<div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;</div>
+<div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;  <span class="comment">// Unpause and resend all the pending updates right away.</span></div>
+<div class="line"><a name="l00113"></a><span class="lineno">  113</span>&#160;  <span class="comment">// This is useful when the updates were pending because there was</span></div>
+<div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160;  <span class="comment">// no master elected (e.g., during recovery) or framework failed over.</span></div>
+<div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classmesos_1_1internal_1_1slave_1_1TaskStatusUpdateManager.html#a7ba4d013cf1b5c13531d0adea391330d">resume</a>();</div>
+<div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160;</div>
+<div class="line"><a name="l00117"></a><span class="lineno">  117</span>&#160;  <span class="comment">// Closes all the status update streams corresponding to this framework.</span></div>
+<div class="line"><a name="l00118"></a><span class="lineno">  118</span>&#160;  <span class="comment">// NOTE: This stops retrying any pending status updates for this framework.</span></div>
+<div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classmesos_1_1internal_1_1slave_1_1TaskStatusUpdateManager.html#ab91e482b15bffc27d9b41e5012b457b7">cleanup</a>(<span class="keyword">const</span> FrameworkID&amp; frameworkId);</div>
+<div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160;</div>
+<div class="line"><a name="l00121"></a><span class="lineno">  121</span>&#160;<span class="keyword">private</span>:</div>
+<div class="line"><a name="l00122"></a><span class="lineno">  122</span>&#160;  TaskStatusUpdateManagerProcess* process;</div>
+<div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160;};</div>
+<div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;</div>
+<div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;</div>
+<div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160;<span class="comment">// TaskStatusUpdateStream handles the status updates and acknowledgements</span></div>
+<div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160;<span class="comment">// of a task, checkpointing them if necessary. It also holds the information</span></div>
+<div class="line"><a name="l00128"></a><span class="lineno">  128</span>&#160;<span class="comment">// about received, acknowledged and pending status updates.</span></div>
+<div class="line"><a name="l00129"></a><span class="lineno">  129</span>&#160;<span class="comment">// NOTE: A task is expected to have a globally unique ID across the lifetime</span></div>
+<div class="line"><a name="l00130"></a><span class="lineno">  130</span>&#160;<span class="comment">// of a framework. In other words the tuple (taskId, frameworkId) should be</span></div>
+<div class="line"><a name="l00131"></a><span class="lineno">  131</span>&#160;<span class="comment">// always unique.</span></div>
+<div class="line"><a name="l00132"></a><span class="lineno"><a class="line" href="structmesos_1_1internal_1_1slave_1_1TaskStatusUpdateStream.html">  132</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structmesos_1_1internal_1_1slave_1_1TaskStatusUpdateStream.html">TaskStatusUpdateStream</a></div>
+<div class="line"><a name="l00133"></a><span class="lineno">  133</span>&#160;{</div>
+<div class="line"><a name="l00134"></a><span class="lineno">  134</span>&#160;  <a class="code" href="structmesos_1_1internal_1_1slave_1_1TaskStatusUpdateStream.html#ad6dbba51c1d99281f038dc9dffd37ecd">TaskStatusUpdateStream</a>(<span class="keyword">const</span> TaskID&amp; _taskId,</div>
+<div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160;                     <span class="keyword">const</span> FrameworkID&amp; _frameworkId,</div>
+<div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160;                     <span class="keyword">const</span> SlaveID&amp; _slaveId,</div>
+<div class="line"><a name="l00137"></a><span class="lineno">  137</span>&#160;                     <span class="keyword">const</span> <a class="code" href="classmesos_1_1internal_1_1slave_1_1Flags.html">Flags</a>&amp; _flags,</div>
+<div class="line"><a name="l00138"></a><span class="lineno">  138</span>&#160;                     <span class="keywordtype">bool</span> _checkpoint,</div>
+<div class="line"><a name="l00139"></a><span class="lineno">  139</span>&#160;                     <span class="keyword">const</span> <a class="code" href="classOption.html">Option&lt;ExecutorID&gt;</a>&amp; executorId,</div>
+<div class="line"><a name="l00140"></a><span class="lineno">  140</span>&#160;                     <span class="keyword">const</span> <a class="code" href="classOption.html">Option&lt;ContainerID&gt;</a>&amp; containerId);</div>
+<div class="line"><a name="l00141"></a><span class="lineno">  141</span>&#160;</div>
+<div class="line"><a name="l00142"></a><span class="lineno">  142</span>&#160;  <a class="code" href="structmesos_1_1internal_1_1slave_1_1TaskStatusUpdateStream.html#a539e53ed4519c8df0e31c6219613180b">~TaskStatusUpdateStream</a>();</div>
+<div class="line"><a name="l00143"></a><span class="lineno">  143</span>&#160;</div>
+<div class="line"><a name="l00144"></a><span class="lineno">  144</span>&#160;  <span class="comment">// This function handles the update, checkpointing if necessary.</span></div>
+<div class="line"><a name="l00145"></a><span class="lineno">  145</span>&#160;  <span class="comment">// @return   True if the update is successfully handled.</span></div>
+<div class="line"><a name="l00146"></a><span class="lineno">  146</span>&#160;  <span class="comment">//           False if the update is a duplicate.</span></div>
+<div class="line"><a name="l00147"></a><span class="lineno">  147</span>&#160;  <span class="comment">//           Error Any errors (e.g., checkpointing).</span></div>
+<div class="line"><a name="l00148"></a><span class="lineno">  148</span>&#160;  <a class="code" href="classTry.html">Try&lt;bool&gt;</a> <a class="code" href="structmesos_1_1internal_1_1slave_1_1TaskStatusUpdateStream.html#a86339bfb75c72e5dc73384f45325683b">update</a>(<span class="keyword">const</span> StatusUpdate&amp; <a class="code" href="structmesos_1_1internal_1_1slave_1_1TaskStatusUpdateStream.html#a86339bfb75c72e5dc73384f45325683b">update</a>);</div>
+<div class="line"><a name="l00149"></a><span class="lineno">  149</span>&#160;</div>
+<div class="line"><a name="l00150"></a><span class="lineno">  150</span>&#160;  <span class="comment">// This function handles the ACK, checkpointing if necessary.</span></div>
+<div class="line"><a name="l00151"></a><span class="lineno">  151</span>&#160;  <span class="comment">// @return   True if the acknowledgement is successfully handled.</span></div>
+<div class="line"><a name="l00152"></a><span class="lineno">  152</span>&#160;  <span class="comment">//           False if the acknowledgement is a duplicate.</span></div>
+<div class="line"><a name="l00153"></a><span class="lineno">  153</span>&#160;  <span class="comment">//           Error Any errors (e.g., checkpointing).</span></div>
+<div class="line"><a name="l00154"></a><span class="lineno">  154</span>&#160;  <a class="code" href="classTry.html">Try&lt;bool&gt;</a> <a class="code" href="structmesos_1_1internal_1_1slave_1_1TaskStatusUpdateStream.html#aa3da515c0ae166a0e0ab72bc13a2c392">acknowledgement</a>(</div>
+<div class="line"><a name="l00155"></a><span class="lineno">  155</span>&#160;      <span class="keyword">const</span> TaskID&amp; taskId,</div>
+<div class="line"><a name="l00156"></a><span class="lineno">  156</span>&#160;      <span class="keyword">const</span> FrameworkID&amp; frameworkId,</div>
+<div class="line"><a name="l00157"></a><span class="lineno">  157</span>&#160;      <span class="keyword">const</span> <a class="code" href="structid_1_1UUID.html">UUID</a>&amp; uuid,</div>
+<div class="line"><a name="l00158"></a><span class="lineno">  158</span>&#160;      <span class="keyword">const</span> StatusUpdate&amp; update);</div>
+<div class="line"><a name="l00159"></a><span class="lineno">  159</span>&#160;</div>
+<div class="line"><a name="l00160"></a><span class="lineno">  160</span>&#160;  <span class="comment">// Returns the next update (or none, if empty) in the queue.</span></div>
+<div class="line"><a name="l00161"></a><span class="lineno">  161</span>&#160;  <a class="code" href="classResult.html">Result&lt;StatusUpdate&gt;</a> <a class="code" href="structmesos_1_1internal_1_1slave_1_1TaskStatusUpdateStream.html#a121afc3c83e0ff8fb1d69bcf69706919">next</a>();</div>
+<div class="line"><a name="l00162"></a><span class="lineno">  162</span>&#160;</div>
+<div class="line"><a name="l00163"></a><span class="lineno">  163</span>&#160;  <span class="comment">// Replays the stream by sequentially handling an update and its</span></div>
+<div class="line"><a name="l00164"></a><span class="lineno">  164</span>&#160;  <span class="comment">// corresponding ACK, if present.</span></div>
+<div class="line"><a name="l00165"></a><span class="lineno">  165</span>&#160;  <a class="code" href="classTry.html">Try&lt;Nothing&gt;</a> <a class="code" href="structmesos_1_1internal_1_1slave_1_1TaskStatusUpdateStream.html#acd5495c3f1e4d98cc779ab0b13c4a4b8">replay</a>(</div>
+<div class="line"><a name="l00166"></a><span class="lineno">  166</span>&#160;      <span class="keyword">const</span> std::vector&lt;StatusUpdate&gt;&amp; updates,</div>
+<div class="line"><a name="l00167"></a><span class="lineno">  167</span>&#160;      <span class="keyword">const</span> <a class="code" href="classhashset.html">hashset&lt;UUID&gt;</a>&amp; acks);</div>
+<div class="line"><a name="l00168"></a><span class="lineno">  168</span>&#160;</div>
+<div class="line"><a name="l00169"></a><span class="lineno">  169</span>&#160;  <span class="comment">// TODO(vinod): Explore semantics to make these private.</span></div>
+<div class="line"><a name="l00170"></a><span class="lineno"><a class="line" href="structmesos_1_1internal_1_1slave_1_1TaskStatusUpdateStream.html#a1c4918fb15c2fa9d7543fa361d7c9d90">  170</a></span>&#160;  <span class="keyword">const</span> <span class="keywordtype">bool</span> <a class="code" href="structmesos_1_1internal_1_1slave_1_1TaskStatusUpdateStream.html#a1c4918fb15c2fa9d7543fa361d7c9d90">checkpoint</a>;</div>
+<div class="line"><a name="l00171"></a><span class="lineno"><a class="line" href="structmesos_1_1internal_1_1slave_1_1TaskStatusUpdateStream.html#ac9b26a210efa1e6d174f74deebc2c2da">  171</a></span>&#160;  <span class="keywordtype">bool</span> <a class="code" href="structmesos_1_1internal_1_1slave_1_1TaskStatusUpdateStream.html#ac9b26a210efa1e6d174f74deebc2c2da">terminated</a>;</div>
+<div class="line"><a name="l00172"></a><span class="lineno"><a class="line" href="structmesos_1_1internal_1_1slave_1_1TaskStatusUpdateStream.html#afed2587d35bff8423602ff07defed554">  172</a></span>&#160;  <a class="code" href="classOption.html">Option&lt;process::Timeout&gt;</a> <a class="code" href="structmesos_1_1internal_1_1slave_1_1TaskStatusUpdateStream.html#afed2587d35bff8423602ff07defed554">timeout</a>; <span class="comment">// Timeout for resending status update.</span></div>
+<div class="line"><a name="l00173"></a><span class="lineno"><a class="line" href="structmesos_1_1internal_1_1slave_1_1TaskStatusUpdateStream.html#a3ea3635479f2248ec2e0ec6100142f76">  173</a></span>&#160;  std::queue&lt;StatusUpdate&gt; <a class="code" href="structmesos_1_1internal_1_1slave_1_1TaskStatusUpdateStream.html#a3ea3635479f2248ec2e0ec6100142f76">pending</a>;</div>
+<div class="line"><a name="l00174"></a><span class="lineno">  174</span>&#160;</div>
+<div class="line"><a name="l00175"></a><span class="lineno">  175</span>&#160;<span class="keyword">private</span>:</div>
+<div class="line"><a name="l00176"></a><span class="lineno">  176</span>&#160;  <span class="comment">// Handles the status update and writes it to disk, if necessary.</span></div>
+<div class="line"><a name="l00177"></a><span class="lineno">  177</span>&#160;  <span class="comment">// TODO(vinod): The write has to be asynchronous to avoid status updates that</span></div>
+<div class="line"><a name="l00178"></a><span class="lineno">  178</span>&#160;  <span class="comment">// are being checkpointed, blocking the processing of other updates.</span></div>
+<div class="line"><a name="l00179"></a><span class="lineno">  179</span>&#160;  <span class="comment">// One solution is to wrap the protobuf::write inside async, but its probably</span></div>
+<div class="line"><a name="l00180"></a><span class="lineno">  180</span>&#160;  <span class="comment">// too much of an overhead to spin up a new libprocess per status update?</span></div>
+<div class="line"><a name="l00181"></a><span class="lineno">  181</span>&#160;  <span class="comment">// A better solution might be to be have async write capability for file io.</span></div>
+<div class="line"><a name="l00182"></a><span class="lineno">  182</span>&#160;  <a class="code" href="classTry.html">Try&lt;Nothing&gt;</a> handle(</div>
+<div class="line"><a name="l00183"></a><span class="lineno">  183</span>&#160;      <span class="keyword">const</span> StatusUpdate&amp; update,</div>
+<div class="line"><a name="l00184"></a><span class="lineno">  184</span>&#160;      <span class="keyword">const</span> <a class="code" href="namespacemesos_1_1internal_1_1capabilities.html#aaa5ec6d56ccbeba718b9e8fc6ec2f7c9">StatusUpdateRecord::Type</a>&amp; <a class="code" href="namespacemesos_1_1internal_1_1fs.html#a2343e2642db514496ba8380776487fba">type</a>);</div>
+<div class="line"><a name="l00185"></a><span class="lineno">  185</span>&#160;</div>
+<div class="line"><a name="l00186"></a><span class="lineno">  186</span>&#160;  <span class="keywordtype">void</span> _handle(</div>
+<div class="line"><a name="l00187"></a><span class="lineno">  187</span>&#160;      <span class="keyword">const</span> StatusUpdate&amp; update,</div>
+<div class="line"><a name="l00188"></a><span class="lineno">  188</span>&#160;      <span class="keyword">const</span> <a class="code" href="namespacemesos_1_1internal_1_1capabilities.html#aaa5ec6d56ccbeba718b9e8fc6ec2f7c9">StatusUpdateRecord::Type</a>&amp; <a class="code" href="namespacemesos_1_1internal_1_1fs.html#a2343e2642db514496ba8380776487fba">type</a>);</div>
+<div class="line"><a name="l00189"></a><span class="lineno">  189</span>&#160;</div>
+<div class="line"><a name="l00190"></a><span class="lineno">  190</span>&#160;  <span class="keyword">const</span> TaskID taskId;</div>
+<div class="line"><a name="l00191"></a><span class="lineno">  191</span>&#160;  <span class="keyword">const</span> FrameworkID frameworkId;</div>
+<div class="line"><a name="l00192"></a><span class="lineno">  192</span>&#160;  <span class="keyword">const</span> SlaveID slaveId;</div>
+<div class="line"><a name="l00193"></a><span class="lineno">  193</span>&#160;</div>
+<div class="line"><a name="l00194"></a><span class="lineno">  194</span>&#160;  <span class="keyword">const</span> <a class="code" href="classmesos_1_1internal_1_1slave_1_1Flags.html">Flags</a> flags;</div>
+<div class="line"><a name="l00195"></a><span class="lineno">  195</span>&#160;</div>
+<div class="line"><a name="l00196"></a><span class="lineno">  196</span>&#160;  <a class="code" href="classhashset.html">hashset&lt;UUID&gt;</a> received;</div>
+<div class="line"><a name="l00197"></a><span class="lineno">  197</span>&#160;  <a class="code" href="classhashset.html">hashset&lt;UUID&gt;</a> acknowledged;</div>
+<div class="line"><a name="l00198"></a><span class="lineno">  198</span>&#160;</div>
+<div class="line"><a name="l00199"></a><span class="lineno">  199</span>&#160;  <a class="code" href="classOption.html">Option&lt;std::string&gt;</a> path; <span class="comment">// File path of the update stream.</span></div>
+<div class="line"><a name="l00200"></a><span class="lineno">  200</span>&#160;  <a class="code" href="classOption.html">Option&lt;int_fd&gt;</a> fd; <span class="comment">// File descriptor to the update stream.</span></div>
+<div class="line"><a name="l00201"></a><span class="lineno">  201</span>&#160;</div>
+<div class="line"><a name="l00202"></a><span class="lineno">  202</span>&#160;  <a class="code" href="classOption.html">Option&lt;std::string&gt;</a> error; <span class="comment">// Potential non-retryable error.</span></div>
+<div class="line"><a name="l00203"></a><span class="lineno">  203</span>&#160;};</div>
+<div class="line"><a name="l00204"></a><span class="lineno">  204</span>&#160;</div>
+<div class="line"><a name="l00205"></a><span class="lineno">  205</span>&#160;} <span class="comment">// namespace slave {</span></div>
+<div class="line"><a name="l00206"></a><span class="lineno">  206</span>&#160;} <span class="comment">// namespace internal {</span></div>
+<div class="line"><a name="l00207"></a><span class="lineno">  207</span>&#160;} <span class="comment">// namespace mesos {</span></div>
+<div class="line"><a name="l00208"></a><span class="lineno">  208</span>&#160;</div>
+<div class="line"><a name="l00209"></a><span class="lineno">  209</span>&#160;</div>
+<div class="line"><a name="l00210"></a><span class="lineno">  210</span>&#160;<span class="preprocessor">#endif // __TASK_STATUS_UPDATE_MANAGER_HPP__</span></div>
+<div class="ttc" id="classOption_html"><div class="ttname"><a href="classOption.html">Option</a></div><div class="ttdef"><b>Definition:</b> option.hpp:27</div></div>
+<div class="ttc" id="classTry_html"><div class="ttname"><a href="classTry.html">Try</a></div><div class="ttdef"><b>Definition:</b> try.hpp:34</div></div>
+<div class="ttc" id="structmesos_1_1internal_1_1slave_1_1TaskStatusUpdateStream_html_a1c4918fb15c2fa9d7543fa361d7c9d90"><div class="ttname"><a href="structmesos_1_1internal_1_1slave_1_1TaskStatusUpdateStream.html#a1c4918fb15c2fa9d7543fa361d7c9d90">mesos::internal::slave::TaskStatusUpdateStream::checkpoint</a></div><div class="ttdeci">const bool checkpoint</div><div class="ttdef"><b>Definition:</b> task_status_update_manager.hpp:170</div></div>
+<div class="ttc" id="timeout_8hpp_html"><div class="ttname"><a href="timeout_8hpp.html">timeout.hpp</a></div></div>
+<div class="ttc" id="classhashset_html"><div class="ttname"><a href="classhashset.html">hashset&lt; UUID &gt;</a></div></div>
+<div class="ttc" id="include_2mesos_2mesos_8hpp_html"><div class="ttname"><a href="include_2mesos_2mesos_8hpp.html">mesos.hpp</a></div></div>
+<div class="ttc" id="structmesos_1_1internal_1_1slave_1_1TaskStatusUpdateStream_html_a121afc3c83e0ff8fb1d69bcf69706919"><div class="ttname"><a href="structmesos_1_1internal_1_1slave_1_1TaskStatusUpdateStream.html#a121afc3c83e0ff8fb1d69bcf69706919">mesos::internal::slave::TaskStatusUpdateStream::next</a></div><div class="ttdeci">Result&lt; StatusUpdate &gt; next()</div></div>
+<div class="ttc" id="classmesos_1_1internal_1_1slave_1_1TaskStatusUpdateManager_html_a40ca1034b24127afa1a3ddc12a8a5506"><div class="ttname"><a href="classmesos_1_1internal_1_1slave_1_1TaskStatusUpdateManager.html#a40ca1034b24127afa1a3ddc12a8a5506">mesos::internal::slave::TaskStatusUpdateManager::update</a></div><div class="ttdeci">process::Future&lt; Nothing &gt; update(const StatusUpdate &amp;update, const SlaveID &amp;slaveId, const ExecutorID &amp;executorId, const ContainerID &amp;containerId)</div></div>
+<div class="ttc" id="structmesos_1_1internal_1_1slave_1_1TaskStatusUpdateStream_html_aa3da515c0ae166a0e0ab72bc13a2c392"><div class="ttname"><a href="structmesos_1_1internal_1_1slave_1_1TaskStatusUpdateStream.html#aa3da515c0ae166a0e0ab72bc13a2c392">mesos::internal::slave::TaskStatusUpdateStream::acknowledgement</a></div><div class="ttdeci">Try&lt; bool &gt; acknowledgement(const TaskID &amp;taskId, const FrameworkID &amp;frameworkId, const UUID &amp;uuid, const StatusUpdate &amp;update)</div></div>
+<div class="ttc" id="classmesos_1_1internal_1_1slave_1_1Flags_html"><div class="ttname"><a href="classmesos_1_1internal_1_1slave_1_1Flags.html">mesos::internal::slave::Flags</a></div><div class="ttdef"><b>Definition:</b> flags.hpp:39</div></div>
+<div class="ttc" id="classResult_html"><div class="ttname"><a href="classResult.html">Result</a></div><div class="ttdef"><b>Definition:</b> result.hpp:40</div></div>
+<div class="ttc" id="classmesos_1_1internal_1_1slave_1_1TaskStatusUpdateManager_html_a7ba4d013cf1b5c13531d0adea391330d"><div class="ttname"><a href="classmesos_1_1internal_1_1slave_1_1TaskStatusUpdateManager.html#a7ba4d013cf1b5c13531d0adea391330d">mesos::internal::slave::TaskStatusUpdateManager::resume</a></div><div class="ttdeci">void resume()</div></div>
+<div class="ttc" id="classmesos_1_1internal_1_1slave_1_1TaskStatusUpdateManager_html_af68587287ae6c02ce62e3075dafcbfa5"><div class="ttname"><a href="classmesos_1_1internal_1_1slave_1_1TaskStatusUpdateManager.html#af68587287ae6c02ce62e3075dafcbfa5">mesos::internal::slave::TaskStatusUpdateManager::TaskStatusUpdateManager</a></div><div class="ttdeci">TaskStatusUpdateManager(const Flags &amp;flags)</div></div>
+<div class="ttc" id="lambda_8hpp_html"><div class="ttname"><a href="lambda_8hpp.html">lambda.hpp</a></div></div>
+<div class="ttc" id="classmesos_1_1internal_1_1slave_1_1TaskStatusUpdateManager_html"><div class="ttname"><a href="classmesos_1_1internal_1_1slave_1_1TaskStatusUpdateManager.html">mesos::internal::slave::TaskStatusUpdateManager</a></div><div class="ttdef"><b>Definition:</b> task_status_update_manager.hpp:58</div></div>
+<div class="ttc" id="structmesos_1_1internal_1_1slave_1_1TaskStatusUpdateStream_html_acd5495c3f1e4d98cc779ab0b13c4a4b8"><div class="ttname"><a href="structmesos_1_1internal_1_1slave_1_1TaskStatusUpdateStream.html#acd5495c3f1e4d98cc779ab0b13c4a4b8">mesos::internal::slave::TaskStatusUpdateStream::replay</a></div><div class="ttdeci">Try&lt; Nothing &gt; replay(const std::vector&lt; StatusUpdate &gt; &amp;updates, const hashset&lt; UUID &gt; &amp;acks)</div></div>
+<div class="ttc" id="structmesos_1_1internal_1_1slave_1_1TaskStatusUpdateStream_html_a86339bfb75c72e5dc73384f45325683b"><div class="ttname"><a href="structmesos_1_1internal_1_1slave_1_1TaskStatusUpdateStream.html#a86339bfb75c72e5dc73384f45325683b">mesos::internal::slave::TaskStatusUpdateStream::update</a></div><div class="ttdeci">Try&lt; bool &gt; update(const StatusUpdate &amp;update)</div></div>
+<div class="ttc" id="structmesos_1_1internal_1_1slave_1_1TaskStatusUpdateStream_html_a539e53ed4519c8df0e31c6219613180b"><div class="ttname"><a href="structmesos_1_1internal_1_1slave_1_1TaskStatusUpdateStream.html#a539e53ed4519c8df0e31c6219613180b">mesos::internal::slave::TaskStatusUpdateStream::~TaskStatusUpdateStream</a></div><div class="ttdeci">~TaskStatusUpdateStream()</div></div>
+<div class="ttc" id="structid_1_1UUID_html"><div class="ttname"><a href="structid_1_1UUID.html">id::UUID</a></div><div class="ttdef"><b>Definition:</b> uuid.hpp:40</div></div>
+<div class="ttc" id="structmesos_1_1internal_1_1slave_1_1TaskStatusUpdateStream_html_afed2587d35bff8423602ff07defed554"><div class="ttname"><a href="structmesos_1_1internal_1_1slave_1_1TaskStatusUpdateStream.html#afed2587d35bff8423602ff07defed554">mesos::internal::slave::TaskStatusUpdateStream::timeout</a></div><div class="ttdeci">Option&lt; process::Timeout &gt; timeout</div><div class="ttdef"><b>Definition:</b> task_status_update_manager.hpp:172</div></div>
+<div class="ttc" id="structmesos_1_1internal_1_1slave_1_1TaskStatusUpdateStream_html"><div class="ttname"><a href="structmesos_1_1internal_1_1slave_1_1TaskStatusUpdateStream.html">mesos::internal::slave::TaskStatusUpdateStream</a></div><div class="ttdef"><b>Definition:</b> task_status_update_manager.hpp:132</div></div>
+<div class="ttc" id="3rdparty_2libprocess_2include_2process_2pid_8hpp_html"><div class="ttname"><a href="3rdparty_2libprocess_2include_2process_2pid_8hpp.html">pid.hpp</a></div></div>
+<div class="ttc" id="classmesos_1_1internal_1_1slave_1_1TaskStatusUpdateManager_html_a7c7ce88b8ff5596dc40ff9440071372c"><div class="ttname"><a href="classmesos_1_1internal_1_1slave_1_1TaskStatusUpdateManager.html#a7c7ce88b8ff5596dc40ff9440071372c">mesos::internal::slave::TaskStatusUpdateManager::recover</a></div><div class="ttdeci">process::Future&lt; Nothing &gt; recover(const std::string &amp;rootDir, const Option&lt; state::SlaveState &gt; &amp;state)</div></div>
+<div class="ttc" id="classmesos_1_1internal_1_1slave_1_1TaskStatusUpdateManager_html_a69a053c21c06b4cd411cf14217aadc23"><div class="ttname"><a href="classmesos_1_1internal_1_1slave_1_1TaskStatusUpdateManager.html#a69a053c21c06b4cd411cf14217aadc23">mesos::internal::slave::TaskStatusUpdateManager::acknowledgement</a></div><div class="ttdeci">process::Future&lt; bool &gt; acknowledgement(const TaskID &amp;taskId, const FrameworkID &amp;frameworkId, const UUID &amp;uuid)</div></div>
+<div class="ttc" id="option_8hpp_html"><div class="ttname"><a href="option_8hpp.html">option.hpp</a></div></div>
+<div class="ttc" id="classmesos_1_1internal_1_1slave_1_1TaskStatusUpdateManager_html_ab91e482b15bffc27d9b41e5012b457b7"><div class="ttname"><a href="classmesos_1_1internal_1_1slave_1_1TaskStatusUpdateManager.html#ab91e482b15bffc27d9b41e5012b457b7">mesos::internal::slave::TaskStatusUpdateManager::cleanup</a></div><div class="ttdeci">void cleanup(const FrameworkID &amp;frameworkId)</div></div>
+<div class="ttc" id="future_8hpp_html"><div class="ttname"><a href="future_8hpp.html">future.hpp</a></div></div>
+<div class="ttc" id="decoder_8hpp_html_abb0829cce9dd20a40ae0d86890ae85c6"><div class="ttname"><a href="decoder_8hpp.html#abb0829cce9dd20a40ae0d86890ae85c6">flags</a></div><div class="ttdeci">#define flags</div><div class="ttdef"><b>Definition:</b> decoder.hpp:18</div></div>
+<div class="ttc" id="namespacemesos_1_1internal_1_1capabilities_html_aaa5ec6d56ccbeba718b9e8fc6ec2f7c9"><div class="ttname"><a href="namespacemesos_1_1internal_1_1capabilities.html#aaa5ec6d56ccbeba718b9e8fc6ec2f7c9">mesos::internal::capabilities::Type</a></div><div class="ttdeci">Type</div><div class="ttdef"><b>Definition:</b> capabilities.hpp:79</div></div>
+<div class="ttc" id="try_8hpp_html"><div class="ttname"><a href="try_8hpp.html">try.hpp</a></div></div>
+<div class="ttc" id="hashset_8hpp_html"><div class="ttname"><a href="hashset_8hpp.html">hashset.hpp</a></div></div>
+<div class="ttc" id="structmesos_1_1internal_1_1slave_1_1TaskStatusUpdateStream_html_ad6dbba51c1d99281f038dc9dffd37ecd"><div class="ttname"><a href="structmesos_1_1internal_1_1slave_1_1TaskStatusUpdateStream.html#ad6dbba51c1d99281f038dc9dffd37ecd">mesos::internal::slave::TaskStatusUpdateStream::TaskStatusUpdateStream</a></div><div class="ttdeci">TaskStatusUpdateStream(const TaskID &amp;_taskId, const FrameworkID &amp;_frameworkId, const SlaveID &amp;_slaveId, const Flags &amp;_flags, bool _checkpoint, const Option&lt; ExecutorID &gt; &amp;executorId, const Option&lt; ContainerID &gt; &amp;containerId)</div></div>
+<div class="ttc" id="namespacemesos_1_1internal_1_1fs_html_a2343e2642db514496ba8380776487fba"><div class="ttname"><a href="namespacemesos_1_1internal_1_1fs.html#a2343e2642db514496ba8380776487fba">mesos::internal::fs::type</a></div><div class="ttdeci">Try&lt; uint32_t &gt; type(const std::string &amp;path)</div></div>
+<div class="ttc" id="src_2slave_2flags_8hpp_html"><div class="ttname"><a href="src_2slave_2flags_8hpp.html">flags.hpp</a></div></div>
+<div class="ttc" id="structmesos_1_1internal_1_1slave_1_1TaskStatusUpdateStream_html_a3ea3635479f2248ec2e0ec6100142f76"><div class="ttname"><a href="structmesos_1_1internal_1_1slave_1_1TaskStatusUpdateStream.html#a3ea3635479f2248ec2e0ec6100142f76">mesos::internal::slave::TaskStatusUpdateStream::pending</a></div><div class="ttdeci">std::queue&lt; StatusUpdate &gt; pending</div><div class="ttdef"><b>Definition:</b> task_status_update_manager.hpp:173</div></div>
+<div class="ttc" id="structmesos_1_1internal_1_1slave_1_1TaskStatusUpdateStream_html_ac9b26a210efa1e6d174f74deebc2c2da"><div class="ttname"><a href="structmesos_1_1internal_1_1slave_1_1TaskStatusUpdateStream.html#ac9b26a210efa1e6d174f74deebc2c2da">mesos::internal::slave::TaskStatusUpdateStream::terminated</a></div><div class="ttdeci">bool terminated</div><div class="ttdef"><b>Definition:</b> task_status_update_manager.hpp:171</div></div>
+<div class="ttc" id="uuid_8hpp_html"><div class="ttname"><a href="uuid_8hpp.html">uuid.hpp</a></div></div>
+<div class="ttc" id="classmesos_1_1internal_1_1slave_1_1TaskStatusUpdateManager_html_aac77ad30d10b8ac34c271f6fcfdbdd35"><div class="ttname"><a href="classmesos_1_1internal_1_1slave_1_1TaskStatusUpdateManager.html#aac77ad30d10b8ac34c271f6fcfdbdd35">mesos::internal::slave::TaskStatusUpdateManager::pause</a></div><div class="ttdeci">void pause()</div></div>
+<div class="ttc" id="classmesos_1_1internal_1_1slave_1_1TaskStatusUpdateManager_html_aeaa2a514010604869d809085fc59e8bf"><div class="ttname"><a href="classmesos_1_1internal_1_1slave_1_1TaskStatusUpdateManager.html#aeaa2a514010604869d809085fc59e8bf">mesos::internal::slave::TaskStatusUpdateManager::initialize</a></div><div class="ttdeci">void initialize(const lambda::function&lt; void(StatusUpdate)&gt; &amp;forward)</div></div>
+<div class="ttc" id="classmesos_1_1internal_1_1slave_1_1TaskStatusUpdateManager_html_a8129417aaad93a068ad3c172ae3e1861"><div class="ttname"><a href="classmesos_1_1internal_1_1slave_1_1TaskStatusUpdateManager.html#a8129417aaad93a068ad3c172ae3e1861">mesos::internal::slave::TaskStatusUpdateManager::~TaskStatusUpdateManager</a></div><div class="ttdeci">virtual ~TaskStatusUpdateManager()</div></div>
+<div class="ttc" id="messages_8hpp_html"><div class="ttname"><a href="messages_8hpp.html">messages.hpp</a></div></div>
+<div class="ttc" id="classprocess_1_1Future_html"><div class="ttname"><a href="classprocess_1_1Future.html">process::Future&lt; Nothing &gt;</a></div></div>
+</div><!-- fragment --></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>

http://git-wip-us.apache.org/repos/asf/mesos-site/blob/4e0c31b4/content/sitemap.xml
----------------------------------------------------------------------
diff --git a/content/sitemap.xml b/content/sitemap.xml
index c8e3667..f09e4d0 100644
--- a/content/sitemap.xml
+++ b/content/sitemap.xml
@@ -3293,10 +3293,6 @@
     <lastmod>2017-11-21T00:00:00+00:00</lastmod>
   </url>
   <url>
-    <loc>http://mesos.apache.org/api/latest/c++/classmesos_1_1internal_1_1slave_1_1StatusUpdateManager-members.html</loc>
-    <lastmod>2017-11-21T00:00:00+00:00</lastmod>
-  </url>
-  <url>
     <loc>http://mesos.apache.org/api/latest/c++/classNetworkProcess-members.html</loc>
     <lastmod>2017-11-21T00:00:00+00:00</lastmod>
   </url>
@@ -3557,6 +3553,10 @@
     <lastmod>2017-11-21T00:00:00+00:00</lastmod>
   </url>
   <url>
+    <loc>http://mesos.apache.org/api/latest/c++/structmesos_1_1internal_1_1slave_1_1TaskStatusUpdateStream-members.html</loc>
+    <lastmod>2017-11-21T00:00:00+00:00</lastmod>
+  </url>
+  <url>
     <loc>http://mesos.apache.org/api/latest/c++/subprocess__windows_8hpp_source.html</loc>
     <lastmod>2017-11-21T00:00:00+00:00</lastmod>
   </url>
@@ -3761,10 +3761,6 @@
     <lastmod>2017-11-21T00:00:00+00:00</lastmod>
   </url>
   <url>
-    <loc>http://mesos.apache.org/api/latest/c++/structmesos_1_1internal_1_1slave_1_1StatusUpdateStream.html</loc>
-    <lastmod>2017-11-21T00:00:00+00:00</lastmod>
-  </url>
-  <url>
     <loc>http://mesos.apache.org/api/latest/c++/structprocess_1_1HttpEvent-members.html</loc>
     <lastmod>2017-11-21T00:00:00+00:00</lastmod>
   </url>
@@ -6653,6 +6649,10 @@
     <lastmod>2017-11-21T00:00:00+00:00</lastmod>
   </url>
   <url>
+    <loc>http://mesos.apache.org/api/latest/c++/task__status__update__manager_8hpp_source.html</loc>
+    <lastmod>2017-11-21T00:00:00+00:00</lastmod>
+  </url>
+  <url>
     <loc>http://mesos.apache.org/api/latest/c++/3rdparty_2libprocess_2include_2process_2logging_8hpp_source.html</loc>
     <lastmod>2017-11-21T00:00:00+00:00</lastmod>
   </url>
@@ -7613,10 +7613,6 @@
     <lastmod>2017-11-21T00:00:00+00:00</lastmod>
   </url>
   <url>
-    <loc>http://mesos.apache.org/api/latest/c++/structmesos_1_1internal_1_1slave_1_1StatusUpdateStream-members.html</loc>
-    <lastmod>2017-11-21T00:00:00+00:00</lastmod>
-  </url>
-  <url>
     <loc>http://mesos.apache.org/api/latest/c++/structprocess_1_1internal_1_1wrap_3_01Future_3_01X_01_4_01_4.html</loc>
     <lastmod>2017-11-21T00:00:00+00:00</lastmod>
   </url>
@@ -7789,10 +7785,6 @@
     <lastmod>2017-11-21T00:00:00+00:00</lastmod>
   </url>
   <url>
-    <loc>http://mesos.apache.org/api/latest/c++/status__update__manager_8hpp_source.html</loc>
-    <lastmod>2017-11-21T00:00:00+00:00</lastmod>
-  </url>
-  <url>
     <loc>http://mesos.apache.org/api/latest/c++/classmesos_1_1internal_1_1slave_1_1NvidiaVolume.html</loc>
     <lastmod>2017-11-21T00:00:00+00:00</lastmod>
   </url>
@@ -8341,6 +8333,10 @@
     <lastmod>2017-11-21T00:00:00+00:00</lastmod>
   </url>
   <url>
+    <loc>http://mesos.apache.org/api/latest/c++/classmesos_1_1internal_1_1slave_1_1TaskStatusUpdateManager-members.html</loc>
+    <lastmod>2017-11-21T00:00:00+00:00</lastmod>
+  </url>
+  <url>
     <loc>http://mesos.apache.org/api/latest/c++/state__machine_8hpp.html</loc>
     <lastmod>2017-11-21T00:00:00+00:00</lastmod>
   </url>
@@ -9969,6 +9965,10 @@
     <lastmod>2017-11-21T00:00:00+00:00</lastmod>
   </url>
   <url>
+    <loc>http://mesos.apache.org/api/latest/c++/task__status__update__manager_8hpp.html</loc>
+    <lastmod>2017-11-21T00:00:00+00:00</lastmod>
+  </url>
+  <url>
     <loc>http://mesos.apache.org/api/latest/c++/structmesos_1_1internal_1_1slave_1_1PortMappingUpdate_1_1Flags-members.html</loc>
     <lastmod>2017-11-21T00:00:00+00:00</lastmod>
   </url>
@@ -11189,6 +11189,10 @@
     <lastmod>2017-11-21T00:00:00+00:00</lastmod>
   </url>
   <url>
+    <loc>http://mesos.apache.org/api/latest/c++/structmesos_1_1internal_1_1slave_1_1TaskStatusUpdateStream.html</loc>
+    <lastmod>2017-11-21T00:00:00+00:00</lastmod>
+  </url>
+  <url>
     <loc>http://mesos.apache.org/api/latest/c++/classmesos_1_1uri_1_1CopyFetcherPlugin.html</loc>
     <lastmod>2017-11-21T00:00:00+00:00</lastmod>
   </url>
@@ -12429,10 +12433,6 @@
     <lastmod>2017-11-21T00:00:00+00:00</lastmod>
   </url>
   <url>
-    <loc>http://mesos.apache.org/api/latest/c++/status__update__manager_8hpp.html</loc>
-    <lastmod>2017-11-21T00:00:00+00:00</lastmod>
-  </url>
-  <url>
     <loc>http://mesos.apache.org/api/latest/c++/3rdparty_2libprocess_2include_2process_2filter_8hpp_source.html</loc>
     <lastmod>2017-11-21T00:00:00+00:00</lastmod>
   </url>
@@ -15421,6 +15421,10 @@
     <lastmod>2017-11-21T00:00:00+00:00</lastmod>
   </url>
   <url>
+    <loc>http://mesos.apache.org/api/latest/c++/classmesos_1_1internal_1_1slave_1_1TaskStatusUpdateManager.html</loc>
+    <lastmod>2017-11-21T00:00:00+00:00</lastmod>
+  </url>
+  <url>
     <loc>http://mesos.apache.org/api/latest/c++/composing_8hpp.html</loc>
     <lastmod>2017-11-21T00:00:00+00:00</lastmod>
   </url>
@@ -15621,10 +15625,6 @@
     <lastmod>2017-11-21T00:00:00+00:00</lastmod>
   </url>
   <url>
-    <loc>http://mesos.apache.org/api/latest/c++/classmesos_1_1internal_1_1slave_1_1StatusUpdateManager.html</loc>
-    <lastmod>2017-11-21T00:00:00+00:00</lastmod>
-  </url>
-  <url>
     <loc>http://mesos.apache.org/api/latest/c++/classmesos_1_1internal_1_1slave_1_1appc_1_1Cache-members.html</loc>
     <lastmod>2017-11-21T00:00:00+00:00</lastmod>
   </url>


Mime
View raw message