You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by gi...@apache.org on 2017/07/28 16:05:59 UTC

[10/51] [partial] mesos-site git commit: Updated the website built from mesos SHA: d724747.

http://git-wip-us.apache.org/repos/asf/mesos-site/blob/ba48e30e/content/api/latest/c++/cni_8hpp_source.html
----------------------------------------------------------------------
diff --git a/content/api/latest/c++/cni_8hpp_source.html b/content/api/latest/c++/cni_8hpp_source.html
index 9aea9c8..40ae5ef 100644
--- a/content/api/latest/c++/cni_8hpp_source.html
+++ b/content/api/latest/c++/cni_8hpp_source.html
@@ -149,7 +149,7 @@
 <div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;          <span class="keyword">const</span> <a class="code" href="classOption.html">Option&lt;std::string&gt;</a>&amp; _hostname = <a class="code" href="structNone.html">None</a>())</div>
 <div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;      : containerNetworks (_containerNetworks),</div>
 <div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;        rootfs(_rootfs),</div>
-<div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;        <a class="code" href="namespacenet.html#a18b188d54e864e4cdd1f7cac6fb140e4">hostname</a>(_hostname) {}</div>
+<div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;        <a class="code" href="namespacenet.html#a28018530986e91a179ea6239fdf0a447">hostname</a>(_hostname) {}</div>
 <div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;</div>
 <div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;    <span class="comment">// CNI network information keyed by network name.</span></div>
 <div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;    <span class="comment">//</span></div>
@@ -163,7 +163,7 @@
 <div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;    <span class="comment">// the host file system, this will be `None`.</span></div>
 <div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160;    <span class="keyword">const</span> <a class="code" href="classOption.html">Option&lt;std::string&gt;</a> rootfs;</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="keyword">const</span> <a class="code" href="classOption.html">Option&lt;std::string&gt;</a> <a class="code" href="namespacenet.html#a18b188d54e864e4cdd1f7cac6fb140e4">hostname</a>;</div>
+<div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;    <span class="keyword">const</span> <a class="code" href="classOption.html">Option&lt;std::string&gt;</a> <a class="code" href="namespacenet.html#a28018530986e91a179ea6239fdf0a447">hostname</a>;</div>
 <div class="line"><a name="l00113"></a><span class="lineno">  113</span>&#160;  };</div>
 <div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160;</div>
 <div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160;  <span class="comment">// Reads each CNI config present in `configDir`, validates if the</span></div>
@@ -317,15 +317,15 @@
 <div class="ttc" id="src_2slave_2containerizer_2mesos_2isolator_8hpp_html"><div class="ttname"><a href="src_2slave_2containerizer_2mesos_2isolator_8hpp.html">isolator.hpp</a></div></div>
 <div class="ttc" id="containerizer_2mesos_2isolators_2network_2cni_2paths_8hpp_html"><div class="ttname"><a href="containerizer_2mesos_2isolators_2network_2cni_2paths_8hpp.html">paths.hpp</a></div></div>
 <div class="ttc" id="classhashmap_html"><div class="ttname"><a href="classhashmap.html">hashmap&lt; std::string, ContainerNetwork &gt;</a></div></div>
-<div class="ttc" id="3rdparty_2stout_2include_2stout_2windows_8hpp_html_ab03ced250ed239bc3b50b669493997f9"><div class="ttname"><a href="3rdparty_2stout_2include_2stout_2windows_8hpp.html#ab03ced250ed239bc3b50b669493997f9">pid_t</a></div><div class="ttdeci">DWORD pid_t</div><div class="ttdef"><b>Definition:</b> windows.hpp:171</div></div>
+<div class="ttc" id="3rdparty_2stout_2include_2stout_2windows_8hpp_html_ab03ced250ed239bc3b50b669493997f9"><div class="ttname"><a href="3rdparty_2stout_2include_2stout_2windows_8hpp.html#ab03ced250ed239bc3b50b669493997f9">pid_t</a></div><div class="ttdeci">DWORD pid_t</div><div class="ttdef"><b>Definition:</b> windows.hpp:185</div></div>
 <div class="ttc" id="structmesos_1_1internal_1_1slave_1_1NetworkCniIsolatorSetup_1_1Flags_html_a4f8462d186e873b26b40c767f15cf6a5"><div class="ttname"><a href="structmesos_1_1internal_1_1slave_1_1NetworkCniIsolatorSetup_1_1Flags.html#a4f8462d186e873b26b40c767f15cf6a5">mesos::internal::slave::NetworkCniIsolatorSetup::Flags::etc_resolv_conf</a></div><div class="ttdeci">Option&lt; std::string &gt; etc_resolv_conf</div><div class="ttdef"><b>Definition:</b> cni.hpp:230</div></div>
 <div class="ttc" id="classmesos_1_1internal_1_1slave_1_1NetworkCniIsolatorProcess_html"><div class="ttname"><a href="classmesos_1_1internal_1_1slave_1_1NetworkCniIsolatorProcess.html">mesos::internal::slave::NetworkCniIsolatorProcess</a></div><div class="ttdef"><b>Definition:</b> cni.hpp:47</div></div>
 <div class="ttc" id="classSubcommand_html"><div class="ttname"><a href="classSubcommand.html">Subcommand</a></div><div class="ttdef"><b>Definition:</b> subcommand.hpp:41</div></div>
 <div class="ttc" id="subcommand_8hpp_html"><div class="ttname"><a href="subcommand_8hpp.html">subcommand.hpp</a></div></div>
 <div class="ttc" id="classflags_1_1FlagsBase_html"><div class="ttname"><a href="classflags_1_1FlagsBase.html">flags::FlagsBase</a></div><div class="ttdef"><b>Definition:</b> flags.hpp:44</div></div>
-<div class="ttc" id="namespacenet_html_a18b188d54e864e4cdd1f7cac6fb140e4"><div class="ttname"><a href="namespacenet.html#a18b188d54e864e4cdd1f7cac6fb140e4">net::hostname</a></div><div class="ttdeci">Try&lt; std::string &gt; hostname()</div><div class="ttdef"><b>Definition:</b> net.hpp:209</div></div>
 <div class="ttc" id="classmesos_1_1internal_1_1slave_1_1NetworkCniIsolatorProcess_html_a12a31bdd9d873ebe68c492c1eea562de"><div class="ttname"><a href="classmesos_1_1internal_1_1slave_1_1NetworkCniIsolatorProcess.html#a12a31bdd9d873ebe68c492c1eea562de">mesos::internal::slave::NetworkCniIsolatorProcess::create</a></div><div class="ttdeci">static Try&lt; mesos::slave::Isolator * &gt; create(const Flags &amp;flags)</div></div>
 <div class="ttc" id="classmesos_1_1internal_1_1slave_1_1MesosIsolatorProcess_html"><div class="ttname"><a href="classmesos_1_1internal_1_1slave_1_1MesosIsolatorProcess.html">mesos::internal::slave::MesosIsolatorProcess</a></div><div class="ttdef"><b>Definition:</b> isolator.hpp:79</div></div>
+<div class="ttc" id="namespacenet_html_a28018530986e91a179ea6239fdf0a447"><div class="ttname"><a href="namespacenet.html#a28018530986e91a179ea6239fdf0a447">net::hostname</a></div><div class="ttdeci">Try&lt; std::string &gt; hostname()</div><div class="ttdef"><b>Definition:</b> net.hpp:154</div></div>
 <div class="ttc" id="structmesos_1_1internal_1_1slave_1_1NetworkCniIsolatorSetup_1_1Flags_html_a5b39398b8277620eadce2c6799585c5c"><div class="ttname"><a href="structmesos_1_1internal_1_1slave_1_1NetworkCniIsolatorSetup_1_1Flags.html#a5b39398b8277620eadce2c6799585c5c">mesos::internal::slave::NetworkCniIsolatorSetup::Flags::etc_hosts_path</a></div><div class="ttdeci">Option&lt; std::string &gt; etc_hosts_path</div><div class="ttdef"><b>Definition:</b> cni.hpp:228</div></div>
 <div class="ttc" id="structmesos_1_1internal_1_1slave_1_1NetworkCniIsolatorSetup_1_1Flags_html_a792e873bae0fe54efee978120acb69fa"><div class="ttname"><a href="structmesos_1_1internal_1_1slave_1_1NetworkCniIsolatorSetup_1_1Flags.html#a792e873bae0fe54efee978120acb69fa">mesos::internal::slave::NetworkCniIsolatorSetup::Flags::rootfs</a></div><div class="ttdeci">Option&lt; std::string &gt; rootfs</div><div class="ttdef"><b>Definition:</b> cni.hpp:227</div></div>
 <div class="ttc" id="namespacecgroups_1_1devices_html_a22494291bc2cb89697dcd2b5f288bdd3"><div class="ttname"><a href="namespacecgroups_1_1devices.html#a22494291bc2cb89697dcd2b5f288bdd3">cgroups::devices::list</a></div><div class="ttdeci">Try&lt; std::vector&lt; Entry &gt; &gt; list(const std::string &amp;hierarchy, const std::string &amp;cgroup)</div></div>

http://git-wip-us.apache.org/repos/asf/mesos-site/blob/ba48e30e/content/api/latest/c++/collect_8hpp_source.html
----------------------------------------------------------------------
diff --git a/content/api/latest/c++/collect_8hpp_source.html b/content/api/latest/c++/collect_8hpp_source.html
index f813d57..2c3c3af 100644
--- a/content/api/latest/c++/collect_8hpp_source.html
+++ b/content/api/latest/c++/collect_8hpp_source.html
@@ -321,7 +321,7 @@
 <div class="ttc" id="classprocess_1_1Promise_html_a2fc569c8bf99acb3e53a68ff3b266667"><div class="ttname"><a href="classprocess_1_1Promise.html#a2fc569c8bf99acb3e53a68ff3b266667">process::Promise::fail</a></div><div class="ttdeci">bool fail(const std::string &amp;message)</div><div class="ttdef"><b>Definition:</b> future.hpp:772</div></div>
 <div class="ttc" id="classprocess_1_1internal_1_1CollectProcess_html_aef71c5f6f3c016b544805111417573a8"><div class="ttname"><a href="classprocess_1_1internal_1_1CollectProcess.html#aef71c5f6f3c016b544805111417573a8">process::internal::CollectProcess::~CollectProcess</a></div><div class="ttdeci">virtual ~CollectProcess()</div><div class="ttdef"><b>Definition:</b> collect.hpp:74</div></div>
 <div class="ttc" id="classprocess_1_1Future_html_a1b80bf321358be44880d9c6bae5d9a2d"><div class="ttname"><a href="classprocess_1_1Future.html#a1b80bf321358be44880d9c6bae5d9a2d">process::Future::onDiscard</a></div><div class="ttdeci">const Future&lt; T &gt; &amp; onDiscard(DiscardCallback &amp;&amp;callback) const </div><div class="ttdef"><b>Definition:</b> future.hpp:1177</div></div>
-<div class="ttc" id="classprocess_1_1ProcessBase_html"><div class="ttname"><a href="classprocess_1_1ProcessBase.html">process::ProcessBase</a></div><div class="ttdef"><b>Definition:</b> process.hpp:68</div></div>
+<div class="ttc" id="classprocess_1_1ProcessBase_html"><div class="ttname"><a href="classprocess_1_1ProcessBase.html">process::ProcessBase</a></div><div class="ttdef"><b>Definition:</b> process.hpp:69</div></div>
 <div class="ttc" id="classprocess_1_1Future_html_a4012f3faa6191fc13874dca62c14ced0"><div class="ttname"><a href="classprocess_1_1Future.html#a4012f3faa6191fc13874dca62c14ced0">process::Future::discard</a></div><div class="ttdeci">bool discard()</div><div class="ttdef"><b>Definition:</b> future.hpp:1025</div></div>
 <div class="ttc" id="namespaceprocess_html_aff22904a83567125d3b4d0d88e5a2270"><div class="ttname"><a href="namespaceprocess.html#aff22904a83567125d3b4d0d88e5a2270">process::spawn</a></div><div class="ttdeci">UPID spawn(ProcessBase *process, bool manage=false)</div><div class="ttdoc">Spawn a new process. </div></div>
 <div class="ttc" id="namespaceprocess_html_a20443908afa3212215166e26065349e5"><div class="ttname"><a href="namespaceprocess.html#a20443908afa3212215166e26065349e5">process::terminate</a></div><div class="ttdeci">void terminate(const UPID &amp;pid, bool inject=true)</div><div class="ttdoc">Sends a TerminateEvent to the given process. </div></div>
@@ -347,7 +347,7 @@
 <div class="ttc" id="namespaceprocess_1_1network_html_ad067110a4b38cc83785a43f49bf6c8e2"><div class="ttname"><a href="namespaceprocess_1_1network.html#ad067110a4b38cc83785a43f49bf6c8e2">process::network::bind</a></div><div class="ttdeci">Try&lt; Nothing &gt; bind(int_fd s, const Address &amp;address)</div><div class="ttdef"><b>Definition:</b> network.hpp:46</div></div>
 <div class="ttc" id="classprocess_1_1internal_1_1AwaitProcess_html_a8121fadd91f2221a673d4e711f22c948"><div class="ttname"><a href="classprocess_1_1internal_1_1AwaitProcess.html#a8121fadd91f2221a673d4e711f22c948">process::internal::AwaitProcess::initialize</a></div><div class="ttdeci">virtual void initialize()</div><div class="ttdoc">Invoked when a process gets spawned. </div><div class="ttdef"><b>Definition:</b> collect.hpp:146</div></div>
 <div class="ttc" id="id_8hpp_html"><div class="ttname"><a href="id_8hpp.html">id.hpp</a></div></div>
-<div class="ttc" id="classprocess_1_1Process_html"><div class="ttname"><a href="classprocess_1_1Process.html">process::Process</a></div><div class="ttdef"><b>Definition:</b> process.hpp:489</div></div>
+<div class="ttc" id="classprocess_1_1Process_html"><div class="ttname"><a href="classprocess_1_1Process.html">process::Process</a></div><div class="ttdef"><b>Definition:</b> process.hpp:490</div></div>
 <div class="ttc" id="defer_8hpp_html"><div class="ttname"><a href="defer_8hpp.html">defer.hpp</a></div></div>
 <div class="ttc" id="namespaceprocess_html_a8b27a2ef76eb133bf0ce7a5eea4fb77c"><div class="ttname"><a href="namespaceprocess.html#a8b27a2ef76eb133bf0ce7a5eea4fb77c">process::defer</a></div><div class="ttdeci">Deferred&lt; void()&gt; defer(const PID&lt; T &gt; &amp;pid, void(T::*method)())</div><div class="ttdef"><b>Definition:</b> defer.hpp:35</div></div>
 <div class="ttc" id="libprocess_2include_2process_2process_8hpp_html"><div class="ttname"><a href="libprocess_2include_2process_2process_8hpp.html">process.hpp</a></div></div>

http://git-wip-us.apache.org/repos/asf/mesos-site/blob/ba48e30e/content/api/latest/c++/common_2resources__utils_8hpp.html
----------------------------------------------------------------------
diff --git a/content/api/latest/c++/common_2resources__utils_8hpp.html b/content/api/latest/c++/common_2resources__utils_8hpp.html
index 66ab8f6..a0d149d 100644
--- a/content/api/latest/c++/common_2resources__utils_8hpp.html
+++ b/content/api/latest/c++/common_2resources__utils_8hpp.html
@@ -60,7 +60,9 @@
 <code>#include &lt;google/protobuf/repeated_field.h&gt;</code><br/>
 <code>#include &lt;<a class="el" href="include_2mesos_2mesos_8hpp_source.html">mesos/mesos.hpp</a>&gt;</code><br/>
 <code>#include &lt;<a class="el" href="resources_8hpp_source.html">mesos/resources.hpp</a>&gt;</code><br/>
+<code>#include &lt;<a class="el" href="error_8hpp_source.html">stout/error.hpp</a>&gt;</code><br/>
 <code>#include &lt;<a class="el" href="nothing_8hpp_source.html">stout/nothing.hpp</a>&gt;</code><br/>
+<code>#include &lt;<a class="el" href="option_8hpp_source.html">stout/option.hpp</a>&gt;</code><br/>
 <code>#include &lt;<a class="el" href="try_8hpp_source.html">stout/try.hpp</a>&gt;</code><br/>
 </div>
 <p><a href="common_2resources__utils_8hpp_source.html">Go to the source code of this file.</a></p>
@@ -90,8 +92,8 @@ Functions</h2></td></tr>
 <tr class="separator:ad248dd7e67de347397e0e53018dde98c"><td class="memSeparator" colspan="2">&#160;</td></tr>
 <tr class="memitem:adffefc8a8e27c477ede7849dcc8e1897"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemesos.html#adffefc8a8e27c477ede7849dcc8e1897">mesos::convertResourceFormat</a> (std::vector&lt; Resource &gt; *resources, ResourceFormat format)</td></tr>
 <tr class="separator:adffefc8a8e27c477ede7849dcc8e1897"><td class="memSeparator" colspan="2">&#160;</td></tr>
-<tr class="memitem:ab7015df2a396a52ec965c062cccd3032"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classOption.html">Option</a>&lt; <a class="el" href="classError.html">Error</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemesos.html#ab7015df2a396a52ec965c062cccd3032">mesos::validateAndUpgradeResources</a> (google::protobuf::RepeatedPtrField&lt; Resource &gt; *resources)</td></tr>
-<tr class="separator:ab7015df2a396a52ec965c062cccd3032"><td class="memSeparator" colspan="2">&#160;</td></tr>
+<tr class="memitem:ac533aafba65560d778e909ab03cd2479"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classOption.html">Option</a>&lt; <a class="el" href="classError.html">Error</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemesos.html#ac533aafba65560d778e909ab03cd2479">mesos::validateAndNormalizeResources</a> (Offer::Operation *operation)</td></tr>
+<tr class="separator:ac533aafba65560d778e909ab03cd2479"><td class="memSeparator" colspan="2">&#160;</td></tr>
 <tr class="memitem:ab6aedf5b9bda94224599094cb8140c83"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classTry.html">Try</a>&lt; <a class="el" href="structNothing.html">Nothing</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacemesos.html#ab6aedf5b9bda94224599094cb8140c83">mesos::downgradeResources</a> (google::protobuf::RepeatedPtrField&lt; Resource &gt; *resources)</td></tr>
 <tr class="separator:ab6aedf5b9bda94224599094cb8140c83"><td class="memSeparator" colspan="2">&#160;</td></tr>
 </table>

http://git-wip-us.apache.org/repos/asf/mesos-site/blob/ba48e30e/content/api/latest/c++/common_2resources__utils_8hpp_source.html
----------------------------------------------------------------------
diff --git a/content/api/latest/c++/common_2resources__utils_8hpp_source.html b/content/api/latest/c++/common_2resources__utils_8hpp_source.html
index 9b96d3f..b623561 100644
--- a/content/api/latest/c++/common_2resources__utils_8hpp_source.html
+++ b/content/api/latest/c++/common_2resources__utils_8hpp_source.html
@@ -78,146 +78,153 @@
 <div class="line"><a name="l00024"></a><span class="lineno">   24</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="l00025"></a><span class="lineno">   25</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="resources_8hpp.html">mesos/resources.hpp</a>&gt;</span></div>
 <div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;</div>
-<div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="nothing_8hpp.html">stout/nothing.hpp</a>&gt;</span></div>
-<div class="line"><a name="l00028"></a><span class="lineno">   28</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="l00029"></a><span class="lineno">   29</span>&#160;</div>
-<div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;<span class="keyword">namespace </span>mesos {</div>
+<div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="error_8hpp.html">stout/error.hpp</a>&gt;</span></div>
+<div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="nothing_8hpp.html">stout/nothing.hpp</a>&gt;</span></div>
+<div class="line"><a name="l00029"></a><span class="lineno">   29</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="l00030"></a><span class="lineno">   30</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="l00031"></a><span class="lineno">   31</span>&#160;</div>
-<div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;<span class="comment">// Tests if the given Resource needs to be checkpointed on the slave.</span></div>
-<div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;<span class="comment">// NOTE: We assume the given resource is validated.</span></div>
-<div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;<span class="keywordtype">bool</span> <a class="code" href="namespacemesos.html#a4c15c1f79f8e77b9c96823ce2313b4aa">needCheckpointing</a>(<span class="keyword">const</span> Resource&amp; resource);</div>
-<div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;</div>
-<div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;<span class="comment">// Returns the total resources by applying the given checkpointed</span></div>
-<div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;<span class="comment">// resources to the given resources. This function is useful when we</span></div>
-<div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;<span class="comment">// want to calculate the total resources of a slave from the resources</span></div>
-<div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;<span class="comment">// specified from the command line and the checkpointed resources.</span></div>
-<div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;<span class="comment">// Returns error if the given resources are not compatible with the</span></div>
-<div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;<span class="comment">// given checkpointed resources.</span></div>
-<div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;<a class="code" href="classTry.html">Try&lt;Resources&gt;</a> <a class="code" href="namespacemesos.html#aa29c69dc413109882c5009aec52b50b2">applyCheckpointedResources</a>(</div>
-<div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;    <span class="keyword">const</span> Resources&amp; resources,</div>
-<div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;    <span class="keyword">const</span> Resources&amp; checkpointedResources);</div>
-<div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;</div>
-<div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;</div>
-<div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;<span class="comment">// Resource format options to be used with the `convertResourceFormat` function.</span></div>
-<div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;<span class="comment">//</span></div>
-<div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;<span class="comment">// The preconditions of the options are asymmetric, centered around the</span></div>
-<div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;<span class="comment">// &quot;post-reservation-refinement&quot; format. This is mainly due to the fact that</span></div>
-<div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;<span class="comment">// &quot;post-reservation-refinement&quot; format is our canonical representation.</span></div>
-<div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;<span class="comment">// The transformations are generally applied to any of the 3 formats to be</span></div>
-<div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;<span class="comment">// converted to the canonical format, then later converted back as necessary.</span></div>
-<div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;<span class="comment">//</span></div>
-<div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;<span class="comment">// See &#39;Resource Format&#39; section in `mesos.proto` for more details.</span></div>
-<div class="line"><a name="l00056"></a><span class="lineno"><a class="line" href="namespacemesos.html#aeea322fd31c5b71ac06c65bcf1241a82">   56</a></span>&#160;<span class="keyword">enum</span> <a class="code" href="namespacemesos.html#aeea322fd31c5b71ac06c65bcf1241a82">ResourceFormat</a></div>
-<div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;{</div>
-<div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;  <span class="comment">// &quot;post-reservation-refinement&quot; -&gt; &quot;pre-reservation-refinement&quot;</span></div>
-<div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;  <span class="comment">//</span></div>
-<div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;  <span class="comment">// The `Resource` objects must be in the &quot;post-reservation-refinement&quot; format,</span></div>
-<div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;  <span class="comment">// and must not have refined reservations.</span></div>
-<div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;  <span class="comment">//</span></div>
-<div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;  <span class="comment">// All resources end up with the `Resource.role` and `Resource.reservation`</span></div>
-<div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;  <span class="comment">// fields set, and the `Resource.reservations` field unset.</span></div>
-<div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;  <span class="comment">//</span></div>
-<div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;  <span class="comment">// We convert the resources to the &quot;pre-reservation-refinement&quot; format to</span></div>
-<div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;  <span class="comment">// checkpoint resources for example. This enables downgrading to an agent</span></div>
-<div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;  <span class="comment">// without a RESERVATION_REFINEMENT caapbility, since the resources will</span></div>
-<div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;  <span class="comment">// be checkpointed in a format that the downgraded agent can recover from.</span></div>
-<div class="line"><a name="l00070"></a><span class="lineno"><a class="line" href="namespacemesos.html#aeea322fd31c5b71ac06c65bcf1241a82ad24f1702a48dcce5a1688eec0519fb5c">   70</a></span>&#160;  <a class="code" href="namespacemesos.html#aeea322fd31c5b71ac06c65bcf1241a82ad24f1702a48dcce5a1688eec0519fb5c">PRE_RESERVATION_REFINEMENT</a>,</div>
-<div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;</div>
-<div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;  <span class="comment">// &quot;pre-reservation-refinement&quot;  -&gt; &quot;post-reservation-refinement&quot;</span></div>
-<div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;  <span class="comment">// &quot;post-reservation-refinement&quot; -&gt; &quot;post-reservation-refinement&quot;</span></div>
-<div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;  <span class="comment">// &quot;endpoint&quot;                    -&gt; &quot;post-reservation-refinement&quot;</span></div>
-<div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;  <span class="comment">//</span></div>
-<div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;  <span class="comment">// The `Resource` objects can be in any of the valid resource formats:</span></div>
-<div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;  <span class="comment">// &quot;pre-reservation-refinement&quot;, &quot;post-reservation-refinement&quot;, &quot;endpoint&quot;.</span></div>
-<div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;  <span class="comment">//</span></div>
-<div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;  <span class="comment">// All resources end up with the `Resource.reservations` field set,</span></div>
-<div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;  <span class="comment">// and the `Resource.role` and `Resource.reservation` fields unset.</span></div>
-<div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;  <span class="comment">//</span></div>
-<div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;  <span class="comment">// If the `Resource` objects are already in the &quot;post-reservation-refinement&quot;</span></div>
-<div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;  <span class="comment">// format, this is a no-op.</span></div>
-<div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;  <span class="comment">//</span></div>
-<div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;  <span class="comment">// We convert the resources to the &quot;post-reservation-refinement&quot; format,</span></div>
-<div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;  <span class="comment">// for example, when a master receives a message from an agent without</span></div>
-<div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;  <span class="comment">// the RESERVATION_REFINEMENT capability. This allows a component</span></div>
-<div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;  <span class="comment">// (e.g. master) code to deal with a canonical format to simplify the code.</span></div>
-<div class="line"><a name="l00089"></a><span class="lineno"><a class="line" href="namespacemesos.html#aeea322fd31c5b71ac06c65bcf1241a82acc3723fdea465eaae535d3c19da528f2">   89</a></span>&#160;  <a class="code" href="namespacemesos.html#aeea322fd31c5b71ac06c65bcf1241a82acc3723fdea465eaae535d3c19da528f2">POST_RESERVATION_REFINEMENT</a>,</div>
-<div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;</div>
-<div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;  <span class="comment">// &quot;post-reservation-refinement&quot; -&gt; &quot;endpoint&quot;</span></div>
-<div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;  <span class="comment">//</span></div>
-<div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;  <span class="comment">// This is a special case for endpoints, which injects</span></div>
-<div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;  <span class="comment">// the &quot;pre-reservation-refinement&quot; format.</span></div>
-<div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;  <span class="comment">//</span></div>
-<div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;  <span class="comment">// The `Resource` objects must be in the &quot;post-reservation-refinement&quot; format.</span></div>
+<div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;<span class="keyword">namespace </span>mesos {</div>
+<div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;</div>
+<div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;<span class="comment">// Tests if the given Resource needs to be checkpointed on the slave.</span></div>
+<div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;<span class="comment">// NOTE: We assume the given resource is validated.</span></div>
+<div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;<span class="keywordtype">bool</span> <a class="code" href="namespacemesos.html#a4c15c1f79f8e77b9c96823ce2313b4aa">needCheckpointing</a>(<span class="keyword">const</span> Resource&amp; resource);</div>
+<div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;</div>
+<div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;<span class="comment">// Returns the total resources by applying the given checkpointed</span></div>
+<div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;<span class="comment">// resources to the given resources. This function is useful when we</span></div>
+<div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;<span class="comment">// want to calculate the total resources of a slave from the resources</span></div>
+<div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;<span class="comment">// specified from the command line and the checkpointed resources.</span></div>
+<div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;<span class="comment">// Returns error if the given resources are not compatible with the</span></div>
+<div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;<span class="comment">// given checkpointed resources.</span></div>
+<div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;<a class="code" href="classTry.html">Try&lt;Resources&gt;</a> <a class="code" href="namespacemesos.html#aa29c69dc413109882c5009aec52b50b2">applyCheckpointedResources</a>(</div>
+<div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;    <span class="keyword">const</span> Resources&amp; resources,</div>
+<div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;    <span class="keyword">const</span> Resources&amp; checkpointedResources);</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="comment">// Resource format options to be used with the `convertResourceFormat` function.</span></div>
+<div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;<span class="comment">//</span></div>
+<div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;<span class="comment">// The preconditions of the options are asymmetric, centered around the</span></div>
+<div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;<span class="comment">// &quot;post-reservation-refinement&quot; format. This is mainly due to the fact that</span></div>
+<div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;<span class="comment">// &quot;post-reservation-refinement&quot; format is our canonical representation.</span></div>
+<div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;<span class="comment">// The transformations are generally applied to any of the 3 formats to be</span></div>
+<div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;<span class="comment">// converted to the canonical format, then later converted back as necessary.</span></div>
+<div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;<span class="comment">//</span></div>
+<div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;<span class="comment">// See &#39;Resource Format&#39; section in `mesos.proto` for more details.</span></div>
+<div class="line"><a name="l00058"></a><span class="lineno"><a class="line" href="namespacemesos.html#aeea322fd31c5b71ac06c65bcf1241a82">   58</a></span>&#160;<span class="keyword">enum</span> <a class="code" href="namespacemesos.html#aeea322fd31c5b71ac06c65bcf1241a82">ResourceFormat</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="comment">// &quot;post-reservation-refinement&quot; -&gt; &quot;pre-reservation-refinement&quot;</span></div>
+<div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;  <span class="comment">//</span></div>
+<div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;  <span class="comment">// The `Resource` objects must be in the &quot;post-reservation-refinement&quot; format,</span></div>
+<div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;  <span class="comment">// and must not have refined reservations.</span></div>
+<div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;  <span class="comment">//</span></div>
+<div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;  <span class="comment">// All resources end up with the `Resource.role` and `Resource.reservation`</span></div>
+<div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;  <span class="comment">// fields set, and the `Resource.reservations` field unset.</span></div>
+<div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;  <span class="comment">//</span></div>
+<div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;  <span class="comment">// We convert the resources to the &quot;pre-reservation-refinement&quot; format to</span></div>
+<div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;  <span class="comment">// checkpoint resources for example. This enables downgrading to an agent</span></div>
+<div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;  <span class="comment">// without a RESERVATION_REFINEMENT caapbility, since the resources will</span></div>
+<div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;  <span class="comment">// be checkpointed in a format that the downgraded agent can recover from.</span></div>
+<div class="line"><a name="l00072"></a><span class="lineno"><a class="line" href="namespacemesos.html#aeea322fd31c5b71ac06c65bcf1241a82ad24f1702a48dcce5a1688eec0519fb5c">   72</a></span>&#160;  <a class="code" href="namespacemesos.html#aeea322fd31c5b71ac06c65bcf1241a82ad24f1702a48dcce5a1688eec0519fb5c">PRE_RESERVATION_REFINEMENT</a>,</div>
+<div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;</div>
+<div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;  <span class="comment">// &quot;pre-reservation-refinement&quot;  -&gt; &quot;post-reservation-refinement&quot;</span></div>
+<div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;  <span class="comment">// &quot;post-reservation-refinement&quot; -&gt; &quot;post-reservation-refinement&quot;</span></div>
+<div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;  <span class="comment">// &quot;endpoint&quot;                    -&gt; &quot;post-reservation-refinement&quot;</span></div>
+<div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;  <span class="comment">//</span></div>
+<div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;  <span class="comment">// The `Resource` objects can be in any of the valid resource formats:</span></div>
+<div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;  <span class="comment">// &quot;pre-reservation-refinement&quot;, &quot;post-reservation-refinement&quot;, &quot;endpoint&quot;.</span></div>
+<div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;  <span class="comment">//</span></div>
+<div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;  <span class="comment">// All resources end up with the `Resource.reservations` field set,</span></div>
+<div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;  <span class="comment">// and the `Resource.role` and `Resource.reservation` fields unset.</span></div>
+<div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;  <span class="comment">//</span></div>
+<div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;  <span class="comment">// If the `Resource` objects are already in the &quot;post-reservation-refinement&quot;</span></div>
+<div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;  <span class="comment">// format, this is a no-op.</span></div>
+<div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;  <span class="comment">//</span></div>
+<div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;  <span class="comment">// We convert the resources to the &quot;post-reservation-refinement&quot; format,</span></div>
+<div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;  <span class="comment">// for example, when a master receives a message from an agent without</span></div>
+<div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;  <span class="comment">// the RESERVATION_REFINEMENT capability. This allows a component</span></div>
+<div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;  <span class="comment">// (e.g. master) code to deal with a canonical format to simplify the code.</span></div>
+<div class="line"><a name="l00091"></a><span class="lineno"><a class="line" href="namespacemesos.html#aeea322fd31c5b71ac06c65bcf1241a82acc3723fdea465eaae535d3c19da528f2">   91</a></span>&#160;  <a class="code" href="namespacemesos.html#aeea322fd31c5b71ac06c65bcf1241a82acc3723fdea465eaae535d3c19da528f2">POST_RESERVATION_REFINEMENT</a>,</div>
+<div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;</div>
+<div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;  <span class="comment">// &quot;post-reservation-refinement&quot; -&gt; &quot;endpoint&quot;</span></div>
+<div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;  <span class="comment">//</span></div>
+<div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;  <span class="comment">// This is a special case for endpoints, which injects</span></div>
+<div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;  <span class="comment">// the &quot;pre-reservation-refinement&quot; format.</span></div>
 <div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;  <span class="comment">//</span></div>
-<div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;  <span class="comment">// All resources continue to have the `Resource.reservations` field set.</span></div>
-<div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;  <span class="comment">// The `Resource` objects without refined reservations end up with the</span></div>
-<div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;  <span class="comment">// `Resource.role` and `Resource.reservation` fields set, and the objects</span></div>
-<div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;  <span class="comment">// with refined reservations have them unset.</span></div>
-<div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;  <span class="comment">//</span></div>
-<div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;  <span class="comment">// We inject the resources with the &quot;pre-reservation-refinement&quot; format to</span></div>
-<div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160;  <span class="comment">// enable backward compatibility with external tooling. If the master has been</span></div>
-<div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160;  <span class="comment">// upgraded to a version that supports reservation refinement but no refined</span></div>
-<div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160;  <span class="comment">// reservations have been made, the endpoints will return the data in both new</span></div>
-<div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;  <span class="comment">// and old formats to maximize backward compatibility. However, once</span></div>
-<div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;  <span class="comment">// a reservation refinement is made to a resource, that resource is only</span></div>
-<div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;  <span class="comment">// returned in the new format.</span></div>
-<div class="line"><a name="l00110"></a><span class="lineno"><a class="line" href="namespacemesos.html#aeea322fd31c5b71ac06c65bcf1241a82a3f59e6dad3a4b4f6aff438d84c0ab0d6">  110</a></span>&#160;  <a class="code" href="namespacemesos.html#aeea322fd31c5b71ac06c65bcf1241a82a3f59e6dad3a4b4f6aff438d84c0ab0d6">ENDPOINT</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;</div>
-<div class="line"><a name="l00113"></a><span class="lineno">  113</span>&#160;</div>
-<div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160;<span class="comment">// Converts the given `Resource` to the specified `ResourceFormat`.</span></div>
-<div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160;<span class="comment">//</span></div>
-<div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160;<span class="comment">// See the &quot;Resource Format&quot; section in `mesos.proto` for more details.</span></div>
-<div class="line"><a name="l00117"></a><span class="lineno">  117</span>&#160;<span class="comment">// See the `ResourceFormat` enum above for more details.</span></div>
-<div class="line"><a name="l00118"></a><span class="lineno">  118</span>&#160;<span class="keywordtype">void</span> <a class="code" href="namespacemesos.html#ad0bd8e49e373a07b70645e94527af581">convertResourceFormat</a>(Resource* resource, <a class="code" href="namespacemesos.html#aeea322fd31c5b71ac06c65bcf1241a82">ResourceFormat</a> <a class="code" href="namespacestrings_1_1internal.html#a870e2db270d980f83de20525ec414d2a">format</a>);</div>
-<div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160;</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="comment">// Converts the given `Resource`s to the specified `ResourceFormat`.</span></div>
-<div class="line"><a name="l00122"></a><span class="lineno">  122</span>&#160;<span class="keywordtype">void</span> <a class="code" href="namespacemesos.html#ad0bd8e49e373a07b70645e94527af581">convertResourceFormat</a>(</div>
-<div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160;    google::protobuf::RepeatedPtrField&lt;Resource&gt;* resources,</div>
-<div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;    <a class="code" href="namespacemesos.html#aeea322fd31c5b71ac06c65bcf1241a82">ResourceFormat</a> <a class="code" href="namespacestrings_1_1internal.html#a870e2db270d980f83de20525ec414d2a">format</a>);</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;</div>
-<div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160;<span class="comment">// Converts the given `Resource`s to the specified `ResourceFormat`.</span></div>
-<div class="line"><a name="l00128"></a><span class="lineno">  128</span>&#160;<span class="keywordtype">void</span> <a class="code" href="namespacemesos.html#ad0bd8e49e373a07b70645e94527af581">convertResourceFormat</a>(</div>
-<div class="line"><a name="l00129"></a><span class="lineno">  129</span>&#160;    std::vector&lt;Resource&gt;* resources,</div>
-<div class="line"><a name="l00130"></a><span class="lineno">  130</span>&#160;    <a class="code" href="namespacemesos.html#aeea322fd31c5b71ac06c65bcf1241a82">ResourceFormat</a> <a class="code" href="namespacestrings_1_1internal.html#a870e2db270d980f83de20525ec414d2a">format</a>);</div>
-<div class="line"><a name="l00131"></a><span class="lineno">  131</span>&#160;</div>
-<div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160;</div>
-<div class="line"><a name="l00133"></a><span class="lineno">  133</span>&#160;<span class="comment">// Convert the given resources to the &quot;post-reservation-refinement&quot; format</span></div>
-<div class="line"><a name="l00134"></a><span class="lineno">  134</span>&#160;<span class="comment">// from any format (&quot;pre-&quot;, &quot;post-&quot; or &quot;endpoint&quot;) if all of the resources</span></div>
-<div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160;<span class="comment">// are valid. Returns an `Error` if there are any invalid resources present;</span></div>
-<div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160;<span class="comment">// in this case, the resources are left unchanged.</span></div>
-<div class="line"><a name="l00137"></a><span class="lineno">  137</span>&#160;<a class="code" href="classOption.html">Option&lt;Error&gt;</a> <a class="code" href="namespacemesos.html#ab7015df2a396a52ec965c062cccd3032">validateAndUpgradeResources</a>(</div>
-<div class="line"><a name="l00138"></a><span class="lineno">  138</span>&#160;    google::protobuf::RepeatedPtrField&lt;Resource&gt;* resources);</div>
-<div class="line"><a name="l00139"></a><span class="lineno">  139</span>&#160;</div>
-<div class="line"><a name="l00140"></a><span class="lineno">  140</span>&#160;</div>
-<div class="line"><a name="l00141"></a><span class="lineno">  141</span>&#160;<span class="comment">// Convert the given resources to the &quot;pre-reservation-refinement&quot; format</span></div>
-<div class="line"><a name="l00142"></a><span class="lineno">  142</span>&#160;<span class="comment">// if none of the resources have refined reservations. Returns an `Error`</span></div>
-<div class="line"><a name="l00143"></a><span class="lineno">  143</span>&#160;<span class="comment">// if there are any refined reservations present; in this case, the resources</span></div>
-<div class="line"><a name="l00144"></a><span class="lineno">  144</span>&#160;<span class="comment">// are left in the &quot;post-reservation-refinement&quot; format.</span></div>
-<div class="line"><a name="l00145"></a><span class="lineno">  145</span>&#160;<a class="code" href="classTry.html">Try&lt;Nothing&gt;</a> <a class="code" href="namespacemesos.html#ab6aedf5b9bda94224599094cb8140c83">downgradeResources</a>(</div>
-<div class="line"><a name="l00146"></a><span class="lineno">  146</span>&#160;    google::protobuf::RepeatedPtrField&lt;Resource&gt;* resources);</div>
-<div class="line"><a name="l00147"></a><span class="lineno">  147</span>&#160;</div>
-<div class="line"><a name="l00148"></a><span class="lineno">  148</span>&#160;} <span class="comment">// namespace mesos {</span></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="preprocessor">#endif // __RESOURCES_UTILS_HPP__</span></div>
+<div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;  <span class="comment">// The `Resource` objects must be in the &quot;post-reservation-refinement&quot; format.</span></div>
+<div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;  <span class="comment">//</span></div>
+<div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;  <span class="comment">// All resources continue to have the `Resource.reservations` field set.</span></div>
+<div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;  <span class="comment">// The `Resource` objects without refined reservations end up with the</span></div>
+<div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;  <span class="comment">// `Resource.role` and `Resource.reservation` fields set, and the objects</span></div>
+<div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;  <span class="comment">// with refined reservations have them unset.</span></div>
+<div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160;  <span class="comment">//</span></div>
+<div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160;  <span class="comment">// We inject the resources with the &quot;pre-reservation-refinement&quot; format to</span></div>
+<div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160;  <span class="comment">// enable backward compatibility with external tooling. If the master has been</span></div>
+<div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;  <span class="comment">// upgraded to a version that supports reservation refinement but no refined</span></div>
+<div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;  <span class="comment">// reservations have been made, the endpoints will return the data in both new</span></div>
+<div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;  <span class="comment">// and old formats to maximize backward compatibility. However, once</span></div>
+<div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160;  <span class="comment">// a reservation refinement is made to a resource, that resource is only</span></div>
+<div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;  <span class="comment">// returned in the new format.</span></div>
+<div class="line"><a name="l00112"></a><span class="lineno"><a class="line" href="namespacemesos.html#aeea322fd31c5b71ac06c65bcf1241a82a3f59e6dad3a4b4f6aff438d84c0ab0d6">  112</a></span>&#160;  <a class="code" href="namespacemesos.html#aeea322fd31c5b71ac06c65bcf1241a82a3f59e6dad3a4b4f6aff438d84c0ab0d6">ENDPOINT</a></div>
+<div class="line"><a name="l00113"></a><span class="lineno">  113</span>&#160;};</div>
+<div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160;</div>
+<div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160;</div>
+<div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160;<span class="comment">// Converts the given `Resource` to the specified `ResourceFormat`.</span></div>
+<div class="line"><a name="l00117"></a><span class="lineno">  117</span>&#160;<span class="comment">//</span></div>
+<div class="line"><a name="l00118"></a><span class="lineno">  118</span>&#160;<span class="comment">// See the &quot;Resource Format&quot; section in `mesos.proto` for more details.</span></div>
+<div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160;<span class="comment">// See the `ResourceFormat` enum above for more details.</span></div>
+<div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160;<span class="keywordtype">void</span> <a class="code" href="namespacemesos.html#ad0bd8e49e373a07b70645e94527af581">convertResourceFormat</a>(Resource* resource, <a class="code" href="namespacemesos.html#aeea322fd31c5b71ac06c65bcf1241a82">ResourceFormat</a> <a class="code" href="namespacestrings_1_1internal.html#a870e2db270d980f83de20525ec414d2a">format</a>);</div>
+<div class="line"><a name="l00121"></a><span class="lineno">  121</span>&#160;</div>
+<div class="line"><a name="l00122"></a><span class="lineno">  122</span>&#160;</div>
+<div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160;<span class="comment">// Converts the given `Resource`s to the specified `ResourceFormat`.</span></div>
+<div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;<span class="keywordtype">void</span> <a class="code" href="namespacemesos.html#ad0bd8e49e373a07b70645e94527af581">convertResourceFormat</a>(</div>
+<div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;    google::protobuf::RepeatedPtrField&lt;Resource&gt;* resources,</div>
+<div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160;    <a class="code" href="namespacemesos.html#aeea322fd31c5b71ac06c65bcf1241a82">ResourceFormat</a> <a class="code" href="namespacestrings_1_1internal.html#a870e2db270d980f83de20525ec414d2a">format</a>);</div>
+<div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160;</div>
+<div class="line"><a name="l00128"></a><span class="lineno">  128</span>&#160;</div>
+<div class="line"><a name="l00129"></a><span class="lineno">  129</span>&#160;<span class="comment">// Converts the given `Resource`s to the specified `ResourceFormat`.</span></div>
+<div class="line"><a name="l00130"></a><span class="lineno">  130</span>&#160;<span class="keywordtype">void</span> <a class="code" href="namespacemesos.html#ad0bd8e49e373a07b70645e94527af581">convertResourceFormat</a>(</div>
+<div class="line"><a name="l00131"></a><span class="lineno">  131</span>&#160;    std::vector&lt;Resource&gt;* resources,</div>
+<div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160;    <a class="code" href="namespacemesos.html#aeea322fd31c5b71ac06c65bcf1241a82">ResourceFormat</a> <a class="code" href="namespacestrings_1_1internal.html#a870e2db270d980f83de20525ec414d2a">format</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;</div>
+<div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160;<span class="comment">// Convert the resources in the given `Operation` to the</span></div>
+<div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160;<span class="comment">// &quot;post-reservation-refinement&quot; format from any format</span></div>
+<div class="line"><a name="l00137"></a><span class="lineno">  137</span>&#160;<span class="comment">// (&quot;pre-&quot;, &quot;post-&quot; or &quot;endpoint&quot;) if all of the resources are valid.</span></div>
+<div class="line"><a name="l00138"></a><span class="lineno">  138</span>&#160;<span class="comment">// Returns an `Error` if there are any invalid resources present;</span></div>
+<div class="line"><a name="l00139"></a><span class="lineno">  139</span>&#160;<span class="comment">// in this case, all resources are left unchanged.</span></div>
+<div class="line"><a name="l00140"></a><span class="lineno">  140</span>&#160;<span class="comment">// NOTE: The validate and upgrade steps are bundled because currently</span></div>
+<div class="line"><a name="l00141"></a><span class="lineno">  141</span>&#160;<span class="comment">// it would be an error to validate but not upgrade or to upgrade</span></div>
+<div class="line"><a name="l00142"></a><span class="lineno">  142</span>&#160;<span class="comment">// without validating.</span></div>
+<div class="line"><a name="l00143"></a><span class="lineno">  143</span>&#160;<a class="code" href="classOption.html">Option&lt;Error&gt;</a> <a class="code" href="namespacemesos.html#ac533aafba65560d778e909ab03cd2479">validateAndNormalizeResources</a>(Offer::Operation* operation);</div>
+<div class="line"><a name="l00144"></a><span class="lineno">  144</span>&#160;</div>
+<div class="line"><a name="l00145"></a><span class="lineno">  145</span>&#160;</div>
+<div class="line"><a name="l00146"></a><span class="lineno">  146</span>&#160;<span class="comment">// Convert the given resources to the &quot;pre-reservation-refinement&quot; format</span></div>
+<div class="line"><a name="l00147"></a><span class="lineno">  147</span>&#160;<span class="comment">// if none of the resources have refined reservations. Returns an `Error`</span></div>
+<div class="line"><a name="l00148"></a><span class="lineno">  148</span>&#160;<span class="comment">// if there are any refined reservations present; in this case, the resources</span></div>
+<div class="line"><a name="l00149"></a><span class="lineno">  149</span>&#160;<span class="comment">// are left in the &quot;post-reservation-refinement&quot; format.</span></div>
+<div class="line"><a name="l00150"></a><span class="lineno">  150</span>&#160;<a class="code" href="classTry.html">Try&lt;Nothing&gt;</a> <a class="code" href="namespacemesos.html#ab6aedf5b9bda94224599094cb8140c83">downgradeResources</a>(</div>
+<div class="line"><a name="l00151"></a><span class="lineno">  151</span>&#160;    google::protobuf::RepeatedPtrField&lt;Resource&gt;* resources);</div>
+<div class="line"><a name="l00152"></a><span class="lineno">  152</span>&#160;</div>
+<div class="line"><a name="l00153"></a><span class="lineno">  153</span>&#160;} <span class="comment">// namespace mesos {</span></div>
+<div class="line"><a name="l00154"></a><span class="lineno">  154</span>&#160;</div>
+<div class="line"><a name="l00155"></a><span class="lineno">  155</span>&#160;<span class="preprocessor">#endif // __RESOURCES_UTILS_HPP__</span></div>
 <div class="ttc" id="resources_8hpp_html"><div class="ttname"><a href="resources_8hpp.html">resources.hpp</a></div></div>
 <div class="ttc" id="namespacemesos_html_ab6aedf5b9bda94224599094cb8140c83"><div class="ttname"><a href="namespacemesos.html#ab6aedf5b9bda94224599094cb8140c83">mesos::downgradeResources</a></div><div class="ttdeci">Try&lt; Nothing &gt; downgradeResources(google::protobuf::RepeatedPtrField&lt; Resource &gt; *resources)</div></div>
-<div class="ttc" id="namespacemesos_html_aeea322fd31c5b71ac06c65bcf1241a82acc3723fdea465eaae535d3c19da528f2"><div class="ttname"><a href="namespacemesos.html#aeea322fd31c5b71ac06c65bcf1241a82acc3723fdea465eaae535d3c19da528f2">mesos::POST_RESERVATION_REFINEMENT</a></div><div class="ttdef"><b>Definition:</b> resources_utils.hpp:89</div></div>
+<div class="ttc" id="namespacemesos_html_aeea322fd31c5b71ac06c65bcf1241a82acc3723fdea465eaae535d3c19da528f2"><div class="ttname"><a href="namespacemesos.html#aeea322fd31c5b71ac06c65bcf1241a82acc3723fdea465eaae535d3c19da528f2">mesos::POST_RESERVATION_REFINEMENT</a></div><div class="ttdef"><b>Definition:</b> resources_utils.hpp:91</div></div>
 <div class="ttc" id="classOption_html"><div class="ttname"><a href="classOption.html">Option&lt; Error &gt;</a></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="namespacemesos_html_ac533aafba65560d778e909ab03cd2479"><div class="ttname"><a href="namespacemesos.html#ac533aafba65560d778e909ab03cd2479">mesos::validateAndNormalizeResources</a></div><div class="ttdeci">Option&lt; Error &gt; validateAndNormalizeResources(Offer::Operation *operation)</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="namespacemesos_html_ad0bd8e49e373a07b70645e94527af581"><div class="ttname"><a href="namespacemesos.html#ad0bd8e49e373a07b70645e94527af581">mesos::convertResourceFormat</a></div><div class="ttdeci">void convertResourceFormat(Resource *resource, ResourceFormat format)</div></div>
-<div class="ttc" id="namespacemesos_html_aeea322fd31c5b71ac06c65bcf1241a82ad24f1702a48dcce5a1688eec0519fb5c"><div class="ttname"><a href="namespacemesos.html#aeea322fd31c5b71ac06c65bcf1241a82ad24f1702a48dcce5a1688eec0519fb5c">mesos::PRE_RESERVATION_REFINEMENT</a></div><div class="ttdef"><b>Definition:</b> resources_utils.hpp:70</div></div>
-<div class="ttc" id="namespacemesos_html_ab7015df2a396a52ec965c062cccd3032"><div class="ttname"><a href="namespacemesos.html#ab7015df2a396a52ec965c062cccd3032">mesos::validateAndUpgradeResources</a></div><div class="ttdeci">Option&lt; Error &gt; validateAndUpgradeResources(google::protobuf::RepeatedPtrField&lt; Resource &gt; *resources)</div></div>
+<div class="ttc" id="namespacemesos_html_aeea322fd31c5b71ac06c65bcf1241a82ad24f1702a48dcce5a1688eec0519fb5c"><div class="ttname"><a href="namespacemesos.html#aeea322fd31c5b71ac06c65bcf1241a82ad24f1702a48dcce5a1688eec0519fb5c">mesos::PRE_RESERVATION_REFINEMENT</a></div><div class="ttdef"><b>Definition:</b> resources_utils.hpp:72</div></div>
 <div class="ttc" id="nothing_8hpp_html"><div class="ttname"><a href="nothing_8hpp.html">nothing.hpp</a></div></div>
-<div class="ttc" id="namespacemesos_html_aeea322fd31c5b71ac06c65bcf1241a82a3f59e6dad3a4b4f6aff438d84c0ab0d6"><div class="ttname"><a href="namespacemesos.html#aeea322fd31c5b71ac06c65bcf1241a82a3f59e6dad3a4b4f6aff438d84c0ab0d6">mesos::ENDPOINT</a></div><div class="ttdef"><b>Definition:</b> resources_utils.hpp:110</div></div>
+<div class="ttc" id="namespacemesos_html_aeea322fd31c5b71ac06c65bcf1241a82a3f59e6dad3a4b4f6aff438d84c0ab0d6"><div class="ttname"><a href="namespacemesos.html#aeea322fd31c5b71ac06c65bcf1241a82a3f59e6dad3a4b4f6aff438d84c0ab0d6">mesos::ENDPOINT</a></div><div class="ttdef"><b>Definition:</b> resources_utils.hpp:112</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="namespacemesos_html_a4c15c1f79f8e77b9c96823ce2313b4aa"><div class="ttname"><a href="namespacemesos.html#a4c15c1f79f8e77b9c96823ce2313b4aa">mesos::needCheckpointing</a></div><div class="ttdeci">bool needCheckpointing(const Resource &amp;resource)</div></div>
+<div class="ttc" id="error_8hpp_html"><div class="ttname"><a href="error_8hpp.html">error.hpp</a></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="namespacemesos_html_aa29c69dc413109882c5009aec52b50b2"><div class="ttname"><a href="namespacemesos.html#aa29c69dc413109882c5009aec52b50b2">mesos::applyCheckpointedResources</a></div><div class="ttdeci">Try&lt; Resources &gt; applyCheckpointedResources(const Resources &amp;resources, const Resources &amp;checkpointedResources)</div></div>
 <div class="ttc" id="namespacestrings_1_1internal_html_a870e2db270d980f83de20525ec414d2a"><div class="ttname"><a href="namespacestrings_1_1internal.html#a870e2db270d980f83de20525ec414d2a">strings::internal::format</a></div><div class="ttdeci">Try&lt; std::string &gt; format(const std::string &amp;fmt, va_list args)</div><div class="ttdef"><b>Definition:</b> format.hpp:68</div></div>
-<div class="ttc" id="namespacemesos_html_aeea322fd31c5b71ac06c65bcf1241a82"><div class="ttname"><a href="namespacemesos.html#aeea322fd31c5b71ac06c65bcf1241a82">mesos::ResourceFormat</a></div><div class="ttdeci">ResourceFormat</div><div class="ttdef"><b>Definition:</b> resources_utils.hpp:56</div></div>
+<div class="ttc" id="namespacemesos_html_aeea322fd31c5b71ac06c65bcf1241a82"><div class="ttname"><a href="namespacemesos.html#aeea322fd31c5b71ac06c65bcf1241a82">mesos::ResourceFormat</a></div><div class="ttdeci">ResourceFormat</div><div class="ttdef"><b>Definition:</b> resources_utils.hpp:58</div></div>
 </div><!-- fragment --></div><!-- contents -->
 <!-- start footer part -->
 <hr class="footer"/><address class="footer"><small>

http://git-wip-us.apache.org/repos/asf/mesos-site/blob/ba48e30e/content/api/latest/c++/containerizer_2mesos_2paths_8hpp_source.html
----------------------------------------------------------------------
diff --git a/content/api/latest/c++/containerizer_2mesos_2paths_8hpp_source.html b/content/api/latest/c++/containerizer_2mesos_2paths_8hpp_source.html
index aadcdd4..822e941 100644
--- a/content/api/latest/c++/containerizer_2mesos_2paths_8hpp_source.html
+++ b/content/api/latest/c++/containerizer_2mesos_2paths_8hpp_source.html
@@ -120,7 +120,7 @@
 <div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;std::string <a class="code" href="namespacemesos_1_1internal_1_1slave_1_1containerizer_1_1paths.html#a653d0434259f0a4f7a51593de97e565f">buildPath</a>(</div>
 <div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;    <span class="keyword">const</span> ContainerID&amp; containerId,</div>
 <div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;    <span class="keyword">const</span> std::string&amp; separator,</div>
-<div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;    <span class="keyword">const</span> <a class="code" href="namespacemesos_1_1internal_1_1slave_1_1containerizer_1_1paths.html#abb8ab3e62de157d1a7a81e08888ec30c">Mode</a>&amp; <a class="code" href="namespaceos_1_1stat.html#a0b77d3699a25c2c39a29b36062f07321">mode</a>);</div>
+<div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;    <span class="keyword">const</span> <a class="code" href="namespacemesos_1_1internal_1_1slave_1_1containerizer_1_1paths.html#abb8ab3e62de157d1a7a81e08888ec30c">Mode</a>&amp; <a class="code" href="namespaceos_1_1stat.html#afc51654ad486693167c300612bf8ebfa">mode</a>);</div>
 <div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;</div>
 <div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;</div>
 <div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;<span class="comment">// The containerizer uses the runtime directory (flag &#39;runtime_dir&#39;)</span></div>
@@ -261,7 +261,6 @@
 <div class="ttc" id="namespacemesos_1_1internal_1_1slave_1_1containerizer_1_1paths_html_a6eeb2befd01d8b66e10d09d574c103d1"><div class="ttname"><a href="namespacemesos_1_1internal_1_1slave_1_1containerizer_1_1paths.html#a6eeb2befd01d8b66e10d09d574c103d1">mesos::internal::slave::containerizer::paths::CONTAINER_DIRECTORY</a></div><div class="ttdeci">constexpr char CONTAINER_DIRECTORY[]</div><div class="ttdef"><b>Definition:</b> paths.hpp:46</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="namespacemesos_1_1internal_1_1slave_1_1containerizer_1_1paths_html_abb8ab3e62de157d1a7a81e08888ec30c"><div class="ttname"><a href="namespacemesos_1_1internal_1_1slave_1_1containerizer_1_1paths.html#abb8ab3e62de157d1a7a81e08888ec30c">mesos::internal::slave::containerizer::paths::Mode</a></div><div class="ttdeci">Mode</div><div class="ttdef"><b>Definition:</b> paths.hpp:50</div></div>
-<div class="ttc" id="namespaceos_1_1stat_html_a0b77d3699a25c2c39a29b36062f07321"><div class="ttname"><a href="namespaceos_1_1stat.html#a0b77d3699a25c2c39a29b36062f07321">os::stat::mode</a></div><div class="ttdeci">Try&lt; mode_t &gt; mode(const std::string &amp;path, const FollowSymlink follow=FOLLOW_SYMLINK)</div><div class="ttdef"><b>Definition:</b> stat.hpp:114</div></div>
 <div class="ttc" id="namespacemesos_1_1internal_1_1slave_1_1containerizer_1_1paths_html_a7b416a3b94a61c02488bf1db88da76cc"><div class="ttname"><a href="namespacemesos_1_1internal_1_1slave_1_1containerizer_1_1paths.html#a7b416a3b94a61c02488bf1db88da76cc">mesos::internal::slave::containerizer::paths::getContainerForceDestroyOnRecoveryPath</a></div><div class="ttdeci">std::string getContainerForceDestroyOnRecoveryPath(const std::string &amp;runtimeDir, const ContainerID &amp;containerId)</div></div>
 <div class="ttc" id="namespacemesos_1_1internal_1_1slave_1_1containerizer_1_1paths_html_adfbafba703eb6711c0133a7d75313eb3"><div class="ttname"><a href="namespacemesos_1_1internal_1_1slave_1_1containerizer_1_1paths.html#adfbafba703eb6711c0133a7d75313eb3">mesos::internal::slave::containerizer::paths::getContainerIOSwitchboardSocketPath</a></div><div class="ttdeci">std::string getContainerIOSwitchboardSocketPath(const std::string &amp;runtimeDir, const ContainerID &amp;containerId)</div></div>
 <div class="ttc" id="namespacemesos_1_1internal_1_1slave_1_1containerizer_1_1paths_html_a586ef837d89f4e1cb575379a8b38705e"><div class="ttname"><a href="namespacemesos_1_1internal_1_1slave_1_1containerizer_1_1paths.html#a586ef837d89f4e1cb575379a8b38705e">mesos::internal::slave::containerizer::paths::getContainerPid</a></div><div class="ttdeci">Result&lt; pid_t &gt; getContainerPid(const std::string &amp;runtimeDir, const ContainerID &amp;containerId)</div></div>
@@ -278,6 +277,7 @@
 <div class="ttc" id="try_8hpp_html"><div class="ttname"><a href="try_8hpp.html">try.hpp</a></div></div>
 <div class="ttc" id="namespacemesos_1_1internal_1_1slave_1_1containerizer_1_1paths_html_abb8ab3e62de157d1a7a81e08888ec30cabf80c29a65453b2615d8f9bd83f8f3d6"><div class="ttname"><a href="namespacemesos_1_1internal_1_1slave_1_1containerizer_1_1paths.html#abb8ab3e62de157d1a7a81e08888ec30cabf80c29a65453b2615d8f9bd83f8f3d6">mesos::internal::slave::containerizer::paths::PREFIX</a></div><div class="ttdef"><b>Definition:</b> paths.hpp:52</div></div>
 <div class="ttc" id="namespacemesos_1_1internal_1_1slave_1_1containerizer_1_1paths_html_a579f11fd11074169f5a4a77a653e323d"><div class="ttname"><a href="namespacemesos_1_1internal_1_1slave_1_1containerizer_1_1paths.html#a579f11fd11074169f5a4a77a653e323d">mesos::internal::slave::containerizer::paths::CONTAINER_LAUNCH_INFO_FILE</a></div><div class="ttdeci">constexpr char CONTAINER_LAUNCH_INFO_FILE[]</div><div class="ttdef"><b>Definition:</b> paths.hpp:47</div></div>
+<div class="ttc" id="namespaceos_1_1stat_html_afc51654ad486693167c300612bf8ebfa"><div class="ttname"><a href="namespaceos_1_1stat.html#afc51654ad486693167c300612bf8ebfa">os::stat::mode</a></div><div class="ttdeci">Try&lt; mode_t &gt; mode(const std::string &amp;path, const FollowSymlink follow=FollowSymlink::FOLLOW_SYMLINK)</div><div class="ttdef"><b>Definition:</b> stat.hpp:126</div></div>
 <div class="ttc" id="namespacemesos_1_1internal_1_1slave_1_1containerizer_1_1paths_html_aad1a2f63dc7f59fad08fcc0b26843a24"><div class="ttname"><a href="namespacemesos_1_1internal_1_1slave_1_1containerizer_1_1paths.html#aad1a2f63dc7f59fad08fcc0b26843a24">mesos::internal::slave::containerizer::paths::getContainerStatus</a></div><div class="ttdeci">Result&lt; int &gt; getContainerStatus(const std::string &amp;runtimeDir, const ContainerID &amp;containerId)</div></div>
 <div class="ttc" id="namespacemesos_1_1internal_1_1slave_1_1containerizer_1_1paths_html_ad85b281334a82974dd385129bd8c6d1a"><div class="ttname"><a href="namespacemesos_1_1internal_1_1slave_1_1containerizer_1_1paths.html#ad85b281334a82974dd385129bd8c6d1a">mesos::internal::slave::containerizer::paths::getContainerForceDestroyOnRecovery</a></div><div class="ttdeci">bool getContainerForceDestroyOnRecovery(const std::string &amp;runtimeDir, const ContainerID &amp;containerId)</div></div>
 <div class="ttc" id="namespacemesos_1_1internal_1_1slave_1_1containerizer_1_1paths_html_a5f3475b6a2623238728e875c5e9be17f"><div class="ttname"><a href="namespacemesos_1_1internal_1_1slave_1_1containerizer_1_1paths.html#a5f3475b6a2623238728e875c5e9be17f">mesos::internal::slave::containerizer::paths::getContainerIOSwitchboardPid</a></div><div class="ttdeci">Result&lt; pid_t &gt; getContainerIOSwitchboardPid(const std::string &amp;runtimeDir, const ContainerID &amp;containerId)</div></div>

http://git-wip-us.apache.org/repos/asf/mesos-site/blob/ba48e30e/content/api/latest/c++/count__down__latch_8hpp.html
----------------------------------------------------------------------
diff --git a/content/api/latest/c++/count__down__latch_8hpp.html b/content/api/latest/c++/count__down__latch_8hpp.html
new file mode 100644
index 0000000..a219ad3
--- /dev/null
+++ b/content/api/latest/c++/count__down__latch_8hpp.html
@@ -0,0 +1,81 @@
+<!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: 3rdparty/libprocess/include/process/count_down_latch.hpp File Reference</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_8cab8f464681f7cc51cee77e79a434cd.html">3rdparty</a></li><li class="navelem"><a class="el" href="dir_043a76de98701f9bddf61b5e98f305ff.html">libprocess</a></li><li class="navelem"><a class="el" href="dir_eac18f7a64f6f8afbd1493ef4e09abdb.html">include</a></li><li class="navelem"><a class="el" href="dir_1894286df79cf582d947dbc4268b06cf.html">process</a></li>  </ul>
+</div>
+</div><!-- top -->
+<div class="header">
+  <div class="summary">
+<a href="#nested-classes">Classes</a> &#124;
+<a href="#namespaces">Namespaces</a>  </div>
+  <div class="headertitle">
+<div class="title">count_down_latch.hpp File Reference</div>  </div>
+</div><!--header-->
+<div class="contents">
+<div class="textblock"><code>#include &lt;atomic&gt;</code><br/>
+<code>#include &lt;<a class="el" href="future_8hpp_source.html">process/future.hpp</a>&gt;</code><br/>
+</div>
+<p><a href="count__down__latch_8hpp_source.html">Go to the source code of this file.</a></p>
+<table class="memberdecls">
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
+Classes</h2></td></tr>
+<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classprocess_1_1CountDownLatch.html">process::CountDownLatch</a></td></tr>
+<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
+</table><table class="memberdecls">
+<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="namespaces"></a>
+Namespaces</h2></td></tr>
+<tr class="memitem:namespaceprocess"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceprocess.html">process</a></td></tr>
+<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
+</table>
+</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>