mesos-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From git-site-r...@apache.org
Subject [2/3] mesos-site git commit: Updated the website built from mesos SHA: 9affb60.
Date Fri, 09 Mar 2018 21:05:31 GMT
http://git-wip-us.apache.org/repos/asf/mesos-site/blob/d7a0a2ac/content/api/latest/c++/src_2master_2master_8hpp_source.html
----------------------------------------------------------------------
diff --git a/content/api/latest/c++/src_2master_2master_8hpp_source.html b/content/api/latest/c++/src_2master_2master_8hpp_source.html
index 17a5542..f6ab03f 100644
--- a/content/api/latest/c++/src_2master_2master_8hpp_source.html
+++ b/content/api/latest/c++/src_2master_2master_8hpp_source.html
@@ -485,2473 +485,2460 @@
 <div class="line"><a name="l00431"></a><span class="lineno">  431</span>&#160;      <span class="keyword">const</span> FrameworkID&amp; frameworkId,</div>
 <div class="line"><a name="l00432"></a><span class="lineno">  432</span>&#160;      <span class="keyword">const</span> std::vector&lt;Request&gt;&amp; requests);</div>
 <div class="line"><a name="l00433"></a><span class="lineno">  433</span>&#160;</div>
-<div class="line"><a name="l00434"></a><span class="lineno">  434</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classmesos_1_1internal_1_1master_1_1Master.html#ac756d6309d38428cc20d06dec19b9b5b">launchTasks</a>(</div>
+<div class="line"><a name="l00434"></a><span class="lineno">  434</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classmesos_1_1internal_1_1master_1_1Master.html#a446a4deeb9558fb6f363a59cef9c8c93">launchTasks</a>(</div>
 <div class="line"><a name="l00435"></a><span class="lineno">  435</span>&#160;      <span class="keyword">const</span> <a class="code" href="structprocess_1_1UPID.html">process::UPID</a>&amp; from,</div>
-<div class="line"><a name="l00436"></a><span class="lineno">  436</span>&#160;      <span class="keyword">const</span> FrameworkID&amp; frameworkId,</div>
-<div class="line"><a name="l00437"></a><span class="lineno">  437</span>&#160;      <span class="keyword">const</span> std::vector&lt;TaskInfo&gt;&amp; tasks,</div>
-<div class="line"><a name="l00438"></a><span class="lineno">  438</span>&#160;      <span class="keyword">const</span> Filters&amp; <a class="code" href="namespacerouting_1_1filter_1_1internal.html#a646d4e3238d83329525957b5a5586be2">filters</a>,</div>
-<div class="line"><a name="l00439"></a><span class="lineno">  439</span>&#160;      <span class="keyword">const</span> std::vector&lt;OfferID&gt;&amp; offerIds);</div>
-<div class="line"><a name="l00440"></a><span class="lineno">  440</span>&#160;</div>
-<div class="line"><a name="l00441"></a><span class="lineno">  441</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classmesos_1_1internal_1_1master_1_1Master.html#a3461bdc133dd1d5df5d977dfa561979d">reviveOffers</a>(</div>
-<div class="line"><a name="l00442"></a><span class="lineno">  442</span>&#160;      <span class="keyword">const</span> <a class="code" href="structprocess_1_1UPID.html">process::UPID</a>&amp; from,</div>
-<div class="line"><a name="l00443"></a><span class="lineno">  443</span>&#160;      <span class="keyword">const</span> FrameworkID&amp; frameworkId,</div>
-<div class="line"><a name="l00444"></a><span class="lineno">  444</span>&#160;      <span class="keyword">const</span> std::vector&lt;std::string&gt;&amp; role);</div>
-<div class="line"><a name="l00445"></a><span class="lineno">  445</span>&#160;</div>
-<div class="line"><a name="l00446"></a><span class="lineno">  446</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classmesos_1_1internal_1_1master_1_1Master.html#a1a12255066d641e639f25555e4bc677f">killTask</a>(</div>
-<div class="line"><a name="l00447"></a><span class="lineno">  447</span>&#160;      <span class="keyword">const</span> <a class="code" href="structprocess_1_1UPID.html">process::UPID</a>&amp; from,</div>
-<div class="line"><a name="l00448"></a><span class="lineno">  448</span>&#160;      <span class="keyword">const</span> FrameworkID&amp; frameworkId,</div>
-<div class="line"><a name="l00449"></a><span class="lineno">  449</span>&#160;      <span class="keyword">const</span> TaskID&amp; taskId);</div>
-<div class="line"><a name="l00450"></a><span class="lineno">  450</span>&#160;</div>
-<div class="line"><a name="l00451"></a><span class="lineno">  451</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classmesos_1_1internal_1_1master_1_1Master.html#a43f3d08bee0c1cb847914a16c0f05fd6">statusUpdateAcknowledgement</a>(</div>
-<div class="line"><a name="l00452"></a><span class="lineno">  452</span>&#160;      <span class="keyword">const</span> <a class="code" href="structprocess_1_1UPID.html">process::UPID</a>&amp; from,</div>
-<div class="line"><a name="l00453"></a><span class="lineno">  453</span>&#160;      <span class="keyword">const</span> SlaveID&amp; slaveId,</div>
-<div class="line"><a name="l00454"></a><span class="lineno">  454</span>&#160;      <span class="keyword">const</span> FrameworkID&amp; frameworkId,</div>
-<div class="line"><a name="l00455"></a><span class="lineno">  455</span>&#160;      <span class="keyword">const</span> TaskID&amp; taskId,</div>
-<div class="line"><a name="l00456"></a><span class="lineno">  456</span>&#160;      <span class="keyword">const</span> std::string&amp; uuid);</div>
-<div class="line"><a name="l00457"></a><span class="lineno">  457</span>&#160;</div>
-<div class="line"><a name="l00458"></a><span class="lineno">  458</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classmesos_1_1internal_1_1master_1_1Master.html#adde9b0f853d5804d5e88cddbfdbf7566">schedulerMessage</a>(</div>
-<div class="line"><a name="l00459"></a><span class="lineno">  459</span>&#160;      <span class="keyword">const</span> <a class="code" href="structprocess_1_1UPID.html">process::UPID</a>&amp; from,</div>
-<div class="line"><a name="l00460"></a><span class="lineno">  460</span>&#160;      <span class="keyword">const</span> SlaveID&amp; slaveId,</div>
-<div class="line"><a name="l00461"></a><span class="lineno">  461</span>&#160;      <span class="keyword">const</span> FrameworkID&amp; frameworkId,</div>
-<div class="line"><a name="l00462"></a><span class="lineno">  462</span>&#160;      <span class="keyword">const</span> ExecutorID&amp; executorId,</div>
-<div class="line"><a name="l00463"></a><span class="lineno">  463</span>&#160;      <span class="keyword">const</span> std::string&amp; data);</div>
-<div class="line"><a name="l00464"></a><span class="lineno">  464</span>&#160;</div>
-<div class="line"><a name="l00465"></a><span class="lineno">  465</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classmesos_1_1internal_1_1master_1_1Master.html#a77afa0a7ad83cf90a36822904176cfb3">executorMessage</a>(</div>
-<div class="line"><a name="l00466"></a><span class="lineno">  466</span>&#160;      <span class="keyword">const</span> <a class="code" href="structprocess_1_1UPID.html">process::UPID</a>&amp; from,</div>
-<div class="line"><a name="l00467"></a><span class="lineno">  467</span>&#160;      <span class="keyword">const</span> SlaveID&amp; slaveId,</div>
-<div class="line"><a name="l00468"></a><span class="lineno">  468</span>&#160;      <span class="keyword">const</span> FrameworkID&amp; frameworkId,</div>
-<div class="line"><a name="l00469"></a><span class="lineno">  469</span>&#160;      <span class="keyword">const</span> ExecutorID&amp; executorId,</div>
-<div class="line"><a name="l00470"></a><span class="lineno">  470</span>&#160;      <span class="keyword">const</span> std::string&amp; data);</div>
+<div class="line"><a name="l00436"></a><span class="lineno">  436</span>&#160;      LaunchTasksMessage&amp;&amp; launchTasksMessage);</div>
+<div class="line"><a name="l00437"></a><span class="lineno">  437</span>&#160;</div>
+<div class="line"><a name="l00438"></a><span class="lineno">  438</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classmesos_1_1internal_1_1master_1_1Master.html#a3461bdc133dd1d5df5d977dfa561979d">reviveOffers</a>(</div>
+<div class="line"><a name="l00439"></a><span class="lineno">  439</span>&#160;      <span class="keyword">const</span> <a class="code" href="structprocess_1_1UPID.html">process::UPID</a>&amp; from,</div>
+<div class="line"><a name="l00440"></a><span class="lineno">  440</span>&#160;      <span class="keyword">const</span> FrameworkID&amp; frameworkId,</div>
+<div class="line"><a name="l00441"></a><span class="lineno">  441</span>&#160;      <span class="keyword">const</span> std::vector&lt;std::string&gt;&amp; role);</div>
+<div class="line"><a name="l00442"></a><span class="lineno">  442</span>&#160;</div>
+<div class="line"><a name="l00443"></a><span class="lineno">  443</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classmesos_1_1internal_1_1master_1_1Master.html#a1a12255066d641e639f25555e4bc677f">killTask</a>(</div>
+<div class="line"><a name="l00444"></a><span class="lineno">  444</span>&#160;      <span class="keyword">const</span> <a class="code" href="structprocess_1_1UPID.html">process::UPID</a>&amp; from,</div>
+<div class="line"><a name="l00445"></a><span class="lineno">  445</span>&#160;      <span class="keyword">const</span> FrameworkID&amp; frameworkId,</div>
+<div class="line"><a name="l00446"></a><span class="lineno">  446</span>&#160;      <span class="keyword">const</span> TaskID&amp; taskId);</div>
+<div class="line"><a name="l00447"></a><span class="lineno">  447</span>&#160;</div>
+<div class="line"><a name="l00448"></a><span class="lineno">  448</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classmesos_1_1internal_1_1master_1_1Master.html#ab7dd4368e5217f59771a9fa70b868ced">statusUpdateAcknowledgement</a>(</div>
+<div class="line"><a name="l00449"></a><span class="lineno">  449</span>&#160;      <span class="keyword">const</span> <a class="code" href="structprocess_1_1UPID.html">process::UPID</a>&amp; from,</div>
+<div class="line"><a name="l00450"></a><span class="lineno">  450</span>&#160;      StatusUpdateAcknowledgementMessage&amp;&amp; statusUpdateAcknowledgementMessage);</div>
+<div class="line"><a name="l00451"></a><span class="lineno">  451</span>&#160;</div>
+<div class="line"><a name="l00452"></a><span class="lineno">  452</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classmesos_1_1internal_1_1master_1_1Master.html#a4ff19fe309311dd45433e8ac0aa129c0">schedulerMessage</a>(</div>
+<div class="line"><a name="l00453"></a><span class="lineno">  453</span>&#160;      <span class="keyword">const</span> <a class="code" href="structprocess_1_1UPID.html">process::UPID</a>&amp; from,</div>
+<div class="line"><a name="l00454"></a><span class="lineno">  454</span>&#160;      FrameworkToExecutorMessage&amp;&amp; frameworkToExecutorMessage);</div>
+<div class="line"><a name="l00455"></a><span class="lineno">  455</span>&#160;</div>
+<div class="line"><a name="l00456"></a><span class="lineno">  456</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classmesos_1_1internal_1_1master_1_1Master.html#ac89c86d133bfb63b96c7819fd2e64950">executorMessage</a>(</div>
+<div class="line"><a name="l00457"></a><span class="lineno">  457</span>&#160;      <span class="keyword">const</span> <a class="code" href="structprocess_1_1UPID.html">process::UPID</a>&amp; from,</div>
+<div class="line"><a name="l00458"></a><span class="lineno">  458</span>&#160;      ExecutorToFrameworkMessage&amp;&amp; executorToFrameworkMessage);</div>
+<div class="line"><a name="l00459"></a><span class="lineno">  459</span>&#160;</div>
+<div class="line"><a name="l00460"></a><span class="lineno">  460</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classmesos_1_1internal_1_1master_1_1Master.html#a68134d39542a47d999e5002e23c00c23">registerSlave</a>(</div>
+<div class="line"><a name="l00461"></a><span class="lineno">  461</span>&#160;      <span class="keyword">const</span> <a class="code" href="structprocess_1_1UPID.html">process::UPID</a>&amp; from,</div>
+<div class="line"><a name="l00462"></a><span class="lineno">  462</span>&#160;      RegisterSlaveMessage&amp;&amp; registerSlaveMessage);</div>
+<div class="line"><a name="l00463"></a><span class="lineno">  463</span>&#160;</div>
+<div class="line"><a name="l00464"></a><span class="lineno">  464</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classmesos_1_1internal_1_1master_1_1Master.html#adee6f5a7f3ab5ab6d7095075bee3fe09">reregisterSlave</a>(</div>
+<div class="line"><a name="l00465"></a><span class="lineno">  465</span>&#160;      <span class="keyword">const</span> <a class="code" href="structprocess_1_1UPID.html">process::UPID</a>&amp; from,</div>
+<div class="line"><a name="l00466"></a><span class="lineno">  466</span>&#160;      ReregisterSlaveMessage&amp;&amp; incomingMessage);</div>
+<div class="line"><a name="l00467"></a><span class="lineno">  467</span>&#160;</div>
+<div class="line"><a name="l00468"></a><span class="lineno">  468</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classmesos_1_1internal_1_1master_1_1Master.html#a10cc0fd019512c68eae59432b7aff3a4">unregisterSlave</a>(</div>
+<div class="line"><a name="l00469"></a><span class="lineno">  469</span>&#160;      <span class="keyword">const</span> <a class="code" href="structprocess_1_1UPID.html">process::UPID</a>&amp; from,</div>
+<div class="line"><a name="l00470"></a><span class="lineno">  470</span>&#160;      <span class="keyword">const</span> SlaveID&amp; slaveId);</div>
 <div class="line"><a name="l00471"></a><span class="lineno">  471</span>&#160;</div>
-<div class="line"><a name="l00472"></a><span class="lineno">  472</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classmesos_1_1internal_1_1master_1_1Master.html#a68134d39542a47d999e5002e23c00c23">registerSlave</a>(</div>
-<div class="line"><a name="l00473"></a><span class="lineno">  473</span>&#160;      <span class="keyword">const</span> <a class="code" href="structprocess_1_1UPID.html">process::UPID</a>&amp; from,</div>
-<div class="line"><a name="l00474"></a><span class="lineno">  474</span>&#160;      RegisterSlaveMessage&amp;&amp; registerSlaveMessage);</div>
-<div class="line"><a name="l00475"></a><span class="lineno">  475</span>&#160;</div>
-<div class="line"><a name="l00476"></a><span class="lineno">  476</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classmesos_1_1internal_1_1master_1_1Master.html#adee6f5a7f3ab5ab6d7095075bee3fe09">reregisterSlave</a>(</div>
-<div class="line"><a name="l00477"></a><span class="lineno">  477</span>&#160;      <span class="keyword">const</span> <a class="code" href="structprocess_1_1UPID.html">process::UPID</a>&amp; from,</div>
-<div class="line"><a name="l00478"></a><span class="lineno">  478</span>&#160;      ReregisterSlaveMessage&amp;&amp; incomingMessage);</div>
+<div class="line"><a name="l00472"></a><span class="lineno">  472</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classmesos_1_1internal_1_1master_1_1Master.html#aa4711c6530137b8a39e2d633e66f6e84">statusUpdate</a>(</div>
+<div class="line"><a name="l00473"></a><span class="lineno">  473</span>&#160;      StatusUpdateMessage&amp;&amp; statusUpdateMessage);</div>
+<div class="line"><a name="l00474"></a><span class="lineno">  474</span>&#160;</div>
+<div class="line"><a name="l00475"></a><span class="lineno">  475</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classmesos_1_1internal_1_1master_1_1Master.html#a694f20e8171922c4899139f09e32f3d6">reconcileTasks</a>(</div>
+<div class="line"><a name="l00476"></a><span class="lineno">  476</span>&#160;      <span class="keyword">const</span> <a class="code" href="structprocess_1_1UPID.html">process::UPID</a>&amp; from,</div>
+<div class="line"><a name="l00477"></a><span class="lineno">  477</span>&#160;      <span class="keyword">const</span> FrameworkID&amp; frameworkId,</div>
+<div class="line"><a name="l00478"></a><span class="lineno">  478</span>&#160;      <span class="keyword">const</span> std::vector&lt;TaskStatus&gt;&amp; <a class="code" href="namespaceprocess_1_1http.html#a061749759c8d327692f4dbb3bb8b8440">statuses</a>);</div>
 <div class="line"><a name="l00479"></a><span class="lineno">  479</span>&#160;</div>
-<div class="line"><a name="l00480"></a><span class="lineno">  480</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classmesos_1_1internal_1_1master_1_1Master.html#a10cc0fd019512c68eae59432b7aff3a4">unregisterSlave</a>(</div>
-<div class="line"><a name="l00481"></a><span class="lineno">  481</span>&#160;      <span class="keyword">const</span> <a class="code" href="structprocess_1_1UPID.html">process::UPID</a>&amp; from,</div>
-<div class="line"><a name="l00482"></a><span class="lineno">  482</span>&#160;      <span class="keyword">const</span> SlaveID&amp; slaveId);</div>
-<div class="line"><a name="l00483"></a><span class="lineno">  483</span>&#160;</div>
-<div class="line"><a name="l00484"></a><span class="lineno">  484</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classmesos_1_1internal_1_1master_1_1Master.html#ae1c4caf776aae3a6d5f062431f0e4566">statusUpdate</a>(</div>
-<div class="line"><a name="l00485"></a><span class="lineno">  485</span>&#160;      StatusUpdate <a class="code" href="namespacerouting_1_1filter_1_1basic.html#a088d88712e011acb0673da92045b365b">update</a>,</div>
-<div class="line"><a name="l00486"></a><span class="lineno">  486</span>&#160;      <span class="keyword">const</span> <a class="code" href="structprocess_1_1UPID.html">process::UPID</a>&amp; pid);</div>
-<div class="line"><a name="l00487"></a><span class="lineno">  487</span>&#160;</div>
-<div class="line"><a name="l00488"></a><span class="lineno">  488</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classmesos_1_1internal_1_1master_1_1Master.html#a694f20e8171922c4899139f09e32f3d6">reconcileTasks</a>(</div>
-<div class="line"><a name="l00489"></a><span class="lineno">  489</span>&#160;      <span class="keyword">const</span> <a class="code" href="structprocess_1_1UPID.html">process::UPID</a>&amp; from,</div>
-<div class="line"><a name="l00490"></a><span class="lineno">  490</span>&#160;      <span class="keyword">const</span> FrameworkID&amp; frameworkId,</div>
-<div class="line"><a name="l00491"></a><span class="lineno">  491</span>&#160;      <span class="keyword">const</span> std::vector&lt;TaskStatus&gt;&amp; <a class="code" href="namespaceprocess_1_1http.html#a061749759c8d327692f4dbb3bb8b8440">statuses</a>);</div>
-<div class="line"><a name="l00492"></a><span class="lineno">  492</span>&#160;</div>
-<div class="line"><a name="l00493"></a><span class="lineno">  493</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classmesos_1_1internal_1_1master_1_1Master.html#a296d83eac39a542880e2726af33f22eb">updateOperationStatus</a>(</div>
-<div class="line"><a name="l00494"></a><span class="lineno">  494</span>&#160;      <span class="keyword">const</span> UpdateOperationStatusMessage&amp; update);</div>
+<div class="line"><a name="l00480"></a><span class="lineno">  480</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classmesos_1_1internal_1_1master_1_1Master.html#a296d83eac39a542880e2726af33f22eb">updateOperationStatus</a>(</div>
+<div class="line"><a name="l00481"></a><span class="lineno">  481</span>&#160;      <span class="keyword">const</span> UpdateOperationStatusMessage&amp; <a class="code" href="namespacerouting_1_1filter_1_1basic.html#a088d88712e011acb0673da92045b365b">update</a>);</div>
+<div class="line"><a name="l00482"></a><span class="lineno">  482</span>&#160;</div>
+<div class="line"><a name="l00483"></a><span class="lineno">  483</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classmesos_1_1internal_1_1master_1_1Master.html#a1c43d0e0feca12e86a5f03fab4065cda">exitedExecutor</a>(</div>
+<div class="line"><a name="l00484"></a><span class="lineno">  484</span>&#160;      <span class="keyword">const</span> <a class="code" href="structprocess_1_1UPID.html">process::UPID</a>&amp; from,</div>
+<div class="line"><a name="l00485"></a><span class="lineno">  485</span>&#160;      <span class="keyword">const</span> SlaveID&amp; slaveId,</div>
+<div class="line"><a name="l00486"></a><span class="lineno">  486</span>&#160;      <span class="keyword">const</span> FrameworkID&amp; frameworkId,</div>
+<div class="line"><a name="l00487"></a><span class="lineno">  487</span>&#160;      <span class="keyword">const</span> ExecutorID&amp; executorId,</div>
+<div class="line"><a name="l00488"></a><span class="lineno">  488</span>&#160;      int32_t <a class="code" href="namespaceproc.html#a34396c6140a28f583dc13fee3c3c35d4">status</a>);</div>
+<div class="line"><a name="l00489"></a><span class="lineno">  489</span>&#160;</div>
+<div class="line"><a name="l00490"></a><span class="lineno">  490</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classmesos_1_1internal_1_1master_1_1Master.html#a911a90af5a7f68ef3a8e7850b9387418">updateSlave</a>(UpdateSlaveMessage&amp;&amp; message);</div>
+<div class="line"><a name="l00491"></a><span class="lineno">  491</span>&#160;</div>
+<div class="line"><a name="l00492"></a><span class="lineno">  492</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classmesos_1_1internal_1_1master_1_1Master.html#a2bcd31ff91d60fac0172aaeab69bae93">updateUnavailability</a>(</div>
+<div class="line"><a name="l00493"></a><span class="lineno">  493</span>&#160;      <span class="keyword">const</span> MachineID&amp; machineId,</div>
+<div class="line"><a name="l00494"></a><span class="lineno">  494</span>&#160;      <span class="keyword">const</span> <a class="code" href="classOption.html">Option&lt;Unavailability&gt;</a>&amp; <a class="code" href="namespacemesos_1_1internal_1_1master_1_1maintenance_1_1validation.html#a766d3749f894fce457b084746f0ba868">unavailability</a>);</div>
 <div class="line"><a name="l00495"></a><span class="lineno">  495</span>&#160;</div>
-<div class="line"><a name="l00496"></a><span class="lineno">  496</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classmesos_1_1internal_1_1master_1_1Master.html#a1c43d0e0feca12e86a5f03fab4065cda">exitedExecutor</a>(</div>
-<div class="line"><a name="l00497"></a><span class="lineno">  497</span>&#160;      <span class="keyword">const</span> <a class="code" href="structprocess_1_1UPID.html">process::UPID</a>&amp; from,</div>
-<div class="line"><a name="l00498"></a><span class="lineno">  498</span>&#160;      <span class="keyword">const</span> SlaveID&amp; slaveId,</div>
-<div class="line"><a name="l00499"></a><span class="lineno">  499</span>&#160;      <span class="keyword">const</span> FrameworkID&amp; frameworkId,</div>
-<div class="line"><a name="l00500"></a><span class="lineno">  500</span>&#160;      <span class="keyword">const</span> ExecutorID&amp; executorId,</div>
-<div class="line"><a name="l00501"></a><span class="lineno">  501</span>&#160;      int32_t <a class="code" href="namespaceproc.html#a34396c6140a28f583dc13fee3c3c35d4">status</a>);</div>
-<div class="line"><a name="l00502"></a><span class="lineno">  502</span>&#160;</div>
-<div class="line"><a name="l00503"></a><span class="lineno">  503</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classmesos_1_1internal_1_1master_1_1Master.html#a911a90af5a7f68ef3a8e7850b9387418">updateSlave</a>(UpdateSlaveMessage&amp;&amp; message);</div>
-<div class="line"><a name="l00504"></a><span class="lineno">  504</span>&#160;</div>
-<div class="line"><a name="l00505"></a><span class="lineno">  505</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classmesos_1_1internal_1_1master_1_1Master.html#a2bcd31ff91d60fac0172aaeab69bae93">updateUnavailability</a>(</div>
-<div class="line"><a name="l00506"></a><span class="lineno">  506</span>&#160;      <span class="keyword">const</span> MachineID&amp; machineId,</div>
-<div class="line"><a name="l00507"></a><span class="lineno">  507</span>&#160;      <span class="keyword">const</span> <a class="code" href="classOption.html">Option&lt;Unavailability&gt;</a>&amp; <a class="code" href="namespacemesos_1_1internal_1_1master_1_1maintenance_1_1validation.html#a766d3749f894fce457b084746f0ba868">unavailability</a>);</div>
-<div class="line"><a name="l00508"></a><span class="lineno">  508</span>&#160;</div>
-<div class="line"><a name="l00509"></a><span class="lineno">  509</span>&#160;  <span class="comment">// Marks the agent unreachable and returns whether the agent was</span></div>
-<div class="line"><a name="l00510"></a><span class="lineno">  510</span>&#160;  <span class="comment">// marked unreachable. Returns false if the agent is already</span></div>
-<div class="line"><a name="l00511"></a><span class="lineno">  511</span>&#160;  <span class="comment">// in a transitioning state or has transitioned into another</span></div>
-<div class="line"><a name="l00512"></a><span class="lineno">  512</span>&#160;  <span class="comment">// state (this includes already being marked unreachable).</span></div>
-<div class="line"><a name="l00513"></a><span class="lineno">  513</span>&#160;  <span class="comment">// The `duringMasterFailover` parameter specifies whether this</span></div>
-<div class="line"><a name="l00514"></a><span class="lineno">  514</span>&#160;  <span class="comment">// agent is transitioning from a recovered state (true) or a</span></div>
-<div class="line"><a name="l00515"></a><span class="lineno">  515</span>&#160;  <span class="comment">// registered state (false).</span></div>
-<div class="line"><a name="l00516"></a><span class="lineno">  516</span>&#160;  <span class="comment">//</span></div>
-<div class="line"><a name="l00517"></a><span class="lineno">  517</span>&#160;  <span class="comment">// Discarding currently not supported.</span></div>
-<div class="line"><a name="l00518"></a><span class="lineno">  518</span>&#160;  <span class="comment">//</span></div>
-<div class="line"><a name="l00519"></a><span class="lineno">  519</span>&#160;  <span class="comment">// Will not return a failure (this will crash the master</span></div>
-<div class="line"><a name="l00520"></a><span class="lineno">  520</span>&#160;  <span class="comment">// internally in the case of a registry failure).</span></div>
-<div class="line"><a name="l00521"></a><span class="lineno">  521</span>&#160;  <a class="code" href="classprocess_1_1Future.html">process::Future&lt;bool&gt;</a> <a class="code" href="classmesos_1_1internal_1_1master_1_1Master.html#abeea6e4cc8d253d98eedefdebdd50a00">markUnreachable</a>(</div>
-<div class="line"><a name="l00522"></a><span class="lineno">  522</span>&#160;      <span class="keyword">const</span> SlaveInfo&amp; slave,</div>
-<div class="line"><a name="l00523"></a><span class="lineno">  523</span>&#160;      <span class="keywordtype">bool</span> duringMasterFailover,</div>
-<div class="line"><a name="l00524"></a><span class="lineno">  524</span>&#160;      <span class="keyword">const</span> std::string&amp; message);</div>
+<div class="line"><a name="l00496"></a><span class="lineno">  496</span>&#160;  <span class="comment">// Marks the agent unreachable and returns whether the agent was</span></div>
+<div class="line"><a name="l00497"></a><span class="lineno">  497</span>&#160;  <span class="comment">// marked unreachable. Returns false if the agent is already</span></div>
+<div class="line"><a name="l00498"></a><span class="lineno">  498</span>&#160;  <span class="comment">// in a transitioning state or has transitioned into another</span></div>
+<div class="line"><a name="l00499"></a><span class="lineno">  499</span>&#160;  <span class="comment">// state (this includes already being marked unreachable).</span></div>
+<div class="line"><a name="l00500"></a><span class="lineno">  500</span>&#160;  <span class="comment">// The `duringMasterFailover` parameter specifies whether this</span></div>
+<div class="line"><a name="l00501"></a><span class="lineno">  501</span>&#160;  <span class="comment">// agent is transitioning from a recovered state (true) or a</span></div>
+<div class="line"><a name="l00502"></a><span class="lineno">  502</span>&#160;  <span class="comment">// registered state (false).</span></div>
+<div class="line"><a name="l00503"></a><span class="lineno">  503</span>&#160;  <span class="comment">//</span></div>
+<div class="line"><a name="l00504"></a><span class="lineno">  504</span>&#160;  <span class="comment">// Discarding currently not supported.</span></div>
+<div class="line"><a name="l00505"></a><span class="lineno">  505</span>&#160;  <span class="comment">//</span></div>
+<div class="line"><a name="l00506"></a><span class="lineno">  506</span>&#160;  <span class="comment">// Will not return a failure (this will crash the master</span></div>
+<div class="line"><a name="l00507"></a><span class="lineno">  507</span>&#160;  <span class="comment">// internally in the case of a registry failure).</span></div>
+<div class="line"><a name="l00508"></a><span class="lineno">  508</span>&#160;  <a class="code" href="classprocess_1_1Future.html">process::Future&lt;bool&gt;</a> <a class="code" href="classmesos_1_1internal_1_1master_1_1Master.html#abeea6e4cc8d253d98eedefdebdd50a00">markUnreachable</a>(</div>
+<div class="line"><a name="l00509"></a><span class="lineno">  509</span>&#160;      <span class="keyword">const</span> SlaveInfo&amp; slave,</div>
+<div class="line"><a name="l00510"></a><span class="lineno">  510</span>&#160;      <span class="keywordtype">bool</span> duringMasterFailover,</div>
+<div class="line"><a name="l00511"></a><span class="lineno">  511</span>&#160;      <span class="keyword">const</span> std::string&amp; message);</div>
+<div class="line"><a name="l00512"></a><span class="lineno">  512</span>&#160;</div>
+<div class="line"><a name="l00513"></a><span class="lineno">  513</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classmesos_1_1internal_1_1master_1_1Master.html#af5e5d5f093291a247de88a5ca4c8ecf4">markGone</a>(<a class="code" href="structmesos_1_1internal_1_1master_1_1Slave.html">Slave</a>* slave, <span class="keyword">const</span> TimeInfo&amp; goneTime);</div>
+<div class="line"><a name="l00514"></a><span class="lineno">  514</span>&#160;</div>
+<div class="line"><a name="l00515"></a><span class="lineno">  515</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classmesos_1_1internal_1_1master_1_1Master.html#ae047b5e48e3fc0606959c09049350e9c">authenticate</a>(</div>
+<div class="line"><a name="l00516"></a><span class="lineno">  516</span>&#160;      <span class="keyword">const</span> <a class="code" href="structprocess_1_1UPID.html">process::UPID</a>&amp; from,</div>
+<div class="line"><a name="l00517"></a><span class="lineno">  517</span>&#160;      <span class="keyword">const</span> <a class="code" href="structprocess_1_1UPID.html">process::UPID</a>&amp; pid);</div>
+<div class="line"><a name="l00518"></a><span class="lineno">  518</span>&#160;</div>
+<div class="line"><a name="l00519"></a><span class="lineno">  519</span>&#160;  <span class="comment">// TODO(bmahler): It would be preferred to use a unique libprocess</span></div>
+<div class="line"><a name="l00520"></a><span class="lineno">  520</span>&#160;  <span class="comment">// Process identifier (PID is not sufficient) for identifying the</span></div>
+<div class="line"><a name="l00521"></a><span class="lineno">  521</span>&#160;  <span class="comment">// framework instance, rather than relying on re-registration time.</span></div>
+<div class="line"><a name="l00522"></a><span class="lineno">  522</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classmesos_1_1internal_1_1master_1_1Master.html#a97d4aab61e2bc12096641fcd18bbce6a">frameworkFailoverTimeout</a>(</div>
+<div class="line"><a name="l00523"></a><span class="lineno">  523</span>&#160;      <span class="keyword">const</span> FrameworkID&amp; frameworkId,</div>
+<div class="line"><a name="l00524"></a><span class="lineno">  524</span>&#160;      <span class="keyword">const</span> <a class="code" href="classprocess_1_1Time.html">process::Time</a>&amp; reregisteredTime);</div>
 <div class="line"><a name="l00525"></a><span class="lineno">  525</span>&#160;</div>
-<div class="line"><a name="l00526"></a><span class="lineno">  526</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classmesos_1_1internal_1_1master_1_1Master.html#af5e5d5f093291a247de88a5ca4c8ecf4">markGone</a>(<a class="code" href="structmesos_1_1internal_1_1master_1_1Slave.html">Slave</a>* slave, <span class="keyword">const</span> TimeInfo&amp; goneTime);</div>
-<div class="line"><a name="l00527"></a><span class="lineno">  527</span>&#160;</div>
-<div class="line"><a name="l00528"></a><span class="lineno">  528</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classmesos_1_1internal_1_1master_1_1Master.html#ae047b5e48e3fc0606959c09049350e9c">authenticate</a>(</div>
-<div class="line"><a name="l00529"></a><span class="lineno">  529</span>&#160;      <span class="keyword">const</span> <a class="code" href="structprocess_1_1UPID.html">process::UPID</a>&amp; from,</div>
-<div class="line"><a name="l00530"></a><span class="lineno">  530</span>&#160;      <span class="keyword">const</span> <a class="code" href="structprocess_1_1UPID.html">process::UPID</a>&amp; pid);</div>
-<div class="line"><a name="l00531"></a><span class="lineno">  531</span>&#160;</div>
-<div class="line"><a name="l00532"></a><span class="lineno">  532</span>&#160;  <span class="comment">// TODO(bmahler): It would be preferred to use a unique libprocess</span></div>
-<div class="line"><a name="l00533"></a><span class="lineno">  533</span>&#160;  <span class="comment">// Process identifier (PID is not sufficient) for identifying the</span></div>
-<div class="line"><a name="l00534"></a><span class="lineno">  534</span>&#160;  <span class="comment">// framework instance, rather than relying on re-registration time.</span></div>
-<div class="line"><a name="l00535"></a><span class="lineno">  535</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classmesos_1_1internal_1_1master_1_1Master.html#a97d4aab61e2bc12096641fcd18bbce6a">frameworkFailoverTimeout</a>(</div>
-<div class="line"><a name="l00536"></a><span class="lineno">  536</span>&#160;      <span class="keyword">const</span> FrameworkID&amp; frameworkId,</div>
-<div class="line"><a name="l00537"></a><span class="lineno">  537</span>&#160;      <span class="keyword">const</span> <a class="code" href="classprocess_1_1Time.html">process::Time</a>&amp; reregisteredTime);</div>
-<div class="line"><a name="l00538"></a><span class="lineno">  538</span>&#160;</div>
-<div class="line"><a name="l00539"></a><span class="lineno">  539</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classmesos_1_1internal_1_1master_1_1Master.html#a44d73db38b6c15996c0097be7fb99d3c">offer</a>(</div>
-<div class="line"><a name="l00540"></a><span class="lineno">  540</span>&#160;      <span class="keyword">const</span> FrameworkID&amp; frameworkId,</div>
-<div class="line"><a name="l00541"></a><span class="lineno">  541</span>&#160;      <span class="keyword">const</span> <a class="code" href="classhashmap.html">hashmap</a>&lt;std::string, <a class="code" href="classhashmap.html">hashmap&lt;SlaveID, Resources&gt;</a>&gt;&amp; resources);</div>
-<div class="line"><a name="l00542"></a><span class="lineno">  542</span>&#160;</div>
-<div class="line"><a name="l00543"></a><span class="lineno">  543</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classmesos_1_1internal_1_1master_1_1Master.html#a0219dd5cfb230006e65a999b63d1d88c">inverseOffer</a>(</div>
-<div class="line"><a name="l00544"></a><span class="lineno">  544</span>&#160;      <span class="keyword">const</span> FrameworkID&amp; frameworkId,</div>
-<div class="line"><a name="l00545"></a><span class="lineno">  545</span>&#160;      <span class="keyword">const</span> <a class="code" href="classhashmap.html">hashmap&lt;SlaveID, UnavailableResources&gt;</a>&amp; resources);</div>
-<div class="line"><a name="l00546"></a><span class="lineno">  546</span>&#160;</div>
-<div class="line"><a name="l00547"></a><span class="lineno">  547</span>&#160;  <span class="comment">// Invoked when there is a newly elected leading master.</span></div>
-<div class="line"><a name="l00548"></a><span class="lineno">  548</span>&#160;  <span class="comment">// Made public for testing purposes.</span></div>
-<div class="line"><a name="l00549"></a><span class="lineno">  549</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classmesos_1_1internal_1_1master_1_1Master.html#a8c403b7beba19c74de804bc8e4f0d38c">detected</a>(<span class="keyword">const</span> <a class="code" href="classprocess_1_1Future.html">process::Future</a>&lt;<a class="code" href="classOption.html">Option&lt;MasterInfo&gt;</a>&gt;&amp; _leader);</div>
+<div class="line"><a name="l00526"></a><span class="lineno">  526</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classmesos_1_1internal_1_1master_1_1Master.html#a44d73db38b6c15996c0097be7fb99d3c">offer</a>(</div>
+<div class="line"><a name="l00527"></a><span class="lineno">  527</span>&#160;      <span class="keyword">const</span> FrameworkID&amp; frameworkId,</div>
+<div class="line"><a name="l00528"></a><span class="lineno">  528</span>&#160;      <span class="keyword">const</span> <a class="code" href="classhashmap.html">hashmap</a>&lt;std::string, <a class="code" href="classhashmap.html">hashmap&lt;SlaveID, Resources&gt;</a>&gt;&amp; resources);</div>
+<div class="line"><a name="l00529"></a><span class="lineno">  529</span>&#160;</div>
+<div class="line"><a name="l00530"></a><span class="lineno">  530</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classmesos_1_1internal_1_1master_1_1Master.html#a0219dd5cfb230006e65a999b63d1d88c">inverseOffer</a>(</div>
+<div class="line"><a name="l00531"></a><span class="lineno">  531</span>&#160;      <span class="keyword">const</span> FrameworkID&amp; frameworkId,</div>
+<div class="line"><a name="l00532"></a><span class="lineno">  532</span>&#160;      <span class="keyword">const</span> <a class="code" href="classhashmap.html">hashmap&lt;SlaveID, UnavailableResources&gt;</a>&amp; resources);</div>
+<div class="line"><a name="l00533"></a><span class="lineno">  533</span>&#160;</div>
+<div class="line"><a name="l00534"></a><span class="lineno">  534</span>&#160;  <span class="comment">// Invoked when there is a newly elected leading master.</span></div>
+<div class="line"><a name="l00535"></a><span class="lineno">  535</span>&#160;  <span class="comment">// Made public for testing purposes.</span></div>
+<div class="line"><a name="l00536"></a><span class="lineno">  536</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classmesos_1_1internal_1_1master_1_1Master.html#a8c403b7beba19c74de804bc8e4f0d38c">detected</a>(<span class="keyword">const</span> <a class="code" href="classprocess_1_1Future.html">process::Future</a>&lt;<a class="code" href="classOption.html">Option&lt;MasterInfo&gt;</a>&gt;&amp; _leader);</div>
+<div class="line"><a name="l00537"></a><span class="lineno">  537</span>&#160;</div>
+<div class="line"><a name="l00538"></a><span class="lineno">  538</span>&#160;  <span class="comment">// Invoked when the contender has lost the candidacy.</span></div>
+<div class="line"><a name="l00539"></a><span class="lineno">  539</span>&#160;  <span class="comment">// Made public for testing purposes.</span></div>
+<div class="line"><a name="l00540"></a><span class="lineno">  540</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classmesos_1_1internal_1_1master_1_1Master.html#aad51b724e3c140be80a857e303604192">lostCandidacy</a>(<span class="keyword">const</span> <a class="code" href="classprocess_1_1Future.html">process::Future&lt;Nothing&gt;</a>&amp; <a class="code" href="classprocess_1_1ProcessBase.html#a38a4b602aa7e2656a647323da1bacf50">lost</a>);</div>
+<div class="line"><a name="l00541"></a><span class="lineno">  541</span>&#160;</div>
+<div class="line"><a name="l00542"></a><span class="lineno">  542</span>&#160;  <span class="comment">// Continuation of recover().</span></div>
+<div class="line"><a name="l00543"></a><span class="lineno">  543</span>&#160;  <span class="comment">// Made public for testing purposes.</span></div>
+<div class="line"><a name="l00544"></a><span class="lineno">  544</span>&#160;  <a class="code" href="classprocess_1_1Future.html">process::Future&lt;Nothing&gt;</a> <a class="code" href="classmesos_1_1internal_1_1master_1_1Master.html#acc7eaee208d8a9bfcf444864518c51dd">_recover</a>(<span class="keyword">const</span> Registry&amp; registry);</div>
+<div class="line"><a name="l00545"></a><span class="lineno">  545</span>&#160;</div>
+<div class="line"><a name="l00546"></a><span class="lineno"><a class="line" href="classmesos_1_1internal_1_1master_1_1Master.html#a1ae1ab2bf0c21fcfdcf8183a2952d3ce">  546</a></span>&#160;  MasterInfo <a class="code" href="classmesos_1_1internal_1_1master_1_1Master.html#a1ae1ab2bf0c21fcfdcf8183a2952d3ce">info</a>()<span class="keyword"> const</span></div>
+<div class="line"><a name="l00547"></a><span class="lineno">  547</span>&#160;<span class="keyword">  </span>{</div>
+<div class="line"><a name="l00548"></a><span class="lineno">  548</span>&#160;    <span class="keywordflow">return</span> info_;</div>
+<div class="line"><a name="l00549"></a><span class="lineno">  549</span>&#160;  }</div>
 <div class="line"><a name="l00550"></a><span class="lineno">  550</span>&#160;</div>
-<div class="line"><a name="l00551"></a><span class="lineno">  551</span>&#160;  <span class="comment">// Invoked when the contender has lost the candidacy.</span></div>
-<div class="line"><a name="l00552"></a><span class="lineno">  552</span>&#160;  <span class="comment">// Made public for testing purposes.</span></div>
-<div class="line"><a name="l00553"></a><span class="lineno">  553</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classmesos_1_1internal_1_1master_1_1Master.html#aad51b724e3c140be80a857e303604192">lostCandidacy</a>(<span class="keyword">const</span> <a class="code" href="classprocess_1_1Future.html">process::Future&lt;Nothing&gt;</a>&amp; <a class="code" href="classprocess_1_1ProcessBase.html#a38a4b602aa7e2656a647323da1bacf50">lost</a>);</div>
+<div class="line"><a name="l00551"></a><span class="lineno">  551</span>&#160;<span class="keyword">protected</span>:</div>
+<div class="line"><a name="l00552"></a><span class="lineno">  552</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classmesos_1_1internal_1_1master_1_1Master.html#a5ee20b895880bc157c7e445859458364">initialize</a>() <span class="keyword">override</span>;</div>
+<div class="line"><a name="l00553"></a><span class="lineno">  553</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classmesos_1_1internal_1_1master_1_1Master.html#ade864dd7c63e16d0714c351381390cff">finalize</a>() <span class="keyword">override</span>;</div>
 <div class="line"><a name="l00554"></a><span class="lineno">  554</span>&#160;</div>
-<div class="line"><a name="l00555"></a><span class="lineno">  555</span>&#160;  <span class="comment">// Continuation of recover().</span></div>
-<div class="line"><a name="l00556"></a><span class="lineno">  556</span>&#160;  <span class="comment">// Made public for testing purposes.</span></div>
-<div class="line"><a name="l00557"></a><span class="lineno">  557</span>&#160;  <a class="code" href="classprocess_1_1Future.html">process::Future&lt;Nothing&gt;</a> <a class="code" href="classmesos_1_1internal_1_1master_1_1Master.html#acc7eaee208d8a9bfcf444864518c51dd">_recover</a>(<span class="keyword">const</span> Registry&amp; registry);</div>
-<div class="line"><a name="l00558"></a><span class="lineno">  558</span>&#160;</div>
-<div class="line"><a name="l00559"></a><span class="lineno"><a class="line" href="classmesos_1_1internal_1_1master_1_1Master.html#a1ae1ab2bf0c21fcfdcf8183a2952d3ce">  559</a></span>&#160;  MasterInfo <a class="code" href="classmesos_1_1internal_1_1master_1_1Master.html#a1ae1ab2bf0c21fcfdcf8183a2952d3ce">info</a>()<span class="keyword"> const</span></div>
-<div class="line"><a name="l00560"></a><span class="lineno">  560</span>&#160;<span class="keyword">  </span>{</div>
-<div class="line"><a name="l00561"></a><span class="lineno">  561</span>&#160;    <span class="keywordflow">return</span> info_;</div>
-<div class="line"><a name="l00562"></a><span class="lineno">  562</span>&#160;  }</div>
-<div class="line"><a name="l00563"></a><span class="lineno">  563</span>&#160;</div>
-<div class="line"><a name="l00564"></a><span class="lineno">  564</span>&#160;<span class="keyword">protected</span>:</div>
-<div class="line"><a name="l00565"></a><span class="lineno">  565</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classmesos_1_1internal_1_1master_1_1Master.html#a5ee20b895880bc157c7e445859458364">initialize</a>() <span class="keyword">override</span>;</div>
-<div class="line"><a name="l00566"></a><span class="lineno">  566</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classmesos_1_1internal_1_1master_1_1Master.html#ade864dd7c63e16d0714c351381390cff">finalize</a>() <span class="keyword">override</span>;</div>
+<div class="line"><a name="l00555"></a><span class="lineno">  555</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classmesos_1_1internal_1_1master_1_1Master.html#a2df5783664d5323e43272fdce9310455">consume</a>(<a class="code" href="structprocess_1_1MessageEvent.html">process::MessageEvent</a>&amp;&amp; event) <span class="keyword">override</span>;</div>
+<div class="line"><a name="l00556"></a><span class="lineno">  556</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classmesos_1_1internal_1_1master_1_1Master.html#a2df5783664d5323e43272fdce9310455">consume</a>(<a class="code" href="structprocess_1_1ExitedEvent.html">process::ExitedEvent</a>&amp;&amp; event) <span class="keyword">override</span>;</div>
+<div class="line"><a name="l00557"></a><span class="lineno">  557</span>&#160;</div>
+<div class="line"><a name="l00558"></a><span class="lineno">  558</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classmesos_1_1internal_1_1master_1_1Master.html#ac285ccb7495989feff13451400127c7f">exited</a>(<span class="keyword">const</span> <a class="code" href="structprocess_1_1UPID.html">process::UPID</a>&amp; pid) <span class="keyword">override</span>;</div>
+<div class="line"><a name="l00559"></a><span class="lineno">  559</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classmesos_1_1internal_1_1master_1_1Master.html#ac285ccb7495989feff13451400127c7f">exited</a>(<span class="keyword">const</span> FrameworkID&amp; frameworkId, <span class="keyword">const</span> <a class="code" href="structmesos_1_1internal_1_1master_1_1HttpConnection.html">HttpConnection</a>&amp; http);</div>
+<div class="line"><a name="l00560"></a><span class="lineno">  560</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classmesos_1_1internal_1_1master_1_1Master.html#a4ffd3bd4715e4e12035c89ac47c2cd99">_exited</a>(<a class="code" href="structmesos_1_1internal_1_1master_1_1Framework.html">Framework</a>* framework);</div>
+<div class="line"><a name="l00561"></a><span class="lineno">  561</span>&#160;</div>
+<div class="line"><a name="l00562"></a><span class="lineno">  562</span>&#160;  <span class="comment">// Invoked upon noticing a subscriber disconnection.</span></div>
+<div class="line"><a name="l00563"></a><span class="lineno">  563</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classmesos_1_1internal_1_1master_1_1Master.html#ac285ccb7495989feff13451400127c7f">exited</a>(<span class="keyword">const</span> <a class="code" href="structid_1_1UUID.html">id::UUID</a>&amp; <span class="keywordtype">id</span>);</div>
+<div class="line"><a name="l00564"></a><span class="lineno">  564</span>&#160;</div>
+<div class="line"><a name="l00565"></a><span class="lineno">  565</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classmesos_1_1internal_1_1master_1_1Master.html#aa3a158b31fdb0b16a5290a9eb5da0a1b">agentReregisterTimeout</a>(<span class="keyword">const</span> SlaveID&amp; slaveId);</div>
+<div class="line"><a name="l00566"></a><span class="lineno">  566</span>&#160;  <a class="code" href="structNothing.html">Nothing</a> <a class="code" href="classmesos_1_1internal_1_1master_1_1Master.html#ada6e99db89ac87b9a716562c2b0bcc7b">_agentReregisterTimeout</a>(<span class="keyword">const</span> SlaveID&amp; slaveId);</div>
 <div class="line"><a name="l00567"></a><span class="lineno">  567</span>&#160;</div>
-<div class="line"><a name="l00568"></a><span class="lineno">  568</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classmesos_1_1internal_1_1master_1_1Master.html#a2df5783664d5323e43272fdce9310455">consume</a>(<a class="code" href="structprocess_1_1MessageEvent.html">process::MessageEvent</a>&amp;&amp; event) <span class="keyword">override</span>;</div>
-<div class="line"><a name="l00569"></a><span class="lineno">  569</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classmesos_1_1internal_1_1master_1_1Master.html#a2df5783664d5323e43272fdce9310455">consume</a>(<a class="code" href="structprocess_1_1ExitedEvent.html">process::ExitedEvent</a>&amp;&amp; event) <span class="keyword">override</span>;</div>
-<div class="line"><a name="l00570"></a><span class="lineno">  570</span>&#160;</div>
-<div class="line"><a name="l00571"></a><span class="lineno">  571</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classmesos_1_1internal_1_1master_1_1Master.html#ac285ccb7495989feff13451400127c7f">exited</a>(<span class="keyword">const</span> <a class="code" href="structprocess_1_1UPID.html">process::UPID</a>&amp; pid) <span class="keyword">override</span>;</div>
-<div class="line"><a name="l00572"></a><span class="lineno">  572</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classmesos_1_1internal_1_1master_1_1Master.html#ac285ccb7495989feff13451400127c7f">exited</a>(<span class="keyword">const</span> FrameworkID&amp; frameworkId, <span class="keyword">const</span> <a class="code" href="structmesos_1_1internal_1_1master_1_1HttpConnection.html">HttpConnection</a>&amp; http);</div>
-<div class="line"><a name="l00573"></a><span class="lineno">  573</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classmesos_1_1internal_1_1master_1_1Master.html#a4ffd3bd4715e4e12035c89ac47c2cd99">_exited</a>(<a class="code" href="structmesos_1_1internal_1_1master_1_1Framework.html">Framework</a>* framework);</div>
-<div class="line"><a name="l00574"></a><span class="lineno">  574</span>&#160;</div>
-<div class="line"><a name="l00575"></a><span class="lineno">  575</span>&#160;  <span class="comment">// Invoked upon noticing a subscriber disconnection.</span></div>
-<div class="line"><a name="l00576"></a><span class="lineno">  576</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classmesos_1_1internal_1_1master_1_1Master.html#ac285ccb7495989feff13451400127c7f">exited</a>(<span class="keyword">const</span> <a class="code" href="structid_1_1UUID.html">id::UUID</a>&amp; <span class="keywordtype">id</span>);</div>
-<div class="line"><a name="l00577"></a><span class="lineno">  577</span>&#160;</div>
-<div class="line"><a name="l00578"></a><span class="lineno">  578</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classmesos_1_1internal_1_1master_1_1Master.html#aa3a158b31fdb0b16a5290a9eb5da0a1b">agentReregisterTimeout</a>(<span class="keyword">const</span> SlaveID&amp; slaveId);</div>
-<div class="line"><a name="l00579"></a><span class="lineno">  579</span>&#160;  <a class="code" href="structNothing.html">Nothing</a> <a class="code" href="classmesos_1_1internal_1_1master_1_1Master.html#ada6e99db89ac87b9a716562c2b0bcc7b">_agentReregisterTimeout</a>(<span class="keyword">const</span> SlaveID&amp; slaveId);</div>
-<div class="line"><a name="l00580"></a><span class="lineno">  580</span>&#160;</div>
-<div class="line"><a name="l00581"></a><span class="lineno">  581</span>&#160;  <span class="comment">// Invoked when the message is ready to be executed after</span></div>
-<div class="line"><a name="l00582"></a><span class="lineno">  582</span>&#160;  <span class="comment">// being throttled.</span></div>
-<div class="line"><a name="l00583"></a><span class="lineno">  583</span>&#160;  <span class="comment">// &#39;principal&#39; being None indicates it is throttled by</span></div>
-<div class="line"><a name="l00584"></a><span class="lineno">  584</span>&#160;  <span class="comment">// &#39;defaultLimiter&#39;.</span></div>
-<div class="line"><a name="l00585"></a><span class="lineno">  585</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classmesos_1_1internal_1_1master_1_1Master.html#a104065574fe93f3683e4d126993583bf">throttled</a>(</div>
-<div class="line"><a name="l00586"></a><span class="lineno">  586</span>&#160;      <a class="code" href="structprocess_1_1MessageEvent.html">process::MessageEvent</a>&amp;&amp; event,</div>
-<div class="line"><a name="l00587"></a><span class="lineno">  587</span>&#160;      <span class="keyword">const</span> <a class="code" href="classOption.html">Option&lt;std::string&gt;</a>&amp; principal);</div>
-<div class="line"><a name="l00588"></a><span class="lineno">  588</span>&#160;</div>
-<div class="line"><a name="l00589"></a><span class="lineno">  589</span>&#160;  <span class="comment">// Continuations of consume().</span></div>
-<div class="line"><a name="l00590"></a><span class="lineno">  590</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classmesos_1_1internal_1_1master_1_1Master.html#a24ab33af474af68ea1255063075908a8">_consume</a>(<a class="code" href="structprocess_1_1MessageEvent.html">process::MessageEvent</a>&amp;&amp; event);</div>
-<div class="line"><a name="l00591"></a><span class="lineno">  591</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classmesos_1_1internal_1_1master_1_1Master.html#a24ab33af474af68ea1255063075908a8">_consume</a>(<a class="code" href="structprocess_1_1ExitedEvent.html">process::ExitedEvent</a>&amp;&amp; event);</div>
-<div class="line"><a name="l00592"></a><span class="lineno">  592</span>&#160;</div>
-<div class="line"><a name="l00593"></a><span class="lineno">  593</span>&#160;  <span class="comment">// Helper method invoked when the capacity for a framework</span></div>
-<div class="line"><a name="l00594"></a><span class="lineno">  594</span>&#160;  <span class="comment">// principal is exceeded.</span></div>
-<div class="line"><a name="l00595"></a><span class="lineno">  595</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classmesos_1_1internal_1_1master_1_1Master.html#a2595f53b9f20504fab43976b1ac0ba17">exceededCapacity</a>(</div>
-<div class="line"><a name="l00596"></a><span class="lineno">  596</span>&#160;      <span class="keyword">const</span> <a class="code" href="structprocess_1_1MessageEvent.html">process::MessageEvent</a>&amp; event,</div>
-<div class="line"><a name="l00597"></a><span class="lineno">  597</span>&#160;      <span class="keyword">const</span> <a class="code" href="classOption.html">Option&lt;std::string&gt;</a>&amp; principal,</div>
-<div class="line"><a name="l00598"></a><span class="lineno">  598</span>&#160;      uint64_t capacity);</div>
-<div class="line"><a name="l00599"></a><span class="lineno">  599</span>&#160;</div>
-<div class="line"><a name="l00600"></a><span class="lineno">  600</span>&#160;  <span class="comment">// Recovers state from the registrar.</span></div>
-<div class="line"><a name="l00601"></a><span class="lineno">  601</span>&#160;  <a class="code" href="classprocess_1_1Future.html">process::Future&lt;Nothing&gt;</a> <a class="code" href="classmesos_1_1internal_1_1master_1_1Master.html#ad984209e10f925712335d99bed0b9c5b">recover</a>();</div>
-<div class="line"><a name="l00602"></a><span class="lineno">  602</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classmesos_1_1internal_1_1master_1_1Master.html#ab609269957c32b5138b3bfc61194a789">recoveredSlavesTimeout</a>(<span class="keyword">const</span> Registry&amp; registry);</div>
-<div class="line"><a name="l00603"></a><span class="lineno">  603</span>&#160;</div>
-<div class="line"><a name="l00604"></a><span class="lineno">  604</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classmesos_1_1internal_1_1master_1_1Master.html#a085ab6071ae10fe61c336b74e9c343f6">_registerSlave</a>(</div>
-<div class="line"><a name="l00605"></a><span class="lineno">  605</span>&#160;      <span class="keyword">const</span> <a class="code" href="structprocess_1_1UPID.html">process::UPID</a>&amp; pid,</div>
-<div class="line"><a name="l00606"></a><span class="lineno">  606</span>&#160;      RegisterSlaveMessage&amp;&amp; registerSlaveMessage,</div>
-<div class="line"><a name="l00607"></a><span class="lineno">  607</span>&#160;      <span class="keyword">const</span> <a class="code" href="classOption.html">Option&lt;process::http::authentication::Principal&gt;</a>&amp; principal,</div>
-<div class="line"><a name="l00608"></a><span class="lineno">  608</span>&#160;      <span class="keyword">const</span> <a class="code" href="classprocess_1_1Future.html">process::Future&lt;bool&gt;</a>&amp; authorized);</div>
-<div class="line"><a name="l00609"></a><span class="lineno">  609</span>&#160;</div>
-<div class="line"><a name="l00610"></a><span class="lineno">  610</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classmesos_1_1internal_1_1master_1_1Master.html#a8064a4974504539c3cf39db9bdb8b1d5">__registerSlave</a>(</div>
-<div class="line"><a name="l00611"></a><span class="lineno">  611</span>&#160;      <span class="keyword">const</span> <a class="code" href="structprocess_1_1UPID.html">process::UPID</a>&amp; pid,</div>
-<div class="line"><a name="l00612"></a><span class="lineno">  612</span>&#160;      RegisterSlaveMessage&amp;&amp; registerSlaveMessage,</div>
-<div class="line"><a name="l00613"></a><span class="lineno">  613</span>&#160;      <span class="keyword">const</span> <a class="code" href="classprocess_1_1Future.html">process::Future&lt;bool&gt;</a>&amp; admit);</div>
-<div class="line"><a name="l00614"></a><span class="lineno">  614</span>&#160;</div>
-<div class="line"><a name="l00615"></a><span class="lineno">  615</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classmesos_1_1internal_1_1master_1_1Master.html#a2aa0b089a921828d3bbcf6c26dd4c8d0">_reregisterSlave</a>(</div>
-<div class="line"><a name="l00616"></a><span class="lineno">  616</span>&#160;      <span class="keyword">const</span> <a class="code" href="structprocess_1_1UPID.html">process::UPID</a>&amp; pid,</div>
-<div class="line"><a name="l00617"></a><span class="lineno">  617</span>&#160;      ReregisterSlaveMessage&amp;&amp; incomingMessage,</div>
-<div class="line"><a name="l00618"></a><span class="lineno">  618</span>&#160;      <span class="keyword">const</span> <a class="code" href="classOption.html">Option&lt;process::http::authentication::Principal&gt;</a>&amp; principal,</div>
-<div class="line"><a name="l00619"></a><span class="lineno">  619</span>&#160;      <span class="keyword">const</span> <a class="code" href="classprocess_1_1Future.html">process::Future&lt;bool&gt;</a>&amp; authorized);</div>
-<div class="line"><a name="l00620"></a><span class="lineno">  620</span>&#160;</div>
-<div class="line"><a name="l00621"></a><span class="lineno">  621</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classmesos_1_1internal_1_1master_1_1Master.html#a22310f05b4fa59324ae6a0765a47b232">__reregisterSlave</a>(</div>
-<div class="line"><a name="l00622"></a><span class="lineno">  622</span>&#160;      <span class="keyword">const</span> <a class="code" href="structprocess_1_1UPID.html">process::UPID</a>&amp; pid,</div>
-<div class="line"><a name="l00623"></a><span class="lineno">  623</span>&#160;      ReregisterSlaveMessage&amp;&amp; incomingMessage,</div>
-<div class="line"><a name="l00624"></a><span class="lineno">  624</span>&#160;      <span class="keyword">const</span> <a class="code" href="classprocess_1_1Future.html">process::Future&lt;bool&gt;</a>&amp; readmit);</div>
-<div class="line"><a name="l00625"></a><span class="lineno">  625</span>&#160;</div>
-<div class="line"><a name="l00626"></a><span class="lineno">  626</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classmesos_1_1internal_1_1master_1_1Master.html#a5c9f4952b05b9d4059ad931e06634a1d">___reregisterSlave</a>(</div>
-<div class="line"><a name="l00627"></a><span class="lineno">  627</span>&#160;      <span class="keyword">const</span> <a class="code" href="structprocess_1_1UPID.html">process::UPID</a>&amp; pid,</div>
-<div class="line"><a name="l00628"></a><span class="lineno">  628</span>&#160;      ReregisterSlaveMessage&amp;&amp; incomingMessage,</div>
-<div class="line"><a name="l00629"></a><span class="lineno">  629</span>&#160;      <span class="keyword">const</span> <a class="code" href="classprocess_1_1Future.html">process::Future&lt;bool&gt;</a>&amp; updated);</div>
-<div class="line"><a name="l00630"></a><span class="lineno">  630</span>&#160;</div>
-<div class="line"><a name="l00631"></a><span class="lineno">  631</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classmesos_1_1internal_1_1master_1_1Master.html#ae0cb3971fcc1546e30922f7a4e33e2de">updateSlaveFrameworks</a>(</div>
-<div class="line"><a name="l00632"></a><span class="lineno">  632</span>&#160;      <a class="code" href="structmesos_1_1internal_1_1master_1_1Slave.html">Slave</a>* slave,</div>
-<div class="line"><a name="l00633"></a><span class="lineno">  633</span>&#160;      <span class="keyword">const</span> std::vector&lt;FrameworkInfo&gt;&amp; frameworks);</div>
+<div class="line"><a name="l00568"></a><span class="lineno">  568</span>&#160;  <span class="comment">// Invoked when the message is ready to be executed after</span></div>
+<div class="line"><a name="l00569"></a><span class="lineno">  569</span>&#160;  <span class="comment">// being throttled.</span></div>
+<div class="line"><a name="l00570"></a><span class="lineno">  570</span>&#160;  <span class="comment">// &#39;principal&#39; being None indicates it is throttled by</span></div>
+<div class="line"><a name="l00571"></a><span class="lineno">  571</span>&#160;  <span class="comment">// &#39;defaultLimiter&#39;.</span></div>
+<div class="line"><a name="l00572"></a><span class="lineno">  572</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classmesos_1_1internal_1_1master_1_1Master.html#a104065574fe93f3683e4d126993583bf">throttled</a>(</div>
+<div class="line"><a name="l00573"></a><span class="lineno">  573</span>&#160;      <a class="code" href="structprocess_1_1MessageEvent.html">process::MessageEvent</a>&amp;&amp; event,</div>
+<div class="line"><a name="l00574"></a><span class="lineno">  574</span>&#160;      <span class="keyword">const</span> <a class="code" href="classOption.html">Option&lt;std::string&gt;</a>&amp; principal);</div>
+<div class="line"><a name="l00575"></a><span class="lineno">  575</span>&#160;</div>
+<div class="line"><a name="l00576"></a><span class="lineno">  576</span>&#160;  <span class="comment">// Continuations of consume().</span></div>
+<div class="line"><a name="l00577"></a><span class="lineno">  577</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classmesos_1_1internal_1_1master_1_1Master.html#a24ab33af474af68ea1255063075908a8">_consume</a>(<a class="code" href="structprocess_1_1MessageEvent.html">process::MessageEvent</a>&amp;&amp; event);</div>
+<div class="line"><a name="l00578"></a><span class="lineno">  578</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classmesos_1_1internal_1_1master_1_1Master.html#a24ab33af474af68ea1255063075908a8">_consume</a>(<a class="code" href="structprocess_1_1ExitedEvent.html">process::ExitedEvent</a>&amp;&amp; event);</div>
+<div class="line"><a name="l00579"></a><span class="lineno">  579</span>&#160;</div>
+<div class="line"><a name="l00580"></a><span class="lineno">  580</span>&#160;  <span class="comment">// Helper method invoked when the capacity for a framework</span></div>
+<div class="line"><a name="l00581"></a><span class="lineno">  581</span>&#160;  <span class="comment">// principal is exceeded.</span></div>
+<div class="line"><a name="l00582"></a><span class="lineno">  582</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classmesos_1_1internal_1_1master_1_1Master.html#a2595f53b9f20504fab43976b1ac0ba17">exceededCapacity</a>(</div>
+<div class="line"><a name="l00583"></a><span class="lineno">  583</span>&#160;      <span class="keyword">const</span> <a class="code" href="structprocess_1_1MessageEvent.html">process::MessageEvent</a>&amp; event,</div>
+<div class="line"><a name="l00584"></a><span class="lineno">  584</span>&#160;      <span class="keyword">const</span> <a class="code" href="classOption.html">Option&lt;std::string&gt;</a>&amp; principal,</div>
+<div class="line"><a name="l00585"></a><span class="lineno">  585</span>&#160;      uint64_t capacity);</div>
+<div class="line"><a name="l00586"></a><span class="lineno">  586</span>&#160;</div>
+<div class="line"><a name="l00587"></a><span class="lineno">  587</span>&#160;  <span class="comment">// Recovers state from the registrar.</span></div>
+<div class="line"><a name="l00588"></a><span class="lineno">  588</span>&#160;  <a class="code" href="classprocess_1_1Future.html">process::Future&lt;Nothing&gt;</a> <a class="code" href="classmesos_1_1internal_1_1master_1_1Master.html#ad984209e10f925712335d99bed0b9c5b">recover</a>();</div>
+<div class="line"><a name="l00589"></a><span class="lineno">  589</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classmesos_1_1internal_1_1master_1_1Master.html#ab609269957c32b5138b3bfc61194a789">recoveredSlavesTimeout</a>(<span class="keyword">const</span> Registry&amp; registry);</div>
+<div class="line"><a name="l00590"></a><span class="lineno">  590</span>&#160;</div>
+<div class="line"><a name="l00591"></a><span class="lineno">  591</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classmesos_1_1internal_1_1master_1_1Master.html#a085ab6071ae10fe61c336b74e9c343f6">_registerSlave</a>(</div>
+<div class="line"><a name="l00592"></a><span class="lineno">  592</span>&#160;      <span class="keyword">const</span> <a class="code" href="structprocess_1_1UPID.html">process::UPID</a>&amp; pid,</div>
+<div class="line"><a name="l00593"></a><span class="lineno">  593</span>&#160;      RegisterSlaveMessage&amp;&amp; registerSlaveMessage,</div>
+<div class="line"><a name="l00594"></a><span class="lineno">  594</span>&#160;      <span class="keyword">const</span> <a class="code" href="classOption.html">Option&lt;process::http::authentication::Principal&gt;</a>&amp; principal,</div>
+<div class="line"><a name="l00595"></a><span class="lineno">  595</span>&#160;      <span class="keyword">const</span> <a class="code" href="classprocess_1_1Future.html">process::Future&lt;bool&gt;</a>&amp; authorized);</div>
+<div class="line"><a name="l00596"></a><span class="lineno">  596</span>&#160;</div>
+<div class="line"><a name="l00597"></a><span class="lineno">  597</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classmesos_1_1internal_1_1master_1_1Master.html#a8064a4974504539c3cf39db9bdb8b1d5">__registerSlave</a>(</div>
+<div class="line"><a name="l00598"></a><span class="lineno">  598</span>&#160;      <span class="keyword">const</span> <a class="code" href="structprocess_1_1UPID.html">process::UPID</a>&amp; pid,</div>
+<div class="line"><a name="l00599"></a><span class="lineno">  599</span>&#160;      RegisterSlaveMessage&amp;&amp; registerSlaveMessage,</div>
+<div class="line"><a name="l00600"></a><span class="lineno">  600</span>&#160;      <span class="keyword">const</span> <a class="code" href="classprocess_1_1Future.html">process::Future&lt;bool&gt;</a>&amp; admit);</div>
+<div class="line"><a name="l00601"></a><span class="lineno">  601</span>&#160;</div>
+<div class="line"><a name="l00602"></a><span class="lineno">  602</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classmesos_1_1internal_1_1master_1_1Master.html#a2aa0b089a921828d3bbcf6c26dd4c8d0">_reregisterSlave</a>(</div>
+<div class="line"><a name="l00603"></a><span class="lineno">  603</span>&#160;      <span class="keyword">const</span> <a class="code" href="structprocess_1_1UPID.html">process::UPID</a>&amp; pid,</div>
+<div class="line"><a name="l00604"></a><span class="lineno">  604</span>&#160;      ReregisterSlaveMessage&amp;&amp; incomingMessage,</div>
+<div class="line"><a name="l00605"></a><span class="lineno">  605</span>&#160;      <span class="keyword">const</span> <a class="code" href="classOption.html">Option&lt;process::http::authentication::Principal&gt;</a>&amp; principal,</div>
+<div class="line"><a name="l00606"></a><span class="lineno">  606</span>&#160;      <span class="keyword">const</span> <a class="code" href="classprocess_1_1Future.html">process::Future&lt;bool&gt;</a>&amp; authorized);</div>
+<div class="line"><a name="l00607"></a><span class="lineno">  607</span>&#160;</div>
+<div class="line"><a name="l00608"></a><span class="lineno">  608</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classmesos_1_1internal_1_1master_1_1Master.html#a22310f05b4fa59324ae6a0765a47b232">__reregisterSlave</a>(</div>
+<div class="line"><a name="l00609"></a><span class="lineno">  609</span>&#160;      <span class="keyword">const</span> <a class="code" href="structprocess_1_1UPID.html">process::UPID</a>&amp; pid,</div>
+<div class="line"><a name="l00610"></a><span class="lineno">  610</span>&#160;      ReregisterSlaveMessage&amp;&amp; incomingMessage,</div>
+<div class="line"><a name="l00611"></a><span class="lineno">  611</span>&#160;      <span class="keyword">const</span> <a class="code" href="classprocess_1_1Future.html">process::Future&lt;bool&gt;</a>&amp; readmit);</div>
+<div class="line"><a name="l00612"></a><span class="lineno">  612</span>&#160;</div>
+<div class="line"><a name="l00613"></a><span class="lineno">  613</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classmesos_1_1internal_1_1master_1_1Master.html#a5c9f4952b05b9d4059ad931e06634a1d">___reregisterSlave</a>(</div>
+<div class="line"><a name="l00614"></a><span class="lineno">  614</span>&#160;      <span class="keyword">const</span> <a class="code" href="structprocess_1_1UPID.html">process::UPID</a>&amp; pid,</div>
+<div class="line"><a name="l00615"></a><span class="lineno">  615</span>&#160;      ReregisterSlaveMessage&amp;&amp; incomingMessage,</div>
+<div class="line"><a name="l00616"></a><span class="lineno">  616</span>&#160;      <span class="keyword">const</span> <a class="code" href="classprocess_1_1Future.html">process::Future&lt;bool&gt;</a>&amp; updated);</div>
+<div class="line"><a name="l00617"></a><span class="lineno">  617</span>&#160;</div>
+<div class="line"><a name="l00618"></a><span class="lineno">  618</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classmesos_1_1internal_1_1master_1_1Master.html#ae0cb3971fcc1546e30922f7a4e33e2de">updateSlaveFrameworks</a>(</div>
+<div class="line"><a name="l00619"></a><span class="lineno">  619</span>&#160;      <a class="code" href="structmesos_1_1internal_1_1master_1_1Slave.html">Slave</a>* slave,</div>
+<div class="line"><a name="l00620"></a><span class="lineno">  620</span>&#160;      <span class="keyword">const</span> std::vector&lt;FrameworkInfo&gt;&amp; frameworks);</div>
+<div class="line"><a name="l00621"></a><span class="lineno">  621</span>&#160;</div>
+<div class="line"><a name="l00622"></a><span class="lineno">  622</span>&#160;  <span class="comment">// &#39;future&#39; is the future returned by the authenticator.</span></div>
+<div class="line"><a name="l00623"></a><span class="lineno">  623</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classmesos_1_1internal_1_1master_1_1Master.html#a666059aeb226099f76b7e4ac7597df05">_authenticate</a>(</div>
+<div class="line"><a name="l00624"></a><span class="lineno">  624</span>&#160;      <span class="keyword">const</span> <a class="code" href="structprocess_1_1UPID.html">process::UPID</a>&amp; pid,</div>
+<div class="line"><a name="l00625"></a><span class="lineno">  625</span>&#160;      <span class="keyword">const</span> <a class="code" href="classprocess_1_1Future.html">process::Future</a>&lt;<a class="code" href="classOption.html">Option&lt;std::string&gt;</a>&gt;&amp; future);</div>
+<div class="line"><a name="l00626"></a><span class="lineno">  626</span>&#160;</div>
+<div class="line"><a name="l00627"></a><span class="lineno">  627</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classmesos_1_1internal_1_1master_1_1Master.html#ad310cd775a30bf1a4d3149e558673284">authenticationTimeout</a>(<a class="code" href="classprocess_1_1Future.html">process::Future</a>&lt;<a class="code" href="classOption.html">Option&lt;std::string&gt;</a>&gt; future);</div>
+<div class="line"><a name="l00628"></a><span class="lineno">  628</span>&#160;</div>
+<div class="line"><a name="l00629"></a><span class="lineno">  629</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classmesos_1_1internal_1_1master_1_1Master.html#a9caaed85a00e7c8981f88de2346ee9cc">fileAttached</a>(<span class="keyword">const</span> <a class="code" href="classprocess_1_1Future.html">process::Future&lt;Nothing&gt;</a>&amp; result,</div>
+<div class="line"><a name="l00630"></a><span class="lineno">  630</span>&#160;                    <span class="keyword">const</span> std::string&amp; path);</div>
+<div class="line"><a name="l00631"></a><span class="lineno">  631</span>&#160;</div>
+<div class="line"><a name="l00632"></a><span class="lineno">  632</span>&#160;  <span class="comment">// Invoked when the contender has entered the contest.</span></div>
+<div class="line"><a name="l00633"></a><span class="lineno">  633</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classmesos_1_1internal_1_1master_1_1Master.html#a16aaa13fffec4c3aadd62e9e27616c7c">contended</a>(<span class="keyword">const</span> <a class="code" href="classprocess_1_1Future.html">process::Future</a>&lt;<a class="code" href="classprocess_1_1Future.html">process::Future&lt;Nothing&gt;</a>&gt;&amp; candidacy);</div>
 <div class="line"><a name="l00634"></a><span class="lineno">  634</span>&#160;</div>
-<div class="line"><a name="l00635"></a><span class="lineno">  635</span>&#160;  <span class="comment">// &#39;future&#39; is the future returned by the authenticator.</span></div>
-<div class="line"><a name="l00636"></a><span class="lineno">  636</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classmesos_1_1internal_1_1master_1_1Master.html#a666059aeb226099f76b7e4ac7597df05">_authenticate</a>(</div>
-<div class="line"><a name="l00637"></a><span class="lineno">  637</span>&#160;      <span class="keyword">const</span> <a class="code" href="structprocess_1_1UPID.html">process::UPID</a>&amp; pid,</div>
-<div class="line"><a name="l00638"></a><span class="lineno">  638</span>&#160;      <span class="keyword">const</span> <a class="code" href="classprocess_1_1Future.html">process::Future</a>&lt;<a class="code" href="classOption.html">Option&lt;std::string&gt;</a>&gt;&amp; future);</div>
-<div class="line"><a name="l00639"></a><span class="lineno">  639</span>&#160;</div>
-<div class="line"><a name="l00640"></a><span class="lineno">  640</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classmesos_1_1internal_1_1master_1_1Master.html#ad310cd775a30bf1a4d3149e558673284">authenticationTimeout</a>(<a class="code" href="classprocess_1_1Future.html">process::Future</a>&lt;<a class="code" href="classOption.html">Option&lt;std::string&gt;</a>&gt; future);</div>
-<div class="line"><a name="l00641"></a><span class="lineno">  641</span>&#160;</div>
-<div class="line"><a name="l00642"></a><span class="lineno">  642</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classmesos_1_1internal_1_1master_1_1Master.html#a9caaed85a00e7c8981f88de2346ee9cc">fileAttached</a>(<span class="keyword">const</span> <a class="code" href="classprocess_1_1Future.html">process::Future&lt;Nothing&gt;</a>&amp; result,</div>
-<div class="line"><a name="l00643"></a><span class="lineno">  643</span>&#160;                    <span class="keyword">const</span> std::string&amp; path);</div>
-<div class="line"><a name="l00644"></a><span class="lineno">  644</span>&#160;</div>
-<div class="line"><a name="l00645"></a><span class="lineno">  645</span>&#160;  <span class="comment">// Invoked when the contender has entered the contest.</span></div>
-<div class="line"><a name="l00646"></a><span class="lineno">  646</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classmesos_1_1internal_1_1master_1_1Master.html#a16aaa13fffec4c3aadd62e9e27616c7c">contended</a>(<span class="keyword">const</span> <a class="code" href="classprocess_1_1Future.html">process::Future</a>&lt;<a class="code" href="classprocess_1_1Future.html">process::Future&lt;Nothing&gt;</a>&gt;&amp; candidacy);</div>
-<div class="line"><a name="l00647"></a><span class="lineno">  647</span>&#160;</div>
-<div class="line"><a name="l00648"></a><span class="lineno">  648</span>&#160;  <span class="comment">// Task reconciliation, split from the message handler</span></div>
-<div class="line"><a name="l00649"></a><span class="lineno">  649</span>&#160;  <span class="comment">// to allow re-use.</span></div>
-<div class="line"><a name="l00650"></a><span class="lineno">  650</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classmesos_1_1internal_1_1master_1_1Master.html#a39d90fa7d691113fd8def8598b621453">_reconcileTasks</a>(</div>
-<div class="line"><a name="l00651"></a><span class="lineno">  651</span>&#160;      <a class="code" href="structmesos_1_1internal_1_1master_1_1Framework.html">Framework</a>* framework,</div>
-<div class="line"><a name="l00652"></a><span class="lineno">  652</span>&#160;      <span class="keyword">const</span> std::vector&lt;TaskStatus&gt;&amp; statuses);</div>
-<div class="line"><a name="l00653"></a><span class="lineno">  653</span>&#160;</div>
-<div class="line"><a name="l00654"></a><span class="lineno">  654</span>&#160;  <span class="comment">// When a slave that was previously registered with this master</span></div>
-<div class="line"><a name="l00655"></a><span class="lineno">  655</span>&#160;  <span class="comment">// reregisters, we need to reconcile the master&#39;s view of the</span></div>
-<div class="line"><a name="l00656"></a><span class="lineno">  656</span>&#160;  <span class="comment">// slave&#39;s tasks and executors.  This function also sends the</span></div>
-<div class="line"><a name="l00657"></a><span class="lineno">  657</span>&#160;  <span class="comment">// `SlaveReregisteredMessage`.</span></div>
-<div class="line"><a name="l00658"></a><span class="lineno">  658</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classmesos_1_1internal_1_1master_1_1Master.html#a58719ea924d9d7508db7ed7b2bf7517f">reconcileKnownSlave</a>(</div>
-<div class="line"><a name="l00659"></a><span class="lineno">  659</span>&#160;      <a class="code" href="structmesos_1_1internal_1_1master_1_1Slave.html">Slave</a>* slave,</div>
-<div class="line"><a name="l00660"></a><span class="lineno">  660</span>&#160;      <span class="keyword">const</span> std::vector&lt;ExecutorInfo&gt;&amp; executors,</div>
-<div class="line"><a name="l00661"></a><span class="lineno">  661</span>&#160;      <span class="keyword">const</span> std::vector&lt;Task&gt;&amp; tasks);</div>
-<div class="line"><a name="l00662"></a><span class="lineno">  662</span>&#160;</div>
-<div class="line"><a name="l00663"></a><span class="lineno">  663</span>&#160;  <span class="comment">// Add a framework.</span></div>
-<div class="line"><a name="l00664"></a><span class="lineno">  664</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classmesos_1_1internal_1_1master_1_1Master.html#a18b954da472e546b37cf83a0cfa7c9ff">addFramework</a>(</div>
-<div class="line"><a name="l00665"></a><span class="lineno">  665</span>&#160;      <a class="code" href="structmesos_1_1internal_1_1master_1_1Framework.html">Framework</a>* framework,</div>
-<div class="line"><a name="l00666"></a><span class="lineno">  666</span>&#160;      <span class="keyword">const</span> std::set&lt;std::string&gt;&amp; suppressedRoles);</div>
-<div class="line"><a name="l00667"></a><span class="lineno">  667</span>&#160;</div>
-<div class="line"><a name="l00668"></a><span class="lineno">  668</span>&#160;  <span class="comment">// Recover a framework from its `FrameworkInfo`. This happens after</span></div>
-<div class="line"><a name="l00669"></a><span class="lineno">  669</span>&#160;  <span class="comment">// master failover, when an agent running one of the framework&#39;s</span></div>
-<div class="line"><a name="l00670"></a><span class="lineno">  670</span>&#160;  <span class="comment">// tasks reregisters or when the framework itself reregisters,</span></div>
-<div class="line"><a name="l00671"></a><span class="lineno">  671</span>&#160;  <span class="comment">// whichever happens first. The result of this function is a</span></div>
-<div class="line"><a name="l00672"></a><span class="lineno">  672</span>&#160;  <span class="comment">// registered, inactive framework with state `RECOVERED`.</span></div>
-<div class="line"><a name="l00673"></a><span class="lineno">  673</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classmesos_1_1internal_1_1master_1_1Master.html#a98cf6f42201feca492b223305df1a137">recoverFramework</a>(</div>
-<div class="line"><a name="l00674"></a><span class="lineno">  674</span>&#160;      <span class="keyword">const</span> FrameworkInfo&amp; <a class="code" href="classmesos_1_1internal_1_1master_1_1Master.html#a1ae1ab2bf0c21fcfdcf8183a2952d3ce">info</a>,</div>
-<div class="line"><a name="l00675"></a><span class="lineno">  675</span>&#160;      <span class="keyword">const</span> std::set&lt;std::string&gt;&amp; suppressedRoles);</div>
-<div class="line"><a name="l00676"></a><span class="lineno">  676</span>&#160;</div>
-<div class="line"><a name="l00677"></a><span class="lineno">  677</span>&#160;  <span class="comment">// Transition a framework from `RECOVERED` to `CONNECTED` state and</span></div>
-<div class="line"><a name="l00678"></a><span class="lineno">  678</span>&#160;  <span class="comment">// activate it. This happens at most once after master failover, the</span></div>
-<div class="line"><a name="l00679"></a><span class="lineno">  679</span>&#160;  <span class="comment">// first time that the framework reregisters with the new master.</span></div>
-<div class="line"><a name="l00680"></a><span class="lineno">  680</span>&#160;  <span class="comment">// Exactly one of `newPid` or `http` must be provided.</span></div>
-<div class="line"><a name="l00681"></a><span class="lineno">  681</span>&#160;  <a class="code" href="classTry.html">Try&lt;Nothing&gt;</a> <a class="code" href="classmesos_1_1internal_1_1master_1_1Master.html#a2d4b5ce9e8d5ccd2c6aa826e9a9592a0">activateRecoveredFramework</a>(</div>
-<div class="line"><a name="l00682"></a><span class="lineno">  682</span>&#160;      <a class="code" href="structmesos_1_1internal_1_1master_1_1Framework.html">Framework</a>* framework,</div>
-<div class="line"><a name="l00683"></a><span class="lineno">  683</span>&#160;      <span class="keyword">const</span> FrameworkInfo&amp; frameworkInfo,</div>
-<div class="line"><a name="l00684"></a><span class="lineno">  684</span>&#160;      <span class="keyword">const</span> <a class="code" href="classOption.html">Option&lt;process::UPID&gt;</a>&amp; pid,</div>
-<div class="line"><a name="l00685"></a><span class="lineno">  685</span>&#160;      <span class="keyword">const</span> <a class="code" href="classOption.html">Option&lt;HttpConnection&gt;</a>&amp; http,</div>
-<div class="line"><a name="l00686"></a><span class="lineno">  686</span>&#160;      <span class="keyword">const</span> std::set&lt;std::string&gt;&amp; suppressedRoles);</div>
-<div class="line"><a name="l00687"></a><span class="lineno">  687</span>&#160;</div>
-<div class="line"><a name="l00688"></a><span class="lineno">  688</span>&#160;  <span class="comment">// Replace the scheduler for a framework with a new process ID, in</span></div>
-<div class="line"><a name="l00689"></a><span class="lineno">  689</span>&#160;  <span class="comment">// the event of a scheduler failover.</span></div>
-<div class="line"><a name="l00690"></a><span class="lineno">  690</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classmesos_1_1internal_1_1master_1_1Master.html#ab5118eabaa72447409a582222c0c4902">failoverFramework</a>(<a class="code" href="structmesos_1_1internal_1_1master_1_1Framework.html">Framework</a>* framework, <span class="keyword">const</span> <a class="code" href="structprocess_1_1UPID.html">process::UPID</a>&amp; newPid);</div>
-<div class="line"><a name="l00691"></a><span class="lineno">  691</span>&#160;</div>
-<div class="line"><a name="l00692"></a><span class="lineno">  692</span>&#160;  <span class="comment">// Replace the scheduler for a framework with a new HTTP connection,</span></div>
-<div class="line"><a name="l00693"></a><span class="lineno">  693</span>&#160;  <span class="comment">// in the event of a scheduler failover.</span></div>
-<div class="line"><a name="l00694"></a><span class="lineno">  694</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classmesos_1_1internal_1_1master_1_1Master.html#ab5118eabaa72447409a582222c0c4902">failoverFramework</a>(<a class="code" href="structmesos_1_1internal_1_1master_1_1Framework.html">Framework</a>* framework, <span class="keyword">const</span> <a class="code" href="structmesos_1_1internal_1_1master_1_1HttpConnection.html">HttpConnection</a>&amp; http);</div>
-<div class="line"><a name="l00695"></a><span class="lineno">  695</span>&#160;</div>
-<div class="line"><a name="l00696"></a><span class="lineno">  696</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classmesos_1_1internal_1_1master_1_1Master.html#ab4ca75bc43d029f2a2d6ed7bc682cbaa">_failoverFramework</a>(<a class="code" href="structmesos_1_1internal_1_1master_1_1Framework.html">Framework</a>* framework);</div>
+<div class="line"><a name="l00635"></a><span class="lineno">  635</span>&#160;  <span class="comment">// Task reconciliation, split from the message handler</span></div>
+<div class="line"><a name="l00636"></a><span class="lineno">  636</span>&#160;  <span class="comment">// to allow re-use.</span></div>
+<div class="line"><a name="l00637"></a><span class="lineno">  637</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classmesos_1_1internal_1_1master_1_1Master.html#a39d90fa7d691113fd8def8598b621453">_reconcileTasks</a>(</div>
+<div class="line"><a name="l00638"></a><span class="lineno">  638</span>&#160;      <a class="code" href="structmesos_1_1internal_1_1master_1_1Framework.html">Framework</a>* framework,</div>
+<div class="line"><a name="l00639"></a><span class="lineno">  639</span>&#160;      <span class="keyword">const</span> std::vector&lt;TaskStatus&gt;&amp; statuses);</div>
+<div class="line"><a name="l00640"></a><span class="lineno">  640</span>&#160;</div>
+<div class="line"><a name="l00641"></a><span class="lineno">  641</span>&#160;  <span class="comment">// When a slave that was previously registered with this master</span></div>
+<div class="line"><a name="l00642"></a><span class="lineno">  642</span>&#160;  <span class="comment">// reregisters, we need to reconcile the master&#39;s view of the</span></div>
+<div class="line"><a name="l00643"></a><span class="lineno">  643</span>&#160;  <span class="comment">// slave&#39;s tasks and executors.  This function also sends the</span></div>
+<div class="line"><a name

<TRUNCATED>

Mime
View raw message