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 2018/03/23 08:20:01 UTC

[09/10] mesos-site git commit: Updated the website built from mesos SHA: 043f65f.

http://git-wip-us.apache.org/repos/asf/mesos-site/blob/6a1db555/content/api/latest/c++/evolve_8hpp_source.html
----------------------------------------------------------------------
diff --git a/content/api/latest/c++/evolve_8hpp_source.html b/content/api/latest/c++/evolve_8hpp_source.html
index 41c9fb6..dc3626d 100644
--- a/content/api/latest/c++/evolve_8hpp_source.html
+++ b/content/api/latest/c++/evolve_8hpp_source.html
@@ -52,19 +52,19 @@
 <div class="title">evolve.hpp</div>  </div>
 </div><!--header-->
 <div class="contents">
-<a href="evolve_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 clas
 s="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">// distribute
 d 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 __INTERNAL_EVOLVE_HPP__</span></div><div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="preprocessor">#define __INTERNAL_EVOLVE_HPP__</span></div><div class="line"><a
  name="l00019"></a><span class="lineno">   19</span>&#160;</div><div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="preprocessor">#include &lt;google/protobuf/message.h&gt;</span></div><div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;</div><div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="agent_2agent_8hpp.html">mesos/agent/agent.hpp</a>&gt;</span></div><div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;</div><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="include_2mesos_2master_2master_8hpp.html">mesos/master/master.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="include_2mesos_2executor_2executor_8hpp.html">mesos/executor/executor.hpp</a>&gt;</span></div><div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;</div><div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="include_2mesos_2master_2master_8hpp.html">mesos/master/master.hpp</a>&gt;</span></div><div class="line"><a name="l00032"></a><span cla
 ss="lineno">   32</span>&#160;</div><div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="include_2mesos_2maintenance_2maintenance_8hpp.html">mesos/maintenance/maintenance.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 &lt;<a class="code" href="resource__provider_2resource__provider_8hpp.html">mesos/resource_provider/resource_provider.hpp</a>&gt;</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 &lt;<a class="code" href="scheduler_2scheduler_8hpp.html">mesos/scheduler/scheduler.hpp</a>&gt;</span></div><div class="line"><a name="l00038"></a><span class="lineno">   38</sp
 an>&#160;</div><div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="include_2mesos_2v1_2mesos_8hpp.html">mesos/v1/mesos.hpp</a>&gt;</span></div><div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="v1_2resources_8hpp.html">mesos/v1/resources.hpp</a>&gt;</span></div><div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;</div><div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="v1_2agent_2agent_8hpp.html">mesos/v1/agent/agent.hpp</a>&gt;</span></div><div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;</div><div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="include_2mesos_2v1_2executor_2executo
 r_8hpp.html">mesos/v1/executor/executor.hpp</a>&gt;</span></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;<span class="preprocessor">#include &lt;<a class="code" href="include_2mesos_2v1_2master_2master_8hpp.html">mesos/v1/master/master.hpp</a>&gt;</span></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;<span class="preprocessor">#include &lt;<a class="code" href="v1_2resource__provider_2resource__provider_8hpp.html">mesos/v1/resource_provider/resource_provider.hpp</a>&gt;</span></div><div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;</div><div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="include_2mesos_2v1_2maintenance_2maintenance_
 8hpp.html">mesos/v1/maintenance/maintenance.hpp</a>&gt;</span></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;<span class="preprocessor">#include &lt;<a class="code" href="v1_2scheduler_2scheduler_8hpp.html">mesos/v1/scheduler/scheduler.hpp</a>&gt;</span></div><div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;</div><div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="foreach_8hpp.html">stout/foreach.hpp</a>&gt;</span></div><div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="json_8hpp.html">stout/json.hpp</a>&gt;</span></div><div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;</div><div class="line"><a name="l00057"></a><span class="lineno">
    57</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="l00058"></a><span class="lineno">   58</span>&#160;</div><div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespacemesos.html">mesos</a> {</div><div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespaceinternal.html">internal</a> {</div><div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;</div><div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;<span class="comment">// Helpers for evolving types between versions. Please add as necessary!</span></div><div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;v1::AgentID <a class="code" href="namespacemesos_1_1internal
 .html#a845d4d5a46b931d03f340c8afc58b60a">evolve</a>(<span class="keyword">const</span> SlaveID&amp; slaveId);</div><div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;v1::AgentInfo <a class="code" href="namespacemesos_1_1internal.html#a845d4d5a46b931d03f340c8afc58b60a">evolve</a>(<span class="keyword">const</span> SlaveInfo&amp; slaveInfo);</div><div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;v1::DomainInfo <a class="code" href="namespacemesos_1_1internal.html#a845d4d5a46b931d03f340c8afc58b60a">evolve</a>(<span class="keyword">const</span> DomainInfo&amp; domainInfo);</div><div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;v1::ExecutorID <a class="code" href="namespacemesos_1_1internal.html#a845d4d5a46b931d03f340c8afc58b60a">evolve</a>(<span class="keyword">const</span> ExecutorID&amp; executorId);</div><div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;v1::ExecutorInfo <a c
 lass="code" href="namespacemesos_1_1internal.html#a845d4d5a46b931d03f340c8afc58b60a">evolve</a>(<span class="keyword">const</span> ExecutorInfo&amp; executorInfo);</div><div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;v1::FileInfo <a class="code" href="namespacemesos_1_1internal.html#a845d4d5a46b931d03f340c8afc58b60a">evolve</a>(<span class="keyword">const</span> FileInfo&amp; fileInfo);</div><div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;v1::FrameworkID <a class="code" href="namespacemesos_1_1internal.html#a845d4d5a46b931d03f340c8afc58b60a">evolve</a>(<span class="keyword">const</span> FrameworkID&amp; frameworkId);</div><div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;v1::FrameworkInfo <a class="code" href="namespacemesos_1_1internal.html#a845d4d5a46b931d03f340c8afc58b60a">evolve</a>(<span class="keyword">const</span> FrameworkInfo&amp; frameworkInfo);</div><div class="line"><a name="l00071"><
 /a><span class="lineno">   71</span>&#160;v1::InverseOffer <a class="code" href="namespacemesos_1_1internal.html#a845d4d5a46b931d03f340c8afc58b60a">evolve</a>(<span class="keyword">const</span> InverseOffer&amp; inverseOffer);</div><div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;v1::KillPolicy <a class="code" href="namespacemesos_1_1internal.html#a845d4d5a46b931d03f340c8afc58b60a">evolve</a>(<span class="keyword">const</span> KillPolicy&amp; killPolicy);</div><div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;v1::MachineID <a class="code" href="namespacemesos_1_1internal.html#a845d4d5a46b931d03f340c8afc58b60a">evolve</a>(<span class="keyword">const</span> MachineID&amp; machineId);</div><div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;v1::MasterInfo <a class="code" href="namespacemesos_1_1internal.html#a845d4d5a46b931d03f340c8afc58b60a">evolve</a>(<span class="keyword">const</span> MasterInfo&amp; 
 masterInfo);</div><div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;v1::Offer <a class="code" href="namespacemesos_1_1internal.html#a845d4d5a46b931d03f340c8afc58b60a">evolve</a>(<span class="keyword">const</span> Offer&amp; offer);</div><div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;v1::OfferID <a class="code" href="namespacemesos_1_1internal.html#a845d4d5a46b931d03f340c8afc58b60a">evolve</a>(<span class="keyword">const</span> OfferID&amp; offerId);</div><div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;v1::Resource <a class="code" href="namespacemesos_1_1internal.html#a845d4d5a46b931d03f340c8afc58b60a">evolve</a>(<span class="keyword">const</span> Resource&amp; resource);</div><div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;v1::ResourceProviderID <a class="code" href="namespacemesos_1_1internal.html#a845d4d5a46b931d03f340c8afc58b60a">evolve</a>(<span class="keyword">
 const</span> ResourceProviderID&amp; resourceProviderId);</div><div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;v1::Resources <a class="code" href="namespacemesos_1_1internal.html#a845d4d5a46b931d03f340c8afc58b60a">evolve</a>(<span class="keyword">const</span> Resources&amp; resources);</div><div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;v1::Task <a class="code" href="namespacemesos_1_1internal.html#a845d4d5a46b931d03f340c8afc58b60a">evolve</a>(<span class="keyword">const</span> Task&amp; task);</div><div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;v1::TaskID <a class="code" href="namespacemesos_1_1internal.html#a845d4d5a46b931d03f340c8afc58b60a">evolve</a>(<span class="keyword">const</span> TaskID&amp; taskId);</div><div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;v1::TaskInfo <a class="code" href="namespacemesos_1_1internal.html#a845d4d5a46b931d03f340c8afc58b60a">e
 volve</a>(<span class="keyword">const</span> TaskInfo&amp; taskInfo);</div><div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;v1::TaskStatus <a class="code" href="namespacemesos_1_1internal.html#a845d4d5a46b931d03f340c8afc58b60a">evolve</a>(<span class="keyword">const</span> TaskStatus&amp; <a class="code" href="namespaceproc.html#a34396c6140a28f583dc13fee3c3c35d4">status</a>);</div><div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;v1::UUID <a class="code" href="namespacemesos_1_1internal.html#a845d4d5a46b931d03f340c8afc58b60a">evolve</a>(<span class="keyword">const</span> UUID&amp; uuid);</div><div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;</div><div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;<a class="code" href="namespacemesos_1_1internal_1_1tests_1_1v1_1_1scheduler.html#acb18ceaa5f6f2338f2a9727af398eb79">v1::agent::Call</a> <a class="code" href="namespacemesos_1_1i
 nternal.html#a845d4d5a46b931d03f340c8afc58b60a">evolve</a>(<span class="keyword">const</span> <a class="code" href="namespacemesos_1_1internal_1_1tests_1_1v1_1_1scheduler.html#acb18ceaa5f6f2338f2a9727af398eb79">mesos::agent::Call</a>&amp; call);</div><div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;v1::agent::ProcessIO <a class="code" href="namespacemesos_1_1internal.html#a845d4d5a46b931d03f340c8afc58b60a">evolve</a>(<span class="keyword">const</span> mesos::agent::ProcessIO&amp; processIO);</div><div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;v1::agent::Response <a class="code" href="namespacemesos_1_1internal.html#a845d4d5a46b931d03f340c8afc58b60a">evolve</a>(<span class="keyword">const</span> mesos::agent::Response&amp; response);</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;v1::maintenance::ClusterSta
 tus <a class="code" href="namespacemesos_1_1internal.html#a845d4d5a46b931d03f340c8afc58b60a">evolve</a>(</div><div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;    <span class="keyword">const</span> maintenance::ClusterStatus&amp; cluster);</div><div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;v1::maintenance::Schedule <a class="code" href="namespacemesos_1_1internal.html#a845d4d5a46b931d03f340c8afc58b60a">evolve</a>(<span class="keyword">const</span> maintenance::Schedule&amp; <a class="code" href="namespacemesos_1_1internal_1_1master_1_1maintenance_1_1validation.html#a2305ebada64e853abc6548e118ad08ee">schedule</a>);</div><div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;</div><div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;v1::master::Response <a class="code" href="namespacemesos_1_1internal.html#a845d4d5a46b931d03f340c8afc58b60a">evolve</a>(<span class="keyword">cons
 t</span> mesos::master::Response&amp; response);</div><div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;</div><div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;</div><div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;<a class="code" href="namespacemesos_1_1internal_1_1tests_1_1v1_1_1scheduler.html#acb18ceaa5f6f2338f2a9727af398eb79">v1::resource_provider::Call</a> <a class="code" href="namespacemesos_1_1internal.html#a845d4d5a46b931d03f340c8afc58b60a">evolve</a>(<span class="keyword">const</span> <a class="code" href="namespacemesos_1_1internal_1_1tests_1_1v1_1_1scheduler.html#acb18ceaa5f6f2338f2a9727af398eb79">mesos::resource_provider::Call</a>&amp; call);</div><div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;<a class="code" href="namespacemesos_1_1internal_1_1tests_1_1v1_1_1scheduler.html#acd3fa8addac36f513726743665631d79">v1::resource_provider::Event</a> <a class="code" 
 href="namespacemesos_1_1internal.html#a845d4d5a46b931d03f340c8afc58b60a">evolve</a>(</div><div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;    <span class="keyword">const</span> <a class="code" href="namespacemesos_1_1internal_1_1tests_1_1v1_1_1scheduler.html#acd3fa8addac36f513726743665631d79">mesos::resource_provider::Event</a>&amp; event);</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;</div><div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;<a class="code" href="namespacemesos_1_1internal_1_1tests_1_1v1_1_1scheduler.html#acb18ceaa5f6f2338f2a9727af398eb79">v1::scheduler::Call</a> <a class="code" href="namespacemesos_1_1internal.html#a845d4d5a46b931d03f340c8afc58b60a">evolve</a>(<span class="keyword">const</span> <a class="code" href="namespacemesos_1_1internal_1_1tests_1_1v1_1_1scheduler.html#acb18ceaa5f6f23
 38f2a9727af398eb79">scheduler::Call</a>&amp; call);</div><div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;</div><div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160;</div><div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160;<span class="comment">// Helper for repeated field evolving to &#39;T1&#39; from &#39;T2&#39;.</span></div><div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> T1, <span class="keyword">typename</span> T2&gt;</div><div class="line"><a name="l00107"></a><span class="lineno"><a class="line" href="namespacemesos_1_1internal.html#ac7f729ca9047db42bc200b51177d0766">  107</a></span>&#160;google::protobuf::RepeatedPtrField&lt;T1&gt; <a class="code" href="namespacemesos_1_1internal.html#a845d4d5a46b931d03f340c8afc58b60a">evolve</a>(</div><div class="line"><a name="l00108"></a><span class="l
 ineno">  108</span>&#160;    google::protobuf::RepeatedPtrField&lt;T2&gt; t2s)</div><div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;{</div><div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160;  google::protobuf::RepeatedPtrField&lt;T1&gt; t1s;</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="keywordflow">foreach</span> (<span class="keyword">const</span> T2&amp; t2, t2s) {</div><div class="line"><a name="l00113"></a><span class="lineno">  113</span>&#160;    t1s.Add()-&gt;CopyFrom(<a class="code" href="namespacemesos_1_1internal.html#a845d4d5a46b931d03f340c8afc58b60a">evolve</a>(t2));</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><s
 pan class="lineno">  116</span>&#160;  <span class="keywordflow">return</span> t1s;</div><div class="line"><a name="l00117"></a><span class="lineno">  117</span>&#160;}</div><div class="line"><a name="l00118"></a><span class="lineno">  118</span>&#160;</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;<a class="code" href="namespacemesos_1_1internal_1_1tests_1_1v1_1_1scheduler.html#acd3fa8addac36f513726743665631d79">v1::scheduler::Event</a> <a class="code" href="namespacemesos_1_1internal.html#a845d4d5a46b931d03f340c8afc58b60a">evolve</a>(<span class="keyword">const</span> <a class="code" href="namespacemesos_1_1internal_1_1tests_1_1v1_1_1scheduler.html#acd3fa8addac36f513726743665631d79">scheduler::Event</a>&amp; event);</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">// Helper functions that evolve old style internal messages to a</span></div><div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;<span class="comment">// v1::scheduler::Event.</span></div><div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;<a class="code" href="namespacemesos_1_1internal_1_1tests_1_1v1_1_1scheduler.html#acd3fa8addac36f513726743665631d79">v1::scheduler::Event</a> <a class="code" href="namespacemesos_1_1internal.html#a845d4d5a46b931d03f340c8afc58b60a">evolve</a>(<span class="keyword">const</span> ExitedExecutorMessage&amp; message);</div><div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160;<a class="code" href="namespacemesos_1_1internal_1_1tests_1_1v1_1_1scheduler.html#acd3fa8addac36f513726743665631d79">v1::scheduler::Event</a> <a class="code" href="namespacemesos_1_1in
 ternal.html#a845d4d5a46b931d03f340c8afc58b60a">evolve</a>(<span class="keyword">const</span> ExecutorToFrameworkMessage&amp; message);</div><div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160;<a class="code" href="namespacemesos_1_1internal_1_1tests_1_1v1_1_1scheduler.html#acd3fa8addac36f513726743665631d79">v1::scheduler::Event</a> <a class="code" href="namespacemesos_1_1internal.html#a845d4d5a46b931d03f340c8afc58b60a">evolve</a>(<span class="keyword">const</span> FrameworkErrorMessage&amp; message);</div><div class="line"><a name="l00128"></a><span class="lineno">  128</span>&#160;<a class="code" href="namespacemesos_1_1internal_1_1tests_1_1v1_1_1scheduler.html#acd3fa8addac36f513726743665631d79">v1::scheduler::Event</a> <a class="code" href="namespacemesos_1_1internal.html#a845d4d5a46b931d03f340c8afc58b60a">evolve</a>(<span class="keyword">const</span> FrameworkRegisteredMessage&amp; message);</div><div class="line"><a name="l00129"></a><span class="lineno
 ">  129</span>&#160;<a class="code" href="namespacemesos_1_1internal_1_1tests_1_1v1_1_1scheduler.html#acd3fa8addac36f513726743665631d79">v1::scheduler::Event</a> <a class="code" href="namespacemesos_1_1internal.html#a845d4d5a46b931d03f340c8afc58b60a">evolve</a>(<span class="keyword">const</span> FrameworkReregisteredMessage&amp; message);</div><div class="line"><a name="l00130"></a><span class="lineno">  130</span>&#160;<a class="code" href="namespacemesos_1_1internal_1_1tests_1_1v1_1_1scheduler.html#acd3fa8addac36f513726743665631d79">v1::scheduler::Event</a> <a class="code" href="namespacemesos_1_1internal.html#a845d4d5a46b931d03f340c8afc58b60a">evolve</a>(<span class="keyword">const</span> InverseOffersMessage&amp; message);</div><div class="line"><a name="l00131"></a><span class="lineno">  131</span>&#160;<a class="code" href="namespacemesos_1_1internal_1_1tests_1_1v1_1_1scheduler.html#acd3fa8addac36f513726743665631d79">v1::scheduler::Event</a> <a class="code" href="namespacemeso
 s_1_1internal.html#a845d4d5a46b931d03f340c8afc58b60a">evolve</a>(<span class="keyword">const</span> LostSlaveMessage&amp; message);</div><div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160;<a class="code" href="namespacemesos_1_1internal_1_1tests_1_1v1_1_1scheduler.html#acd3fa8addac36f513726743665631d79">v1::scheduler::Event</a> <a class="code" href="namespacemesos_1_1internal.html#a845d4d5a46b931d03f340c8afc58b60a">evolve</a>(<span class="keyword">const</span> ResourceOffersMessage&amp; message);</div><div class="line"><a name="l00133"></a><span class="lineno">  133</span>&#160;<a class="code" href="namespacemesos_1_1internal_1_1tests_1_1v1_1_1scheduler.html#acd3fa8addac36f513726743665631d79">v1::scheduler::Event</a> <a class="code" href="namespacemesos_1_1internal.html#a845d4d5a46b931d03f340c8afc58b60a">evolve</a>(<span class="keyword">const</span> RescindInverseOfferMessage&amp; message);</div><div class="line"><a name="l00134"></a><span class="lineno"> 
  134</span>&#160;<a class="code" href="namespacemesos_1_1internal_1_1tests_1_1v1_1_1scheduler.html#acd3fa8addac36f513726743665631d79">v1::scheduler::Event</a> <a class="code" href="namespacemesos_1_1internal.html#a845d4d5a46b931d03f340c8afc58b60a">evolve</a>(<span class="keyword">const</span> RescindResourceOfferMessage&amp; message);</div><div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160;<a class="code" href="namespacemesos_1_1internal_1_1tests_1_1v1_1_1scheduler.html#acd3fa8addac36f513726743665631d79">v1::scheduler::Event</a> <a class="code" href="namespacemesos_1_1internal.html#a845d4d5a46b931d03f340c8afc58b60a">evolve</a>(<span class="keyword">const</span> StatusUpdateMessage&amp; message);</div><div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160;</div><div class="line"><a name="l00137"></a><span class="lineno">  137</span>&#160;<a class="code" href="namespacemesos_1_1internal_1_1tests_1_1v1_1_1scheduler.html#acb18ceaa5f6f233
 8f2a9727af398eb79">v1::executor::Call</a> <a class="code" href="namespacemesos_1_1internal.html#a845d4d5a46b931d03f340c8afc58b60a">evolve</a>(<span class="keyword">const</span> <a class="code" href="namespacemesos_1_1internal_1_1tests_1_1v1_1_1scheduler.html#acb18ceaa5f6f2338f2a9727af398eb79">executor::Call</a>&amp; call);</div><div class="line"><a name="l00138"></a><span class="lineno">  138</span>&#160;<a class="code" href="namespacemesos_1_1internal_1_1tests_1_1v1_1_1scheduler.html#acd3fa8addac36f513726743665631d79">v1::executor::Event</a> <a class="code" href="namespacemesos_1_1internal.html#a845d4d5a46b931d03f340c8afc58b60a">evolve</a>(<span class="keyword">const</span> <a class="code" href="namespacemesos_1_1internal_1_1tests_1_1v1_1_1scheduler.html#acd3fa8addac36f513726743665631d79">executor::Event</a>&amp; event);</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">// Helper functions that evolve old style internal messages to a</span></div><div class="line"><a name="l00142"></a><span class="lineno">  142</span>&#160;<span class="comment">// v1::Executor::Event.</span></div><div class="line"><a name="l00143"></a><span class="lineno">  143</span>&#160;<a class="code" href="namespacemesos_1_1internal_1_1tests_1_1v1_1_1scheduler.html#acd3fa8addac36f513726743665631d79">v1::executor::Event</a> <a class="code" href="namespacemesos_1_1internal.html#a845d4d5a46b931d03f340c8afc58b60a">evolve</a>(<span class="keyword">const</span> ExecutorRegisteredMessage&amp; message);</div><div class="line"><a name="l00144"></a><span class="lineno">  144</span>&#160;<a class="code" href="namespacemesos_1_1internal_1_1tests_1_1v1_1_1scheduler.html#acd3fa8addac36f513726743665631d79">v1::executor::Event</a> <a class="code" href="namespacemesos_1_1internal.html#a
 845d4d5a46b931d03f340c8afc58b60a">evolve</a>(<span class="keyword">const</span> FrameworkToExecutorMessage&amp; message);</div><div class="line"><a name="l00145"></a><span class="lineno">  145</span>&#160;<a class="code" href="namespacemesos_1_1internal_1_1tests_1_1v1_1_1scheduler.html#acd3fa8addac36f513726743665631d79">v1::executor::Event</a> <a class="code" href="namespacemesos_1_1internal.html#a845d4d5a46b931d03f340c8afc58b60a">evolve</a>(<span class="keyword">const</span> KillTaskMessage&amp; message);</div><div class="line"><a name="l00146"></a><span class="lineno">  146</span>&#160;<a class="code" href="namespacemesos_1_1internal_1_1tests_1_1v1_1_1scheduler.html#acd3fa8addac36f513726743665631d79">v1::executor::Event</a> <a class="code" href="namespacemesos_1_1internal.html#a845d4d5a46b931d03f340c8afc58b60a">evolve</a>(<span class="keyword">const</span> RunTaskMessage&amp; message);</div><div class="line"><a name="l00147"></a><span class="lineno">  147</span>&#160;<a class="cod
 e" href="namespacemesos_1_1internal_1_1tests_1_1v1_1_1scheduler.html#acd3fa8addac36f513726743665631d79">v1::executor::Event</a> <a class="code" href="namespacemesos_1_1internal.html#a845d4d5a46b931d03f340c8afc58b60a">evolve</a>(<span class="keyword">const</span> ShutdownExecutorMessage&amp; message);</div><div class="line"><a name="l00148"></a><span class="lineno">  148</span>&#160;<a class="code" href="namespacemesos_1_1internal_1_1tests_1_1v1_1_1scheduler.html#acd3fa8addac36f513726743665631d79">v1::executor::Event</a> <a class="code" href="namespacemesos_1_1internal.html#a845d4d5a46b931d03f340c8afc58b60a">evolve</a>(<span class="keyword">const</span> StatusUpdateAcknowledgementMessage&amp; message);</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;</div><div class="line"><a name="l00151"></a><span class="lineno">  151</span>&#160;<a class="code" href="namespacemeso
 s_1_1internal_1_1tests_1_1v1_1_1scheduler.html#acd3fa8addac36f513726743665631d79">v1::master::Event</a> <a class="code" href="namespacemesos_1_1internal.html#a845d4d5a46b931d03f340c8afc58b60a">evolve</a>(<span class="keyword">const</span> <a class="code" href="namespacemesos_1_1internal_1_1tests_1_1v1_1_1scheduler.html#acd3fa8addac36f513726743665631d79">mesos::master::Event</a>&amp; event);</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;</div><div class="line"><a name="l00154"></a><span class="lineno">  154</span>&#160;<span class="comment">// Before the v1 API we had REST endpoints that returned JSON. The JSON was not</span></div><div class="line"><a name="l00155"></a><span class="lineno">  155</span>&#160;<span class="comment">// specified in any formal way, i.e., there were no protobufs which captured the</span></div><div class="line"><a name="l00156"></a><span 
 class="lineno">  156</span>&#160;<span class="comment">// structure. As part of the v1 API we introduced the Call/Response protobufs</span></div><div class="line"><a name="l00157"></a><span class="lineno">  157</span>&#160;<span class="comment">// (see v1/master.proto and v1/agent.proto). This evolve variant transforms a</span></div><div class="line"><a name="l00158"></a><span class="lineno">  158</span>&#160;<span class="comment">// JSON object that would have been returned from a particular REST endpoint to</span></div><div class="line"><a name="l00159"></a><span class="lineno">  159</span>&#160;<span class="comment">// a `Response` protobuf suitable for returning from the new v1 API endpoints.</span></div><div class="line"><a name="l00160"></a><span class="lineno">  160</span>&#160;</div><div class="line"><a name="l00161"></a><span class="lineno">  161</span>&#160;<span class="comment">// Declaration of helper functions for evolving JSON objects used in master&#39;s</span></div><
 div class="line"><a name="l00162"></a><span class="lineno">  162</span>&#160;<span class="comment">// REST endpoints pre v1 API.</span></div><div class="line"><a name="l00163"></a><span class="lineno">  163</span>&#160;<span class="keyword">template</span> &lt;v1::master::Response::Type T&gt;</div><div class="line"><a name="l00164"></a><span class="lineno">  164</span>&#160;v1::master::Response <a class="code" href="namespacemesos_1_1internal.html#a845d4d5a46b931d03f340c8afc58b60a">evolve</a>(<span class="keyword">const</span> <a class="code" href="structJSON_1_1Object.html">JSON::Object</a>&amp; <span class="keywordtype">object</span>);</div><div class="line"><a name="l00165"></a><span class="lineno">  165</span>&#160;</div><div class="line"><a name="l00166"></a><span class="lineno">  166</span>&#160;</div><div class="line"><a name="l00167"></a><span class="lineno">  167</span>&#160;<span class="comment">// Declaration of helper functions for evolving JSON objects used in agent&#39
 ;s</span></div><div class="line"><a name="l00168"></a><span class="lineno">  168</span>&#160;<span class="comment">// REST endpoints pre v1 API.</span></div><div class="line"><a name="l00169"></a><span class="lineno">  169</span>&#160;<span class="keyword">template</span> &lt;v1::agent::Response::Type T&gt;</div><div class="line"><a name="l00170"></a><span class="lineno">  170</span>&#160;v1::agent::Response <a class="code" href="namespacemesos_1_1internal.html#a845d4d5a46b931d03f340c8afc58b60a">evolve</a>(<span class="keyword">const</span> <a class="code" href="structJSON_1_1Object.html">JSON::Object</a>&amp; <span class="keywordtype">object</span>);</div><div class="line"><a name="l00171"></a><span class="lineno">  171</span>&#160;</div><div class="line"><a name="l00172"></a><span class="lineno">  172</span>&#160;<span class="keyword">template</span> &lt;v1::agent::Response::Type T&gt;</div><div class="line"><a name="l00173"></a><span class="lineno">  173</span>&#160;v1::agent::Re
 sponse <a class="code" href="namespacemesos_1_1internal.html#a845d4d5a46b931d03f340c8afc58b60a">evolve</a>(<span class="keyword">const</span> <a class="code" href="structJSON_1_1Array.html">JSON::Array</a>&amp; array);</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="comment">// namespace internal {</span></div><div class="line"><a name="l00176"></a><span class="lineno">  176</span>&#160;} <span class="comment">// namespace mesos {</span></div><div class="line"><a name="l00177"></a><span class="lineno">  177</span>&#160;</div><div class="line"><a name="l00178"></a><span class="lineno">  178</span>&#160;<span class="preprocessor">#endif // __INTERNAL_EVOLVE_HPP__</span></div><div class="ttc" id="resources_8hpp_html"><div class="ttname"><a href="resources_8hpp.html">resources.hpp</a></div></div>
+<a href="evolve_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 clas
 s="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">// distribute
 d 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 __INTERNAL_EVOLVE_HPP__</span></div><div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="preprocessor">#define __INTERNAL_EVOLVE_HPP__</span></div><div class="line"><a
  name="l00019"></a><span class="lineno">   19</span>&#160;</div><div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="preprocessor">#include &lt;google/protobuf/message.h&gt;</span></div><div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;</div><div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="agent_2agent_8hpp.html">mesos/agent/agent.hpp</a>&gt;</span></div><div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;</div><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="include_2mesos_2master_2master_8hpp.html">mesos/master/master.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="include_2mesos_2executor_2executor_8hpp.html">mesos/executor/executor.hpp</a>&gt;</span></div><div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;</div><div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="include_2mesos_2master_2master_8hpp.html">mesos/master/master.hpp</a>&gt;</span></div><div class="line"><a name="l00032"></a><span cla
 ss="lineno">   32</span>&#160;</div><div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="include_2mesos_2maintenance_2maintenance_8hpp.html">mesos/maintenance/maintenance.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 &lt;<a class="code" href="resource__provider_2resource__provider_8hpp.html">mesos/resource_provider/resource_provider.hpp</a>&gt;</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 &lt;<a class="code" href="scheduler_2scheduler_8hpp.html">mesos/scheduler/scheduler.hpp</a>&gt;</span></div><div class="line"><a name="l00038"></a><span class="lineno">   38</sp
 an>&#160;</div><div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="include_2mesos_2v1_2mesos_8hpp.html">mesos/v1/mesos.hpp</a>&gt;</span></div><div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="v1_2resources_8hpp.html">mesos/v1/resources.hpp</a>&gt;</span></div><div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;</div><div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="v1_2agent_2agent_8hpp.html">mesos/v1/agent/agent.hpp</a>&gt;</span></div><div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;</div><div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="include_2mesos_2v1_2executor_2executo
 r_8hpp.html">mesos/v1/executor/executor.hpp</a>&gt;</span></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;<span class="preprocessor">#include &lt;<a class="code" href="include_2mesos_2v1_2master_2master_8hpp.html">mesos/v1/master/master.hpp</a>&gt;</span></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;<span class="preprocessor">#include &lt;<a class="code" href="v1_2resource__provider_2resource__provider_8hpp.html">mesos/v1/resource_provider/resource_provider.hpp</a>&gt;</span></div><div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;</div><div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="include_2mesos_2v1_2maintenance_2maintenance_
 8hpp.html">mesos/v1/maintenance/maintenance.hpp</a>&gt;</span></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;<span class="preprocessor">#include &lt;<a class="code" href="v1_2scheduler_2scheduler_8hpp.html">mesos/v1/scheduler/scheduler.hpp</a>&gt;</span></div><div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;</div><div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="foreach_8hpp.html">stout/foreach.hpp</a>&gt;</span></div><div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;<span class="preprocessor">#include &lt;<a class="code" href="json_8hpp.html">stout/json.hpp</a>&gt;</span></div><div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;</div><div class="line"><a name="l00057"></a><span class="lineno">
    57</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="l00058"></a><span class="lineno">   58</span>&#160;</div><div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespacemesos.html">mesos</a> {</div><div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespaceinternal.html">internal</a> {</div><div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;</div><div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;<span class="comment">// Helpers for evolving types between versions. Please add as necessary!</span></div><div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;v1::AgentID <a class="code" href="namespacemesos_1_1internal
 .html#a845d4d5a46b931d03f340c8afc58b60a">evolve</a>(<span class="keyword">const</span> SlaveID&amp; slaveId);</div><div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;v1::AgentInfo <a class="code" href="namespacemesos_1_1internal.html#a845d4d5a46b931d03f340c8afc58b60a">evolve</a>(<span class="keyword">const</span> SlaveInfo&amp; slaveInfo);</div><div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;v1::DomainInfo <a class="code" href="namespacemesos_1_1internal.html#a845d4d5a46b931d03f340c8afc58b60a">evolve</a>(<span class="keyword">const</span> DomainInfo&amp; domainInfo);</div><div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;v1::ExecutorID <a class="code" href="namespacemesos_1_1internal.html#a845d4d5a46b931d03f340c8afc58b60a">evolve</a>(<span class="keyword">const</span> ExecutorID&amp; executorId);</div><div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;v1::ExecutorInfo <a c
 lass="code" href="namespacemesos_1_1internal.html#a845d4d5a46b931d03f340c8afc58b60a">evolve</a>(<span class="keyword">const</span> ExecutorInfo&amp; executorInfo);</div><div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;v1::FileInfo <a class="code" href="namespacemesos_1_1internal.html#a845d4d5a46b931d03f340c8afc58b60a">evolve</a>(<span class="keyword">const</span> FileInfo&amp; fileInfo);</div><div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;v1::FrameworkID <a class="code" href="namespacemesos_1_1internal.html#a845d4d5a46b931d03f340c8afc58b60a">evolve</a>(<span class="keyword">const</span> FrameworkID&amp; frameworkId);</div><div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;v1::FrameworkInfo <a class="code" href="namespacemesos_1_1internal.html#a845d4d5a46b931d03f340c8afc58b60a">evolve</a>(<span class="keyword">const</span> FrameworkInfo&amp; frameworkInfo);</div><div class="line"><a name="l00071"><
 /a><span class="lineno">   71</span>&#160;v1::InverseOffer <a class="code" href="namespacemesos_1_1internal.html#a845d4d5a46b931d03f340c8afc58b60a">evolve</a>(<span class="keyword">const</span> InverseOffer&amp; inverseOffer);</div><div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;v1::KillPolicy <a class="code" href="namespacemesos_1_1internal.html#a845d4d5a46b931d03f340c8afc58b60a">evolve</a>(<span class="keyword">const</span> KillPolicy&amp; killPolicy);</div><div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;v1::MachineID <a class="code" href="namespacemesos_1_1internal.html#a845d4d5a46b931d03f340c8afc58b60a">evolve</a>(<span class="keyword">const</span> MachineID&amp; machineId);</div><div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;v1::MasterInfo <a class="code" href="namespacemesos_1_1internal.html#a845d4d5a46b931d03f340c8afc58b60a">evolve</a>(<span class="keyword">const</span> MasterInfo&amp; 
 masterInfo);</div><div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;v1::Offer <a class="code" href="namespacemesos_1_1internal.html#a845d4d5a46b931d03f340c8afc58b60a">evolve</a>(<span class="keyword">const</span> Offer&amp; offer);</div><div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;v1::OfferID <a class="code" href="namespacemesos_1_1internal.html#a845d4d5a46b931d03f340c8afc58b60a">evolve</a>(<span class="keyword">const</span> OfferID&amp; offerId);</div><div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;v1::OperationStatus <a class="code" href="namespacemesos_1_1internal.html#a845d4d5a46b931d03f340c8afc58b60a">evolve</a>(<span class="keyword">const</span> OperationStatus&amp; <a class="code" href="namespaceproc.html#a34396c6140a28f583dc13fee3c3c35d4">status</a>);</div><div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;v1::Resource <a class="code" href="namespacemesos_1_1
 internal.html#a845d4d5a46b931d03f340c8afc58b60a">evolve</a>(<span class="keyword">const</span> Resource&amp; resource);</div><div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;v1::ResourceProviderID <a class="code" href="namespacemesos_1_1internal.html#a845d4d5a46b931d03f340c8afc58b60a">evolve</a>(<span class="keyword">const</span> ResourceProviderID&amp; resourceProviderId);</div><div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;v1::Resources <a class="code" href="namespacemesos_1_1internal.html#a845d4d5a46b931d03f340c8afc58b60a">evolve</a>(<span class="keyword">const</span> Resources&amp; resources);</div><div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;v1::Task <a class="code" href="namespacemesos_1_1internal.html#a845d4d5a46b931d03f340c8afc58b60a">evolve</a>(<span class="keyword">const</span> Task&amp; task);</div><div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;v1::T
 askID <a class="code" href="namespacemesos_1_1internal.html#a845d4d5a46b931d03f340c8afc58b60a">evolve</a>(<span class="keyword">const</span> TaskID&amp; taskId);</div><div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;v1::TaskInfo <a class="code" href="namespacemesos_1_1internal.html#a845d4d5a46b931d03f340c8afc58b60a">evolve</a>(<span class="keyword">const</span> TaskInfo&amp; taskInfo);</div><div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;v1::TaskStatus <a class="code" href="namespacemesos_1_1internal.html#a845d4d5a46b931d03f340c8afc58b60a">evolve</a>(<span class="keyword">const</span> TaskStatus&amp; <a class="code" href="namespaceproc.html#a34396c6140a28f583dc13fee3c3c35d4">status</a>);</div><div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;v1::UUID <a class="code" href="namespacemesos_1_1internal.html#a845d4d5a46b931d03f340c8afc58b60a">evolve</a>(<span class="keyword">const</span> UUID&amp; uuid
 );</div><div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;</div><div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;<a class="code" href="namespacemesos_1_1internal_1_1tests_1_1v1_1_1scheduler.html#acb18ceaa5f6f2338f2a9727af398eb79">v1::agent::Call</a> <a class="code" href="namespacemesos_1_1internal.html#a845d4d5a46b931d03f340c8afc58b60a">evolve</a>(<span class="keyword">const</span> <a class="code" href="namespacemesos_1_1internal_1_1tests_1_1v1_1_1scheduler.html#acb18ceaa5f6f2338f2a9727af398eb79">mesos::agent::Call</a>&amp; call);</div><div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;v1::agent::ProcessIO <a class="code" href="namespacemesos_1_1internal.html#a845d4d5a46b931d03f340c8afc58b60a">evolve</a>(<span class="keyword">const</span> mesos::agent::ProcessIO&amp; processIO);</div><div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;v1::agent::Response <a class="code" href
 ="namespacemesos_1_1internal.html#a845d4d5a46b931d03f340c8afc58b60a">evolve</a>(<span class="keyword">const</span> mesos::agent::Response&amp; response);</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;v1::maintenance::ClusterStatus <a class="code" href="namespacemesos_1_1internal.html#a845d4d5a46b931d03f340c8afc58b60a">evolve</a>(</div><div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;    <span class="keyword">const</span> maintenance::ClusterStatus&amp; cluster);</div><div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;v1::maintenance::Schedule <a class="code" href="namespacemesos_1_1internal.html#a845d4d5a46b931d03f340c8afc58b60a">evolve</a>(<span class="keyword">const</span> maintenance::Schedule&amp; <a class="code" href="namespacemesos_1_1internal_1_1master_1_1maintenance_1_1validation.html#a2305ebada64e853
 abc6548e118ad08ee">schedule</a>);</div><div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;</div><div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;v1::master::Response <a class="code" href="namespacemesos_1_1internal.html#a845d4d5a46b931d03f340c8afc58b60a">evolve</a>(<span class="keyword">const</span> mesos::master::Response&amp; response);</div><div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;</div><div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;</div><div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;<a class="code" href="namespacemesos_1_1internal_1_1tests_1_1v1_1_1scheduler.html#acb18ceaa5f6f2338f2a9727af398eb79">v1::resource_provider::Call</a> <a class="code" href="namespacemesos_1_1internal.html#a845d4d5a46b931d03f340c8afc58b60a">evolve</a>(<span class="keyword">const</span> <a class="code" href="namespacemesos_1_1internal_1_1tests_1_1v1_1
 _1scheduler.html#acb18ceaa5f6f2338f2a9727af398eb79">mesos::resource_provider::Call</a>&amp; call);</div><div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;<a class="code" href="namespacemesos_1_1internal_1_1tests_1_1v1_1_1scheduler.html#acd3fa8addac36f513726743665631d79">v1::resource_provider::Event</a> <a class="code" href="namespacemesos_1_1internal.html#a845d4d5a46b931d03f340c8afc58b60a">evolve</a>(</div><div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;    <span class="keyword">const</span> <a class="code" href="namespacemesos_1_1internal_1_1tests_1_1v1_1_1scheduler.html#acd3fa8addac36f513726743665631d79">mesos::resource_provider::Event</a>&amp; event);</div><div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;</div><div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;</div><div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;<a class="code" href="nam
 espacemesos_1_1internal_1_1tests_1_1v1_1_1scheduler.html#acb18ceaa5f6f2338f2a9727af398eb79">v1::scheduler::Call</a> <a class="code" href="namespacemesos_1_1internal.html#a845d4d5a46b931d03f340c8afc58b60a">evolve</a>(<span class="keyword">const</span> <a class="code" href="namespacemesos_1_1internal_1_1tests_1_1v1_1_1scheduler.html#acb18ceaa5f6f2338f2a9727af398eb79">scheduler::Call</a>&amp; call);</div><div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160;</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;<span class="comment">// Helper for repeated field evolving to &#39;T1&#39; from &#39;T2&#39;.</span></div><div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> T1, <span class="keyword">typename</span> T2&gt;</div><div class="line"><a name="
 l00108"></a><span class="lineno"><a class="line" href="namespacemesos_1_1internal.html#ac7f729ca9047db42bc200b51177d0766">  108</a></span>&#160;google::protobuf::RepeatedPtrField&lt;T1&gt; <a class="code" href="namespacemesos_1_1internal.html#a845d4d5a46b931d03f340c8afc58b60a">evolve</a>(</div><div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;    google::protobuf::RepeatedPtrField&lt;T2&gt; t2s)</div><div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160;{</div><div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;  google::protobuf::RepeatedPtrField&lt;T1&gt; t1s;</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;  <span class="keywordflow">foreach</span> (<span class="keyword">const</span> T2&amp; t2, t2s) {</div><div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160;  
   t1s.Add()-&gt;CopyFrom(<a class="code" href="namespacemesos_1_1internal.html#a845d4d5a46b931d03f340c8afc58b60a">evolve</a>(t2));</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;</div><div class="line"><a name="l00117"></a><span class="lineno">  117</span>&#160;  <span class="keywordflow">return</span> t1s;</div><div class="line"><a name="l00118"></a><span class="lineno">  118</span>&#160;}</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;<a class="code" href="namespacemesos_1_1internal_1_1tests_1_1v1_1_1scheduler.html#acd3fa8addac36f513726743665631d79">v1::scheduler::Event</a> <a class="code" href="namespacemesos_1_1internal.html#a845d4d5a46b931d03f340c8afc58b60a
 ">evolve</a>(<span class="keyword">const</span> <a class="code" href="namespacemesos_1_1internal_1_1tests_1_1v1_1_1scheduler.html#acd3fa8addac36f513726743665631d79">scheduler::Event</a>&amp; event);</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;</div><div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;<span class="comment">// Helper functions that evolve old style internal messages to a</span></div><div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;<span class="comment">// v1::scheduler::Event.</span></div><div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160;<a class="code" href="namespacemesos_1_1internal_1_1tests_1_1v1_1_1scheduler.html#acd3fa8addac36f513726743665631d79">v1::scheduler::Event</a> <a class="code" href="namespacemesos_1_1internal.html#a845d4d5a46b931d03f340c8afc58b60a">ev
 olve</a>(<span class="keyword">const</span> ExitedExecutorMessage&amp; message);</div><div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160;<a class="code" href="namespacemesos_1_1internal_1_1tests_1_1v1_1_1scheduler.html#acd3fa8addac36f513726743665631d79">v1::scheduler::Event</a> <a class="code" href="namespacemesos_1_1internal.html#a845d4d5a46b931d03f340c8afc58b60a">evolve</a>(<span class="keyword">const</span> ExecutorToFrameworkMessage&amp; message);</div><div class="line"><a name="l00128"></a><span class="lineno">  128</span>&#160;<a class="code" href="namespacemesos_1_1internal_1_1tests_1_1v1_1_1scheduler.html#acd3fa8addac36f513726743665631d79">v1::scheduler::Event</a> <a class="code" href="namespacemesos_1_1internal.html#a845d4d5a46b931d03f340c8afc58b60a">evolve</a>(<span class="keyword">const</span> FrameworkErrorMessage&amp; message);</div><div class="line"><a name="l00129"></a><span class="lineno">  129</span>&#160;<a class="code" href="namespacemes
 os_1_1internal_1_1tests_1_1v1_1_1scheduler.html#acd3fa8addac36f513726743665631d79">v1::scheduler::Event</a> <a class="code" href="namespacemesos_1_1internal.html#a845d4d5a46b931d03f340c8afc58b60a">evolve</a>(<span class="keyword">const</span> FrameworkRegisteredMessage&amp; message);</div><div class="line"><a name="l00130"></a><span class="lineno">  130</span>&#160;<a class="code" href="namespacemesos_1_1internal_1_1tests_1_1v1_1_1scheduler.html#acd3fa8addac36f513726743665631d79">v1::scheduler::Event</a> <a class="code" href="namespacemesos_1_1internal.html#a845d4d5a46b931d03f340c8afc58b60a">evolve</a>(<span class="keyword">const</span> FrameworkReregisteredMessage&amp; message);</div><div class="line"><a name="l00131"></a><span class="lineno">  131</span>&#160;<a class="code" href="namespacemesos_1_1internal_1_1tests_1_1v1_1_1scheduler.html#acd3fa8addac36f513726743665631d79">v1::scheduler::Event</a> <a class="code" href="namespacemesos_1_1internal.html#a845d4d5a46b931d03f340c8afc58
 b60a">evolve</a>(<span class="keyword">const</span> InverseOffersMessage&amp; message);</div><div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160;<a class="code" href="namespacemesos_1_1internal_1_1tests_1_1v1_1_1scheduler.html#acd3fa8addac36f513726743665631d79">v1::scheduler::Event</a> <a class="code" href="namespacemesos_1_1internal.html#a845d4d5a46b931d03f340c8afc58b60a">evolve</a>(<span class="keyword">const</span> LostSlaveMessage&amp; message);</div><div class="line"><a name="l00133"></a><span class="lineno">  133</span>&#160;<a class="code" href="namespacemesos_1_1internal_1_1tests_1_1v1_1_1scheduler.html#acd3fa8addac36f513726743665631d79">v1::scheduler::Event</a> <a class="code" href="namespacemesos_1_1internal.html#a845d4d5a46b931d03f340c8afc58b60a">evolve</a>(<span class="keyword">const</span> ResourceOffersMessage&amp; message);</div><div class="line"><a name="l00134"></a><span class="lineno">  134</span>&#160;<a class="code" href="namespacemesos_
 1_1internal_1_1tests_1_1v1_1_1scheduler.html#acd3fa8addac36f513726743665631d79">v1::scheduler::Event</a> <a class="code" href="namespacemesos_1_1internal.html#a845d4d5a46b931d03f340c8afc58b60a">evolve</a>(<span class="keyword">const</span> RescindInverseOfferMessage&amp; message);</div><div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160;<a class="code" href="namespacemesos_1_1internal_1_1tests_1_1v1_1_1scheduler.html#acd3fa8addac36f513726743665631d79">v1::scheduler::Event</a> <a class="code" href="namespacemesos_1_1internal.html#a845d4d5a46b931d03f340c8afc58b60a">evolve</a>(<span class="keyword">const</span> RescindResourceOfferMessage&amp; message);</div><div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160;<a class="code" href="namespacemesos_1_1internal_1_1tests_1_1v1_1_1scheduler.html#acd3fa8addac36f513726743665631d79">v1::scheduler::Event</a> <a class="code" href="namespacemesos_1_1internal.html#a845d4d5a46b931d03f340c8afc58b60a
 ">evolve</a>(<span class="keyword">const</span> StatusUpdateMessage&amp; message);</div><div class="line"><a name="l00137"></a><span class="lineno">  137</span>&#160;<a class="code" href="namespacemesos_1_1internal_1_1tests_1_1v1_1_1scheduler.html#acd3fa8addac36f513726743665631d79">v1::scheduler::Event</a> <a class="code" href="namespacemesos_1_1internal.html#a845d4d5a46b931d03f340c8afc58b60a">evolve</a>(<span class="keyword">const</span> UpdateOperationStatusMessage&amp; message);</div><div class="line"><a name="l00138"></a><span class="lineno">  138</span>&#160;</div><div class="line"><a name="l00139"></a><span class="lineno">  139</span>&#160;<a class="code" href="namespacemesos_1_1internal_1_1tests_1_1v1_1_1scheduler.html#acb18ceaa5f6f2338f2a9727af398eb79">v1::executor::Call</a> <a class="code" href="namespacemesos_1_1internal.html#a845d4d5a46b931d03f340c8afc58b60a">evolve</a>(<span class="keyword">const</span> <a class="code" href="namespacemesos_1_1internal_1_1tests_1_1v1_1_1s
 cheduler.html#acb18ceaa5f6f2338f2a9727af398eb79">executor::Call</a>&amp; call);</div><div class="line"><a name="l00140"></a><span class="lineno">  140</span>&#160;<a class="code" href="namespacemesos_1_1internal_1_1tests_1_1v1_1_1scheduler.html#acd3fa8addac36f513726743665631d79">v1::executor::Event</a> <a class="code" href="namespacemesos_1_1internal.html#a845d4d5a46b931d03f340c8afc58b60a">evolve</a>(<span class="keyword">const</span> <a class="code" href="namespacemesos_1_1internal_1_1tests_1_1v1_1_1scheduler.html#acd3fa8addac36f513726743665631d79">executor::Event</a>&amp; event);</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;</div><div class="line"><a name="l00143"></a><span class="lineno">  143</span>&#160;<span class="comment">// Helper functions that evolve old style internal messages to a</span></div><div class="line"><a name="l00144"></a><span class="lineno
 ">  144</span>&#160;<span class="comment">// v1::Executor::Event.</span></div><div class="line"><a name="l00145"></a><span class="lineno">  145</span>&#160;<a class="code" href="namespacemesos_1_1internal_1_1tests_1_1v1_1_1scheduler.html#acd3fa8addac36f513726743665631d79">v1::executor::Event</a> <a class="code" href="namespacemesos_1_1internal.html#a845d4d5a46b931d03f340c8afc58b60a">evolve</a>(<span class="keyword">const</span> ExecutorRegisteredMessage&amp; message);</div><div class="line"><a name="l00146"></a><span class="lineno">  146</span>&#160;<a class="code" href="namespacemesos_1_1internal_1_1tests_1_1v1_1_1scheduler.html#acd3fa8addac36f513726743665631d79">v1::executor::Event</a> <a class="code" href="namespacemesos_1_1internal.html#a845d4d5a46b931d03f340c8afc58b60a">evolve</a>(<span class="keyword">const</span> FrameworkToExecutorMessage&amp; message);</div><div class="line"><a name="l00147"></a><span class="lineno">  147</span>&#160;<a class="code" href="namespacemesos_1_1
 internal_1_1tests_1_1v1_1_1scheduler.html#acd3fa8addac36f513726743665631d79">v1::executor::Event</a> <a class="code" href="namespacemesos_1_1internal.html#a845d4d5a46b931d03f340c8afc58b60a">evolve</a>(<span class="keyword">const</span> KillTaskMessage&amp; message);</div><div class="line"><a name="l00148"></a><span class="lineno">  148</span>&#160;<a class="code" href="namespacemesos_1_1internal_1_1tests_1_1v1_1_1scheduler.html#acd3fa8addac36f513726743665631d79">v1::executor::Event</a> <a class="code" href="namespacemesos_1_1internal.html#a845d4d5a46b931d03f340c8afc58b60a">evolve</a>(<span class="keyword">const</span> RunTaskMessage&amp; message);</div><div class="line"><a name="l00149"></a><span class="lineno">  149</span>&#160;<a class="code" href="namespacemesos_1_1internal_1_1tests_1_1v1_1_1scheduler.html#acd3fa8addac36f513726743665631d79">v1::executor::Event</a> <a class="code" href="namespacemesos_1_1internal.html#a845d4d5a46b931d03f340c8afc58b60a">evolve</a>(<span class="keyw
 ord">const</span> ShutdownExecutorMessage&amp; message);</div><div class="line"><a name="l00150"></a><span class="lineno">  150</span>&#160;<a class="code" href="namespacemesos_1_1internal_1_1tests_1_1v1_1_1scheduler.html#acd3fa8addac36f513726743665631d79">v1::executor::Event</a> <a class="code" href="namespacemesos_1_1internal.html#a845d4d5a46b931d03f340c8afc58b60a">evolve</a>(<span class="keyword">const</span> StatusUpdateAcknowledgementMessage&amp; message);</div><div class="line"><a name="l00151"></a><span class="lineno">  151</span>&#160;</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;<a class="code" href="namespacemesos_1_1internal_1_1tests_1_1v1_1_1scheduler.html#acd3fa8addac36f513726743665631d79">v1::master::Event</a> <a class="code" href="namespacemesos_1_1internal.html#a845d4d5a46b931d03f340c8afc58b60a">evolve</a>(<span class="keyword">const</span> <a cla
 ss="code" href="namespacemesos_1_1internal_1_1tests_1_1v1_1_1scheduler.html#acd3fa8addac36f513726743665631d79">mesos::master::Event</a>&amp; event);</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;</div><div class="line"><a name="l00156"></a><span class="lineno">  156</span>&#160;<span class="comment">// Before the v1 API we had REST endpoints that returned JSON. The JSON was not</span></div><div class="line"><a name="l00157"></a><span class="lineno">  157</span>&#160;<span class="comment">// specified in any formal way, i.e., there were no protobufs which captured the</span></div><div class="line"><a name="l00158"></a><span class="lineno">  158</span>&#160;<span class="comment">// structure. As part of the v1 API we introduced the Call/Response protobufs</span></div><div class="line"><a name="l00159"></a><span class="lineno">  159</span>&#160;<span class="comment">
 // (see v1/master.proto and v1/agent.proto). This evolve variant transforms a</span></div><div class="line"><a name="l00160"></a><span class="lineno">  160</span>&#160;<span class="comment">// JSON object that would have been returned from a particular REST endpoint to</span></div><div class="line"><a name="l00161"></a><span class="lineno">  161</span>&#160;<span class="comment">// a `Response` protobuf suitable for returning from the new v1 API endpoints.</span></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">// Declaration of helper functions for evolving JSON objects used in master&#39;s</span></div><div class="line"><a name="l00164"></a><span class="lineno">  164</span>&#160;<span class="comment">// REST endpoints pre v1 API.</span></div><div class="line"><a name="l00165"></a><span class="lineno">  165</span>&#160;<span class="keyword">temp
 late</span> &lt;v1::master::Response::Type T&gt;</div><div class="line"><a name="l00166"></a><span class="lineno">  166</span>&#160;v1::master::Response <a class="code" href="namespacemesos_1_1internal.html#a845d4d5a46b931d03f340c8afc58b60a">evolve</a>(<span class="keyword">const</span> <a class="code" href="structJSON_1_1Object.html">JSON::Object</a>&amp; <span class="keywordtype">object</span>);</div><div class="line"><a name="l00167"></a><span class="lineno">  167</span>&#160;</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">// Declaration of helper functions for evolving JSON objects used in agent&#39;s</span></div><div class="line"><a name="l00170"></a><span class="lineno">  170</span>&#160;<span class="comment">// REST endpoints pre v1 API.</span></div><div class="line"><a name="l00171"></a><span class="lineno">  171</span>&#160;<span clas
 s="keyword">template</span> &lt;v1::agent::Response::Type T&gt;</div><div class="line"><a name="l00172"></a><span class="lineno">  172</span>&#160;v1::agent::Response <a class="code" href="namespacemesos_1_1internal.html#a845d4d5a46b931d03f340c8afc58b60a">evolve</a>(<span class="keyword">const</span> <a class="code" href="structJSON_1_1Object.html">JSON::Object</a>&amp; <span class="keywordtype">object</span>);</div><div class="line"><a name="l00173"></a><span class="lineno">  173</span>&#160;</div><div class="line"><a name="l00174"></a><span class="lineno">  174</span>&#160;<span class="keyword">template</span> &lt;v1::agent::Response::Type T&gt;</div><div class="line"><a name="l00175"></a><span class="lineno">  175</span>&#160;v1::agent::Response <a class="code" href="namespacemesos_1_1internal.html#a845d4d5a46b931d03f340c8afc58b60a">evolve</a>(<span class="keyword">const</span> <a class="code" href="structJSON_1_1Array.html">JSON::Array</a>&amp; array);</div><div class="line"><a 
 name="l00176"></a><span class="lineno">  176</span>&#160;</div><div class="line"><a name="l00177"></a><span class="lineno">  177</span>&#160;} <span class="comment">// namespace internal {</span></div><div class="line"><a name="l00178"></a><span class="lineno">  178</span>&#160;} <span class="comment">// namespace mesos {</span></div><div class="line"><a name="l00179"></a><span class="lineno">  179</span>&#160;</div><div class="line"><a name="l00180"></a><span class="lineno">  180</span>&#160;<span class="preprocessor">#endif // __INTERNAL_EVOLVE_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="v1_2resources_8hpp_html"><div class="ttname"><a href="v1_2resources_8hpp.html">resources.hpp</a></div></div>
 <div class="ttc" id="include_2mesos_2v1_2master_2master_8hpp_html"><div class="ttname"><a href="include_2mesos_2v1_2master_2master_8hpp.html">master.hpp</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="namespacemesos_1_1internal_html_a845d4d5a46b931d03f340c8afc58b60a"><div class="ttname"><a href="namespacemesos_1_1internal.html#a845d4d5a46b931d03f340c8afc58b60a">mesos::internal::evolve</a></div><div class="ttdeci">v1::AgentID evolve(const SlaveID &amp;slaveId)</div></div>
 <div class="ttc" id="namespaceproc_html_a34396c6140a28f583dc13fee3c3c35d4"><div class="ttname"><a href="namespaceproc.html#a34396c6140a28f583dc13fee3c3c35d4">proc::status</a></div><div class="ttdeci">Result&lt; ProcessStatus &gt; status(pid_t pid)</div><div class="ttdef"><b>Definition:</b> proc.hpp:166</div></div>
-<div class="ttc" id="namespacemesos_1_1internal_1_1tests_1_1v1_1_1scheduler_html_acb18ceaa5f6f2338f2a9727af398eb79"><div class="ttname"><a href="namespacemesos_1_1internal_1_1tests_1_1v1_1_1scheduler.html#acb18ceaa5f6f2338f2a9727af398eb79">mesos::internal::tests::v1::scheduler::Call</a></div><div class="ttdeci">mesos::v1::scheduler::Call Call</div><div class="ttdef"><b>Definition:</b> mesos.hpp:2519</div></div>
+<div class="ttc" id="namespacemesos_1_1internal_1_1tests_1_1v1_1_1scheduler_html_acb18ceaa5f6f2338f2a9727af398eb79"><div class="ttname"><a href="namespacemesos_1_1internal_1_1tests_1_1v1_1_1scheduler.html#acb18ceaa5f6f2338f2a9727af398eb79">mesos::internal::tests::v1::scheduler::Call</a></div><div class="ttdeci">mesos::v1::scheduler::Call Call</div><div class="ttdef"><b>Definition:</b> mesos.hpp:2547</div></div>
 <div class="ttc" id="v1_2resource__provider_2resource__provider_8hpp_html"><div class="ttname"><a href="v1_2resource__provider_2resource__provider_8hpp.html">resource_provider.hpp</a></div></div>
 <div class="ttc" id="json_8hpp_html"><div class="ttname"><a href="json_8hpp.html">json.hpp</a></div></div>
 <div class="ttc" id="agent_2agent_8hpp_html"><div class="ttname"><a href="agent_2agent_8hpp.html">agent.hpp</a></div></div>
 <div class="ttc" id="structJSON_1_1Array_html"><div class="ttname"><a href="structJSON_1_1Array.html">JSON::Array</a></div><div class="ttdef"><b>Definition:</b> json.hpp:194</div></div>
 <div class="ttc" id="structJSON_1_1Object_html"><div class="ttname"><a href="structJSON_1_1Object.html">JSON::Object</a></div><div class="ttdef"><b>Definition:</b> json.hpp:154</div></div>
-<div class="ttc" id="namespacemesos_1_1internal_1_1tests_1_1v1_1_1scheduler_html_acd3fa8addac36f513726743665631d79"><div class="ttname"><a href="namespacemesos_1_1internal_1_1tests_1_1v1_1_1scheduler.html#acd3fa8addac36f513726743665631d79">mesos::internal::tests::v1::scheduler::Event</a></div><div class="ttdeci">mesos::v1::scheduler::Event Event</div><div class="ttdef"><b>Definition:</b> mesos.hpp:2520</div></div>
+<div class="ttc" id="namespacemesos_1_1internal_1_1tests_1_1v1_1_1scheduler_html_acd3fa8addac36f513726743665631d79"><div class="ttname"><a href="namespacemesos_1_1internal_1_1tests_1_1v1_1_1scheduler.html#acd3fa8addac36f513726743665631d79">mesos::internal::tests::v1::scheduler::Event</a></div><div class="ttdeci">mesos::v1::scheduler::Event Event</div><div class="ttdef"><b>Definition:</b> mesos.hpp:2548</div></div>
 <div class="ttc" id="include_2mesos_2master_2master_8hpp_html"><div class="ttname"><a href="include_2mesos_2master_2master_8hpp.html">master.hpp</a></div></div>
 <div class="ttc" id="scheduler_2scheduler_8hpp_html"><div class="ttname"><a href="scheduler_2scheduler_8hpp.html">scheduler.hpp</a></div></div>
 <div class="ttc" id="v1_2scheduler_2scheduler_8hpp_html"><div class="ttname"><a href="v1_2scheduler_2scheduler_8hpp.html">scheduler.hpp</a></div></div>

http://git-wip-us.apache.org/repos/asf/mesos-site/blob/6a1db555/content/api/latest/c++/functions_func_n.html
----------------------------------------------------------------------
diff --git a/content/api/latest/c++/functions_func_n.html b/content/api/latest/c++/functions_func_n.html
index a7af2a8..4d59ef6 100644
--- a/content/api/latest/c++/functions_func_n.html
+++ b/content/api/latest/c++/functions_func_n.html
@@ -222,16 +222,16 @@
 : <a class="el" href="structprocess_1_1http_1_1NotImplemented.html#ac786e0b6d4f5bd8ad74690791bd1c423">process::http::NotImplemented</a>
 </li>
 <li>now()
-: <a class="el" href="classprocess_1_1Clock.html#a24ed3f746bb6b3ddb1c52dce5e0ecd38">process::Clock</a>
+: <a class="el" href="classprocess_1_1Clock.html#aeb3feabcc37d4903757ea2a2160f2e32">process::Clock</a>
 </li>
 <li>ns()
 : <a class="el" href="classDuration.html#aa3703196ba3797f7833a8348ccb5449a">Duration</a>
 </li>
 <li>NullWriter()
-: <a class="el" href="classJSON_1_1NullWriter.html#a397ce55e0db98a8cc6722e1443f20710">JSON::NullWriter</a>
+: <a class="el" href="classJSON_1_1NullWriter.html#a5de221906ce05544056753706921970f">JSON::NullWriter</a>
 </li>
 <li>Number()
-: <a class="el" href="structJSON_1_1Number.html#ac8e8299eb0b627136b6fc51b3cee709c">JSON::Number</a>
+: <a class="el" href="structJSON_1_1Number.html#a64361b5b1c34e311ab9407cbc6ccb136">JSON::Number</a>
 </li>
 <li>NumberWriter()
 : <a class="el" href="classJSON_1_1NumberWriter.html#ac248fb67aaa7f2bdeeccfd9cbd6b42e7">JSON::NumberWriter</a>

http://git-wip-us.apache.org/repos/asf/mesos-site/blob/6a1db555/content/api/latest/c++/functions_func_o.html
----------------------------------------------------------------------
diff --git a/content/api/latest/c++/functions_func_o.html b/content/api/latest/c++/functions_func_o.html
index 7b09059..6dad39d 100644
--- a/content/api/latest/c++/functions_func_o.html
+++ b/content/api/latest/c++/functions_func_o.html
@@ -117,12 +117,12 @@
 <li>onAny()
 : <a class="el" href="classprocess_1_1Future.html#a71bde220aed3c725cef2040f63adf42a">process::Future&lt; T &gt;</a>
 </li>
-<li>once()
-: <a class="el" href="classprocess_1_1Once.html#af60c4d00f5bca3091b20709b038e5ef3">process::Once</a>
-</li>
 <li>Once()
 : <a class="el" href="classprocess_1_1Once.html#af3c871858c0d2f141238afd52de2643c">process::Once</a>
 </li>
+<li>once()
+: <a class="el" href="classprocess_1_1Once.html#af60c4d00f5bca3091b20709b038e5ef3">process::Once</a>
+</li>
 <li>onDiscard()
 : <a class="el" href="classprocess_1_1Future.html#a1b80bf321358be44880d9c6bae5d9a2d">process::Future&lt; T &gt;</a>
 </li>

http://git-wip-us.apache.org/repos/asf/mesos-site/blob/6a1db555/content/api/latest/c++/functions_func_r.html
----------------------------------------------------------------------
diff --git a/content/api/latest/c++/functions_func_r.html b/content/api/latest/c++/functions_func_r.html
index f451d0b..b16e1b4 100644
--- a/content/api/latest/c++/functions_func_r.html
+++ b/content/api/latest/c++/functions_func_r.html
@@ -561,7 +561,7 @@
 : <a class="el" href="classmesos_1_1internal_1_1tests_1_1Rootfs.html#a0d1eefd3053932eceda17475fae5f95c">mesos::internal::tests::Rootfs</a>
 </li>
 <li>route()
-: <a class="el" href="classprocess_1_1ProcessBase.html#a0bb721f72a1b9b517808149010de8b9a">process::ProcessBase</a>
+: <a class="el" href="classprocess_1_1ProcessBase.html#a70ff038897726b5ff2713e5d5602efa6">process::ProcessBase</a>
 </li>
 <li>RouteOptions()
 : <a class="el" href="structprocess_1_1ProcessBase_1_1RouteOptions.html#a9c202f7f06a7cb90499e3365ce338475">process::ProcessBase::RouteOptions</a>

http://git-wip-us.apache.org/repos/asf/mesos-site/blob/6a1db555/content/api/latest/c++/functions_func_s.html
----------------------------------------------------------------------
diff --git a/content/api/latest/c++/functions_func_s.html b/content/api/latest/c++/functions_func_s.html
index 4168cb9..c6bd06a 100644
--- a/content/api/latest/c++/functions_func_s.html
+++ b/content/api/latest/c++/functions_func_s.html
@@ -681,7 +681,7 @@
 : <a class="el" href="classSynchronized.html#a6f1fcefdbc244929d3a3efce643d1a42">Synchronized&lt; T &gt;</a>
 </li>
 <li>sysctl()
-: <a class="el" href="structos_1_1sysctl.html#acce1acf3d6dfb33d4d06dfe2ee09169b">os::sysctl</a>
+: <a class="el" href="structos_1_1sysctl.html#aae16684fca2b68f7ae4c998cee5f6f7e">os::sysctl</a>
 </li>
 <li>System()
 : <a class="el" href="classprocess_1_1System.html#ace32519ce64ed719c6a56e5d3f8cce8d">process::System</a>

http://git-wip-us.apache.org/repos/asf/mesos-site/blob/6a1db555/content/api/latest/c++/functions_func_t.html
----------------------------------------------------------------------
diff --git a/content/api/latest/c++/functions_func_t.html b/content/api/latest/c++/functions_func_t.html
index 316649a..9b03de1 100644
--- a/content/api/latest/c++/functions_func_t.html
+++ b/content/api/latest/c++/functions_func_t.html
@@ -177,7 +177,7 @@
 : <a class="el" href="classprocess_1_1Timeout.html#a01021e2f51e5f0b1f6ec93977976f570">process::Timeout</a>
 </li>
 <li>Timeout()
-: <a class="el" href="classprocess_1_1Timeout.html#a81668b70d7b16d9b795c1181122e854c">process::Timeout</a>
+: <a class="el" href="classprocess_1_1Timeout.html#adeadd19e081fb4f2a0a39ecc586a4af7">process::Timeout</a>
 </li>
 <li>timeout()
 : <a class="el" href="classprocess_1_1Timer.html#adcce3e5538751535be6ec4d48670eb89">process::Timer</a>
@@ -245,7 +245,7 @@
 , <a class="el" href="structprocess_1_1TimeSeries.html#af0f0682a40225778f4c4c931a1380f0e">process::TimeSeries&lt; T &gt;</a>
 </li>
 <li>Try()
-: <a class="el" href="classTry.html#ae0e226aa8c3c77673411edf615e97c2d">Try&lt; T, E &gt;</a>
+: <a class="el" href="classTry.html#a2fa050bcf6cf16a616bec68abf676973">Try&lt; T, E &gt;</a>
 </li>
 <li>type()
 : <a class="el" href="classos_1_1WindowsFD.html#a3ce17a730ace5352a1fc6d49f8336d52">os::WindowsFD</a>

http://git-wip-us.apache.org/repos/asf/mesos-site/blob/6a1db555/content/api/latest/c++/functions_h.html
----------------------------------------------------------------------
diff --git a/content/api/latest/c++/functions_h.html b/content/api/latest/c++/functions_h.html
index 3316fbe..05ab625 100644
--- a/content/api/latest/c++/functions_h.html
+++ b/content/api/latest/c++/functions_h.html
@@ -239,7 +239,7 @@
 : <a class="el" href="classDuration.html#a0564918aa36599b575e155644f4513a3">Duration</a>
 </li>
 <li>Hours()
-: <a class="el" href="classHours.html#a0c49e25ef71480b8615087c74ccb770f">Hours</a>
+: <a class="el" href="classHours.html#ae39f92f6e5d64cc6325d7652de7fb9d8">Hours</a>
 </li>
 <li>hrs()
 : <a class="el" href="classDuration.html#a66d69bb283add7d88e97e8fe61ec1a85">Duration</a>

http://git-wip-us.apache.org/repos/asf/mesos-site/blob/6a1db555/content/api/latest/c++/functions_i.html
----------------------------------------------------------------------
diff --git a/content/api/latest/c++/functions_i.html b/content/api/latest/c++/functions_i.html
index 2a2ba36..df3c688 100644
--- a/content/api/latest/c++/functions_i.html
+++ b/content/api/latest/c++/functions_i.html
@@ -354,6 +354,9 @@
 <li>invalid_framework_to_executor_messages
 : <a class="el" href="structmesos_1_1internal_1_1master_1_1Metrics.html#ae19878a2b0ecc4753d505625077263af">mesos::internal::master::Metrics</a>
 </li>
+<li>invalid_operation_status_update_acknowledgements
+: <a class="el" href="structmesos_1_1internal_1_1master_1_1Metrics.html#a78f4e3737d2bf9be3a9f59ef0ac01d9f">mesos::internal::master::Metrics</a>
+</li>
 <li>invalid_status_update_acknowledgements
 : <a class="el" href="structmesos_1_1internal_1_1master_1_1Metrics.html#a6299e75c71aecf7cef2dd4c8d1b06baa">mesos::internal::master::Metrics</a>
 </li>
@@ -389,7 +392,7 @@
 , <a class="el" href="structmesos_1_1internal_1_1tests_1_1HttpServerTestHelper_1_1Flags.html#aedadb9a1731afa9afede0694b50974d0">mesos::internal::tests::HttpServerTestHelper::Flags</a>
 </li>
 <li>IP()
-: <a class="el" href="classnet_1_1IP.html#a59c961e993728ab3dc969249ca610417">net::IP</a>
+: <a class="el" href="classnet_1_1IP.html#a24fde6c74bb2f48af330048fb4740408">net::IP</a>
 </li>
 <li>ip
 : <a class="el" href="structprocess_1_1http_1_1URL.html#ac0416d6239dbcd64e0b2d8dc4f151ef8">process::http::URL</a>
@@ -418,7 +421,7 @@
 : <a class="el" href="classnet_1_1IPv6.html#abbd2f53ff9af6cb1b1c50c99792c9be1">net::IPv6</a>
 </li>
 <li>is()
-: <a class="el" href="structJSON_1_1Value.html#a9f420d588c86317e0cc816b7d3ece0f8">JSON::Value</a>
+: <a class="el" href="structJSON_1_1Value.html#a218f28cc093837f5a10cf893886fd92d">JSON::Value</a>
 , <a class="el" href="structprocess_1_1Event.html#ac2d1b2d710b1b3002da0116239787517">process::Event</a>
 , <a class="el" href="classprocess_1_1StateMachine.html#a6f0830360e0999fdb3803b31dbd016ea">process::StateMachine&lt; State &gt;</a>
 </li>
@@ -467,7 +470,7 @@
 : <a class="el" href="classprocess_1_1Future.html#a493227e57f8848e37777b89c0f81e2ec">process::Future&lt; T &gt;</a>
 </li>
 <li>isFiltered()
-: <a class="el" href="classmesos_1_1internal_1_1master_1_1allocator_1_1internal_1_1HierarchicalAllocatorProcess.html#a71547c982e85db6b83e562732107f578">mesos::internal::master::allocator::internal::HierarchicalAllocatorProcess</a>
+: <a class="el" href="classmesos_1_1internal_1_1master_1_1allocator_1_1internal_1_1HierarchicalAllocatorProcess.html#a166f2ae30b44c3c2dd45a3449b210fc5">mesos::internal::master::allocator::internal::HierarchicalAllocatorProcess</a>
 </li>
 <li>isGeneratedForCommandTask()
 : <a class="el" href="classmesos_1_1internal_1_1slave_1_1Executor.html#aa015f42f8b5fe1a51616a87def9924ab">mesos::internal::slave::Executor</a>