http://git-wip-us.apache.org/repos/asf/mesos-site/blob/db1b6a84/content/api/latest/c++/slave_8hpp_source.html
----------------------------------------------------------------------
diff --git a/content/api/latest/c++/slave_8hpp_source.html 
b/content/api/latest/c++/slave_8hpp_source.html
index bbff1b6..4a0e771 100644
--- a/content/api/latest/c++/slave_8hpp_source.html
+++ b/content/api/latest/c++/slave_8hpp_source.html
@@ -450,545 +450,546 @@
 <div class="line"><a name="l00396"></a><span class="lineno">  
396</span>&#160;</div>
 <div class="line"><a name="l00397"></a><span class="lineno">  397</span>&#160; 
 <a class="code" 
href="classmesos_1_1internal_1_1slave_1_1Executor.html">Executor</a>* <a 
class="code" 
href="classmesos_1_1internal_1_1slave_1_1Slave.html#ae5cbf7aef363a45048acfca39fbb4c89">getExecutor</a>(<span
 class="keyword">const</span> ContainerID&amp; containerId) <span 
class="keyword">const</span>;</div>
 <div class="line"><a name="l00398"></a><span class="lineno">  
398</span>&#160;</div>
-<div class="line"><a name="l00399"></a><span class="lineno">  399</span>&#160; 
 <span class="comment">// Returns an ExecutorInfo for a TaskInfo 
(possibly</span></div>
-<div class="line"><a name="l00400"></a><span class="lineno">  400</span>&#160; 
 <span class="comment">// constructing one if the task has a 
CommandInfo).</span></div>
-<div class="line"><a name="l00401"></a><span class="lineno">  401</span>&#160; 
 ExecutorInfo <a class="code" 
href="classmesos_1_1internal_1_1slave_1_1Slave.html#a1200b872e31b092349f482e4711d41e4">getExecutorInfo</a>(</div>
-<div class="line"><a name="l00402"></a><span class="lineno">  402</span>&#160; 
     <span class="keyword">const</span> FrameworkInfo&amp; frameworkInfo,</div>
-<div class="line"><a name="l00403"></a><span class="lineno">  403</span>&#160; 
     <span class="keyword">const</span> TaskInfo&amp; task) <span 
class="keyword">const</span>;</div>
-<div class="line"><a name="l00404"></a><span class="lineno">  
404</span>&#160;</div>
-<div class="line"><a name="l00405"></a><span class="lineno">  405</span>&#160; 
 <span class="comment">// Shuts down the executor if it did not register 
yet.</span></div>
-<div class="line"><a name="l00406"></a><span class="lineno">  406</span>&#160; 
 <span class="keywordtype">void</span> <a class="code" 
href="classmesos_1_1internal_1_1slave_1_1Slave.html#aeaef3f8ca707a6ddf0cd9692835b7f50">registerExecutorTimeout</a>(</div>
-<div class="line"><a name="l00407"></a><span class="lineno">  407</span>&#160; 
     <span class="keyword">const</span> FrameworkID&amp; frameworkId,</div>
-<div class="line"><a name="l00408"></a><span class="lineno">  408</span>&#160; 
     <span class="keyword">const</span> ExecutorID&amp; executorId,</div>
-<div class="line"><a name="l00409"></a><span class="lineno">  409</span>&#160; 
     <span class="keyword">const</span> ContainerID&amp; containerId);</div>
-<div class="line"><a name="l00410"></a><span class="lineno">  
410</span>&#160;</div>
-<div class="line"><a name="l00411"></a><span class="lineno">  411</span>&#160; 
 <span class="comment">// Cleans up all un-reregistered executors during 
recovery.</span></div>
-<div class="line"><a name="l00412"></a><span class="lineno">  412</span>&#160; 
 <span class="keywordtype">void</span> <a class="code" 
href="classmesos_1_1internal_1_1slave_1_1Slave.html#a00d7e0077ecd03e0e0bde0b814d02a68">reregisterExecutorTimeout</a>();</div>
-<div class="line"><a name="l00413"></a><span class="lineno">  
413</span>&#160;</div>
-<div class="line"><a name="l00414"></a><span class="lineno">  414</span>&#160; 
 <span class="comment">// This function returns the max age of executor/slave 
directories allowed,</span></div>
-<div class="line"><a name="l00415"></a><span class="lineno">  415</span>&#160; 
 <span class="comment">// given a disk usage. This value could be used to tune 
gc.</span></div>
-<div class="line"><a name="l00416"></a><span class="lineno">  416</span>&#160; 
 <a class="code" href="classDuration.html">Duration</a> <a class="code" 
href="classmesos_1_1internal_1_1slave_1_1Slave.html#a355d5c297d06b8e818df3edcfd69648b">age</a>(<span
 class="keywordtype">double</span> usage);</div>
-<div class="line"><a name="l00417"></a><span class="lineno">  
417</span>&#160;</div>
-<div class="line"><a name="l00418"></a><span class="lineno">  418</span>&#160; 
 <span class="comment">// Checks the current disk usage and schedules for gc as 
necessary.</span></div>
-<div class="line"><a name="l00419"></a><span class="lineno">  419</span>&#160; 
 <span class="keywordtype">void</span> <a class="code" 
href="classmesos_1_1internal_1_1slave_1_1Slave.html#a834f5a3d33854228abfa40e61eb0106e">checkDiskUsage</a>();</div>
-<div class="line"><a name="l00420"></a><span class="lineno">  
420</span>&#160;</div>
-<div class="line"><a name="l00421"></a><span class="lineno">  421</span>&#160; 
 <span class="comment">// Recovers the slave, status update manager and 
isolator.</span></div>
-<div class="line"><a name="l00422"></a><span class="lineno">  422</span>&#160; 
 <a class="code" 
href="classprocess_1_1Future.html">process::Future&lt;Nothing&gt;</a> <a 
class="code" 
href="classmesos_1_1internal_1_1slave_1_1Slave.html#aa66f55ccd42a6aac647a50d78a3fb29c">recover</a>(<span
 class="keyword">const</span> <a class="code" 
href="classTry.html">Try&lt;state::State&gt;</a>&amp; <a class="code" 
href="classmesos_1_1internal_1_1slave_1_1Slave.html#af79c3eb007e12f37faec4a24d1f95cc4">state</a>);</div>
-<div class="line"><a name="l00423"></a><span class="lineno">  
423</span>&#160;</div>
-<div class="line"><a name="l00424"></a><span class="lineno">  424</span>&#160; 
 <span class="comment">// This is called after &#39;recover()&#39;. If 
&#39;flags.reconnect&#39; is</span></div>
-<div class="line"><a name="l00425"></a><span class="lineno">  425</span>&#160; 
 <span class="comment">// &#39;reconnect&#39;, the slave attempts to reconnect 
to any old live</span></div>
-<div class="line"><a name="l00426"></a><span class="lineno">  426</span>&#160; 
 <span class="comment">// executors. Otherwise, the slave attempts to 
shutdown/kill them.</span></div>
-<div class="line"><a name="l00427"></a><span class="lineno">  427</span>&#160; 
 <a class="code" 
href="classprocess_1_1Future.html">process::Future&lt;Nothing&gt;</a> <a 
class="code" 
href="classmesos_1_1internal_1_1slave_1_1Slave.html#ad615bdfc4c89ec56f96c61d493507516">_recover</a>();</div>
-<div class="line"><a name="l00428"></a><span class="lineno">  
428</span>&#160;</div>
-<div class="line"><a name="l00429"></a><span class="lineno">  429</span>&#160; 
 <span class="comment">// This is a helper to call recover() on the 
containerizer at the end of</span></div>
-<div class="line"><a name="l00430"></a><span class="lineno">  430</span>&#160; 
 <span class="comment">// recover() and before __recover().</span></div>
-<div class="line"><a name="l00431"></a><span class="lineno">  431</span>&#160; 
 <span class="comment">// TODO(idownes): Remove this when we support defers to 
objects.</span></div>
-<div class="line"><a name="l00432"></a><span class="lineno">  432</span>&#160; 
 <a class="code" 
href="classprocess_1_1Future.html">process::Future&lt;Nothing&gt;</a> <a 
class="code" 
href="classmesos_1_1internal_1_1slave_1_1Slave.html#a05bb2d1fc84402385d05c5341dea5827">_recoverContainerizer</a>(</div>
-<div class="line"><a name="l00433"></a><span class="lineno">  433</span>&#160; 
     <span class="keyword">const</span> <a class="code" 
href="classOption.html">Option&lt;state::SlaveState&gt;</a>&amp; <a 
class="code" 
href="classmesos_1_1internal_1_1slave_1_1Slave.html#af79c3eb007e12f37faec4a24d1f95cc4">state</a>);</div>
-<div class="line"><a name="l00434"></a><span class="lineno">  
434</span>&#160;</div>
-<div class="line"><a name="l00435"></a><span class="lineno">  435</span>&#160; 
 <span class="comment">// This is called when recovery finishes.</span></div>
-<div class="line"><a name="l00436"></a><span class="lineno">  436</span>&#160; 
 <span class="comment">// Made &#39;virtual&#39; for Slave mocking.</span></div>
-<div class="line"><a name="l00437"></a><span class="lineno">  437</span>&#160; 
 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a 
class="code" 
href="classmesos_1_1internal_1_1slave_1_1Slave.html#adf6475e9de96ccbbe503980ae80c2978">__recover</a>(<span
 class="keyword">const</span> <a class="code" 
href="classprocess_1_1Future.html">process::Future&lt;Nothing&gt;</a>&amp; 
future);</div>
-<div class="line"><a name="l00438"></a><span class="lineno">  
438</span>&#160;</div>
-<div class="line"><a name="l00439"></a><span class="lineno">  439</span>&#160; 
 <span class="comment">// Helper to recover a framework from the specified 
state.</span></div>
-<div class="line"><a name="l00440"></a><span class="lineno">  440</span>&#160; 
 <span class="keywordtype">void</span> <a class="code" 
href="classmesos_1_1internal_1_1slave_1_1Slave.html#a687e239fe854b91b0f64e076ab4dbf57">recoverFramework</a>(</div>
-<div class="line"><a name="l00441"></a><span class="lineno">  441</span>&#160; 
     <span class="keyword">const</span> <a class="code" 
href="structmesos_1_1internal_1_1slave_1_1state_1_1FrameworkState.html">state::FrameworkState</a>&amp;
 <a class="code" 
href="classmesos_1_1internal_1_1slave_1_1Slave.html#af79c3eb007e12f37faec4a24d1f95cc4">state</a>,</div>
-<div class="line"><a name="l00442"></a><span class="lineno">  442</span>&#160; 
     <span class="keyword">const</span> <a class="code" 
href="classhashset.html">hashset&lt;ExecutorID&gt;</a>&amp; 
executorsToRecheckpoint,</div>
-<div class="line"><a name="l00443"></a><span class="lineno">  443</span>&#160; 
     <span class="keyword">const</span> <a class="code" 
href="classhashmap.html">hashmap</a>&lt;ExecutorID, <a class="code" 
href="classhashset.html">hashset&lt;TaskID&gt;</a>&gt;&amp; 
tasksToRecheckpoint);</div>
-<div class="line"><a name="l00444"></a><span class="lineno">  
444</span>&#160;</div>
-<div class="line"><a name="l00445"></a><span class="lineno">  445</span>&#160; 
 <span class="comment">// Removes and garbage collects the 
executor.</span></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_1slave_1_1Slave.html#aa0a3ade2dde9dd762b30fb376497de35">removeExecutor</a>(<a
 class="code" 
href="classmesos_1_1internal_1_1slave_1_1Framework.html">Framework</a>* 
framework, <a class="code" 
href="classmesos_1_1internal_1_1slave_1_1Executor.html">Executor</a>* 
executor);</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="comment">// Removes and garbage collects the 
framework.</span></div>
-<div class="line"><a name="l00449"></a><span class="lineno">  449</span>&#160; 
 <span class="comment">// Made &#39;virtual&#39; for Slave mocking.</span></div>
-<div class="line"><a name="l00450"></a><span class="lineno">  450</span>&#160; 
 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a 
class="code" 
href="classmesos_1_1internal_1_1slave_1_1Slave.html#a8c91e52205ed91adf20cee75cfcf43fe">removeFramework</a>(<a
 class="code" 
href="classmesos_1_1internal_1_1slave_1_1Framework.html">Framework</a>* 
framework);</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="comment">// Schedules a &#39;path&#39; for gc based on its 
modification time.</span></div>
-<div class="line"><a name="l00453"></a><span class="lineno">  453</span>&#160; 
 <a class="code" 
href="classprocess_1_1Future.html">process::Future&lt;Nothing&gt;</a> <a 
class="code" 
href="classmesos_1_1internal_1_1slave_1_1Slave.html#a76f40f8c10951d9526cb63bcea66f5e5">garbageCollect</a>(<span
 class="keyword">const</span> std::string&amp; path);</div>
-<div class="line"><a name="l00454"></a><span class="lineno">  
454</span>&#160;</div>
-<div class="line"><a name="l00455"></a><span class="lineno">  455</span>&#160; 
 <span class="comment">// Called when the slave was signaled from the specified 
user.</span></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_1slave_1_1Slave.html#ac738a6078b63c45cc4c6000f928cabad">signaled</a>(<span
 class="keywordtype">int</span> signal, <span class="keywordtype">int</span> <a 
class="code" 
href="namespaceos_1_1stat.html#a96066cfc01f1f62fc25b56f6915800eb">uid</a>);</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="comment">// Made &#39;virtual&#39; for Slave mocking.</span></div>
-<div class="line"><a name="l00459"></a><span class="lineno">  459</span>&#160; 
 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a 
class="code" 
href="classmesos_1_1internal_1_1slave_1_1Slave.html#aa0ad621d4e5a289f62e0309e129451d5">qosCorrections</a>();</div>
-<div class="line"><a name="l00460"></a><span class="lineno">  
460</span>&#160;</div>
-<div class="line"><a name="l00461"></a><span class="lineno">  461</span>&#160; 
 <span class="comment">// Made &#39;virtual&#39; for Slave mocking.</span></div>
-<div class="line"><a name="l00462"></a><span class="lineno">  462</span>&#160; 
 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a 
class="code" 
href="classmesos_1_1internal_1_1slave_1_1Slave.html#a10e4944e4e881bba067c34228679ef12">_qosCorrections</a>(</div>
-<div class="line"><a name="l00463"></a><span class="lineno">  463</span>&#160; 
     <span class="keyword">const</span> <a class="code" 
href="classprocess_1_1Future.html">process::Future</a>&lt;<a class="code" 
href="namespacecgroups_1_1devices.html#a22494291bc2cb89697dcd2b5f288bdd3">std::list</a>&lt;</div>
-<div class="line"><a name="l00464"></a><span class="lineno">  464</span>&#160; 
         mesos::slave::QoSCorrection&gt;&gt;&amp; correction);</div>
-<div class="line"><a name="l00465"></a><span class="lineno">  
465</span>&#160;</div>
-<div class="line"><a name="l00466"></a><span class="lineno">  466</span>&#160; 
 <span class="comment">// Returns the resource usage information for all 
executors.</span></div>
-<div class="line"><a name="l00467"></a><span class="lineno">  467</span>&#160; 
 <span class="keyword">virtual</span> <a class="code" 
href="classprocess_1_1Future.html">process::Future&lt;ResourceUsage&gt;</a> <a 
class="code" 
href="classmesos_1_1internal_1_1slave_1_1Slave.html#a7c5612e80a880f00c74767e13bb068fd">usage</a>();</div>
-<div class="line"><a name="l00468"></a><span class="lineno">  
468</span>&#160;</div>
-<div class="line"><a name="l00469"></a><span class="lineno">  469</span>&#160; 
 <span class="comment">// Handle the second phase of shutting down an executor 
for those</span></div>
-<div class="line"><a name="l00470"></a><span class="lineno">  470</span>&#160; 
 <span class="comment">// executors that have not properly shutdown within a 
timeout.</span></div>
-<div class="line"><a name="l00471"></a><span class="lineno">  471</span>&#160; 
 <span class="keywordtype">void</span> <a class="code" 
href="classmesos_1_1internal_1_1slave_1_1Slave.html#ab3245d2b6f67136e7b1f523a09eb7de4">shutdownExecutorTimeout</a>(</div>
-<div class="line"><a name="l00472"></a><span class="lineno">  472</span>&#160; 
     <span class="keyword">const</span> FrameworkID&amp; frameworkId,</div>
-<div class="line"><a name="l00473"></a><span class="lineno">  473</span>&#160; 
     <span class="keyword">const</span> ExecutorID&amp; executorId,</div>
-<div class="line"><a name="l00474"></a><span class="lineno">  474</span>&#160; 
     <span class="keyword">const</span> ContainerID&amp; containerId);</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="keyword">private</span>:</div>
-<div class="line"><a name="l00477"></a><span class="lineno"><a class="line" 
href="classmesos_1_1internal_1_1slave_1_1Slave.html#a763b2f90bc53f92d680a635fe28e858e">
  477</a></span>&#160;  <span class="keyword">friend</span> <span 
class="keyword">class </span><a class="code" 
href="classmesos_1_1internal_1_1slave_1_1Executor.html">Executor</a>;</div>
-<div class="line"><a name="l00478"></a><span class="lineno"><a class="line" 
href="classmesos_1_1internal_1_1slave_1_1Slave.html#ad3defef37a1222bb2b2a65577a6c4816">
  478</a></span>&#160;  <span class="keyword">friend</span> <span 
class="keyword">class </span><a class="code" 
href="classmesos_1_1internal_1_1slave_1_1Framework.html">Framework</a>;</div>
-<div class="line"><a name="l00479"></a><span class="lineno"><a class="line" 
href="classmesos_1_1internal_1_1slave_1_1Slave.html#aba95e2a7762bb5df986048b05d03a22e">
  479</a></span>&#160;  <span class="keyword">friend</span> <span 
class="keyword">class </span><a class="code" 
href="classmesos_1_1internal_1_1slave_1_1Http.html">Http</a>;</div>
-<div class="line"><a name="l00480"></a><span class="lineno">  
480</span>&#160;</div>
-<div class="line"><a name="l00481"></a><span class="lineno"><a class="line" 
href="classmesos_1_1internal_1_1slave_1_1Slave.html#a33768639ed69e6812b805bd70b29bf35">
  481</a></span>&#160;  <span class="keyword">friend</span> <span 
class="keyword">struct </span><a class="code" 
href="structmesos_1_1internal_1_1slave_1_1Metrics.html">Metrics</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; 
 <a class="code" 
href="classmesos_1_1internal_1_1slave_1_1Slave.html#ad0e96504544270343dadd39350e7a96e">Slave</a>(<span
 class="keyword">const</span> <a class="code" 
href="classmesos_1_1internal_1_1slave_1_1Slave.html">Slave</a>&amp;) = <span 
class="keyword">delete</span>;</div>
-<div class="line"><a name="l00484"></a><span class="lineno">  484</span>&#160; 
 <a class="code" 
href="classmesos_1_1internal_1_1slave_1_1Slave.html">Slave</a>&amp; 
operator=(<span class="keyword">const</span> <a class="code" 
href="classmesos_1_1internal_1_1slave_1_1Slave.html">Slave</a>&amp;) = <span 
class="keyword">delete</span>;</div>
-<div class="line"><a name="l00485"></a><span class="lineno">  
485</span>&#160;</div>
-<div class="line"><a name="l00486"></a><span class="lineno">  486</span>&#160; 
 <span class="keywordtype">void</span> _authenticate();</div>
-<div class="line"><a name="l00487"></a><span class="lineno">  487</span>&#160; 
 <span class="keywordtype">void</span> authenticationTimeout(<a class="code" 
href="classprocess_1_1Future.html">process::Future&lt;bool&gt;</a> 
future);</div>
-<div class="line"><a name="l00488"></a><span class="lineno">  
488</span>&#160;</div>
-<div class="line"><a name="l00489"></a><span class="lineno">  489</span>&#160; 
 <span class="comment">// Shut down an executor. This is a two phase process. 
First, an</span></div>
-<div class="line"><a name="l00490"></a><span class="lineno">  490</span>&#160; 
 <span class="comment">// executor receives a shut down message (shut down 
phase), then</span></div>
-<div class="line"><a name="l00491"></a><span class="lineno">  491</span>&#160; 
 <span class="comment">// after a configurable timeout the slave actually 
forces a kill</span></div>
-<div class="line"><a name="l00492"></a><span class="lineno">  492</span>&#160; 
 <span class="comment">// (kill phase, via the isolator) if the executor has 
not</span></div>
-<div class="line"><a name="l00493"></a><span class="lineno">  493</span>&#160; 
 <span class="comment">// exited.</span></div>
-<div class="line"><a name="l00494"></a><span class="lineno">  494</span>&#160; 
 <span class="keywordtype">void</span> _shutdownExecutor(<a class="code" 
href="classmesos_1_1internal_1_1slave_1_1Framework.html">Framework</a>* 
framework, <a class="code" 
href="classmesos_1_1internal_1_1slave_1_1Executor.html">Executor</a>* 
executor);</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="comment">// Process creation of persistent volumes (for CREATE) 
and/or deletion</span></div>
-<div class="line"><a name="l00497"></a><span class="lineno">  497</span>&#160; 
 <span class="comment">// of persistent volumes (for DESTROY) as a part of 
handling</span></div>
-<div class="line"><a name="l00498"></a><span class="lineno">  498</span>&#160; 
 <span class="comment">// checkpointed resources, and commit the checkpointed 
resources on</span></div>
-<div class="line"><a name="l00499"></a><span class="lineno">  499</span>&#160; 
 <span class="comment">// successful completion of all the 
operations.</span></div>
-<div class="line"><a name="l00500"></a><span class="lineno">  500</span>&#160; 
 <a class="code" href="classTry.html">Try&lt;Nothing&gt;</a> 
syncCheckpointedResources(</div>
-<div class="line"><a name="l00501"></a><span class="lineno">  501</span>&#160; 
     <span class="keyword">const</span> <a class="code" 
href="classmesos_1_1Resources.html">Resources</a>&amp; 
newCheckpointedResources);</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; 
 <a class="code" 
href="classprocess_1_1Future.html">process::Future&lt;bool&gt;</a> 
authorizeTask(</div>
-<div class="line"><a name="l00504"></a><span class="lineno">  504</span>&#160; 
     <span class="keyword">const</span> TaskInfo&amp; task,</div>
-<div class="line"><a name="l00505"></a><span class="lineno">  505</span>&#160; 
     <span class="keyword">const</span> FrameworkInfo&amp; frameworkInfo);</div>
-<div class="line"><a name="l00506"></a><span class="lineno">  
506</span>&#160;</div>
-<div class="line"><a name="l00507"></a><span class="lineno">  507</span>&#160; 
 <a class="code" 
href="classprocess_1_1Future.html">process::Future&lt;bool&gt;</a> 
authorizeLogAccess(</div>
-<div class="line"><a name="l00508"></a><span class="lineno">  508</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="l00509"></a><span class="lineno">  
509</span>&#160;</div>
-<div class="line"><a name="l00510"></a><span class="lineno">  510</span>&#160; 
 <a class="code" 
href="classprocess_1_1Future.html">process::Future&lt;bool&gt;</a> 
authorizeSandboxAccess(</div>
-<div class="line"><a name="l00511"></a><span class="lineno">  511</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="l00512"></a><span class="lineno">  512</span>&#160; 
     <span class="keyword">const</span> FrameworkID&amp; frameworkId,</div>
-<div class="line"><a name="l00513"></a><span class="lineno">  513</span>&#160; 
     <span class="keyword">const</span> ExecutorID&amp; executorId);</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> sendExecutorTerminatedStatusUpdate(</div>
-<div class="line"><a name="l00516"></a><span class="lineno">  516</span>&#160; 
     <span class="keyword">const</span> TaskID&amp; taskId,</div>
-<div class="line"><a name="l00517"></a><span class="lineno">  517</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</a>&lt;</div>
-<div class="line"><a name="l00518"></a><span class="lineno">  518</span>&#160; 
         mesos::slave::ContainerTermination&gt;&gt;&amp; termination,</div>
-<div class="line"><a name="l00519"></a><span class="lineno">  519</span>&#160; 
     <span class="keyword">const</span> FrameworkID&amp; frameworkId,</div>
-<div class="line"><a name="l00520"></a><span class="lineno">  520</span>&#160; 
     <span class="keyword">const</span> <a class="code" 
href="classmesos_1_1internal_1_1slave_1_1Executor.html">Executor</a>* 
executor);</div>
-<div class="line"><a name="l00521"></a><span class="lineno">  
521</span>&#160;</div>
-<div class="line"><a name="l00522"></a><span class="lineno">  522</span>&#160; 
 <span class="comment">// Forwards the current total of oversubscribed 
resources.</span></div>
-<div class="line"><a name="l00523"></a><span class="lineno">  523</span>&#160; 
 <span class="keywordtype">void</span> forwardOversubscribed();</div>
-<div class="line"><a name="l00524"></a><span class="lineno">  524</span>&#160; 
 <span class="keywordtype">void</span> _forwardOversubscribed(</div>
-<div class="line"><a name="l00525"></a><span class="lineno">  525</span>&#160; 
     <span class="keyword">const</span> <a class="code" 
href="classprocess_1_1Future.html">process::Future&lt;Resources&gt;</a>&amp; 
oversubscribable);</div>
-<div class="line"><a name="l00526"></a><span class="lineno">  
526</span>&#160;</div>
-<div class="line"><a name="l00527"></a><span class="lineno">  527</span>&#160; 
 <span class="comment">// Gauge methods.</span></div>
-<div class="line"><a name="l00528"></a><span class="lineno">  528</span>&#160; 
 <span class="keywordtype">double</span> _frameworks_active()</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="keywordflow">return</span> <span 
class="keyword">static_cast&lt;</span><span 
class="keywordtype">double</span><span 
class="keyword">&gt;</span>(frameworks.size());</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;</div>
-<div class="line"><a name="l00533"></a><span class="lineno">  533</span>&#160; 
 <span class="keywordtype">double</span> _uptime_secs()</div>
-<div class="line"><a name="l00534"></a><span class="lineno">  534</span>&#160; 
 {</div>
-<div class="line"><a name="l00535"></a><span class="lineno">  535</span>&#160; 
   <span class="keywordflow">return</span> (<a class="code" 
href="classprocess_1_1Clock.html#a24ed3f746bb6b3ddb1c52dce5e0ecd38">process::Clock::now</a>()
 - startTime).secs();</div>
-<div class="line"><a name="l00536"></a><span class="lineno">  536</span>&#160; 
 }</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="keywordtype">double</span> _registered()</div>
-<div class="line"><a name="l00539"></a><span class="lineno">  539</span>&#160; 
 {</div>
-<div class="line"><a name="l00540"></a><span class="lineno">  540</span>&#160; 
   <span class="keywordflow">return</span> master.<a class="code" 
href="classOption.html#a4e3bf8416d95246f43c91f1b5c309323">isSome</a>() ? 1 : 
0;</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;</div>
-<div class="line"><a name="l00543"></a><span class="lineno">  543</span>&#160; 
 <span class="keywordtype">double</span> _tasks_staging();</div>
-<div class="line"><a name="l00544"></a><span class="lineno">  544</span>&#160; 
 <span class="keywordtype">double</span> _tasks_starting();</div>
-<div class="line"><a name="l00545"></a><span class="lineno">  545</span>&#160; 
 <span class="keywordtype">double</span> _tasks_running();</div>
-<div class="line"><a name="l00546"></a><span class="lineno">  546</span>&#160; 
 <span class="keywordtype">double</span> _tasks_killing();</div>
-<div class="line"><a name="l00547"></a><span class="lineno">  
547</span>&#160;</div>
-<div class="line"><a name="l00548"></a><span class="lineno">  548</span>&#160; 
 <span class="keywordtype">double</span> _executors_registering();</div>
-<div class="line"><a name="l00549"></a><span class="lineno">  549</span>&#160; 
 <span class="keywordtype">double</span> _executors_running();</div>
-<div class="line"><a name="l00550"></a><span class="lineno">  550</span>&#160; 
 <span class="keywordtype">double</span> _executors_terminating();</div>
-<div class="line"><a name="l00551"></a><span class="lineno">  
551</span>&#160;</div>
-<div class="line"><a name="l00552"></a><span class="lineno">  552</span>&#160; 
 <span class="keywordtype">double</span> 
_executor_directory_max_allowed_age_secs();</div>
-<div class="line"><a name="l00553"></a><span class="lineno">  
553</span>&#160;</div>
-<div class="line"><a name="l00554"></a><span class="lineno">  554</span>&#160; 
 <span class="keywordtype">double</span> _resources_total(<span 
class="keyword">const</span> std::string&amp; <a class="code" 
href="namespaceos_1_1Shell.html#acfe16ef2b1146ad49a8651c0a457ce46">name</a>);</div>
-<div class="line"><a name="l00555"></a><span class="lineno">  555</span>&#160; 
 <span class="keywordtype">double</span> _resources_used(<span 
class="keyword">const</span> std::string&amp; <a class="code" 
href="namespaceos_1_1Shell.html#acfe16ef2b1146ad49a8651c0a457ce46">name</a>);</div>
-<div class="line"><a name="l00556"></a><span class="lineno">  556</span>&#160; 
 <span class="keywordtype">double</span> _resources_percent(<span 
class="keyword">const</span> std::string&amp; <a class="code" 
href="namespaceos_1_1Shell.html#acfe16ef2b1146ad49a8651c0a457ce46">name</a>);</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">double</span> _resources_revocable_total(<span 
class="keyword">const</span> std::string&amp; <a class="code" 
href="namespaceos_1_1Shell.html#acfe16ef2b1146ad49a8651c0a457ce46">name</a>);</div>
-<div class="line"><a name="l00559"></a><span class="lineno">  559</span>&#160; 
 <span class="keywordtype">double</span> _resources_revocable_used(<span 
class="keyword">const</span> std::string&amp; <a class="code" 
href="namespaceos_1_1Shell.html#acfe16ef2b1146ad49a8651c0a457ce46">name</a>);</div>
-<div class="line"><a name="l00560"></a><span class="lineno">  560</span>&#160; 
 <span class="keywordtype">double</span> _resources_revocable_percent(<span 
class="keyword">const</span> std::string&amp; <a class="code" 
href="namespaceos_1_1Shell.html#acfe16ef2b1146ad49a8651c0a457ce46">name</a>);</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="keyword">const</span> Flags <a class="code" 
href="decoder_8hpp.html#abb0829cce9dd20a40ae0d86890ae85c6">flags</a>;</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">const</span> <a class="code" 
href="classmesos_1_1internal_1_1slave_1_1Slave.html#aba95e2a7762bb5df986048b05d03a22e">Http</a>
 <a class="code" 
href="namespacemesos_1_1uri.html#a5dff7c4a2df7be12fb642b5801c34f9f">http</a>;</div>
-<div class="line"><a name="l00565"></a><span class="lineno">  
565</span>&#160;</div>
-<div class="line"><a name="l00566"></a><span class="lineno">  566</span>&#160; 
 SlaveInfo info;</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="comment">// Resources that are checkpointed by the 
slave.</span></div>
-<div class="line"><a name="l00569"></a><span class="lineno">  569</span>&#160; 
 <a class="code" href="classmesos_1_1Resources.html">Resources</a> 
checkpointedResources;</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="comment">// The current total resources of the agent, 
i.e.,</span></div>
-<div class="line"><a name="l00572"></a><span class="lineno">  572</span>&#160; 
 <span class="comment">// `info.resources()` with checkpointed resources 
applied.</span></div>
-<div class="line"><a name="l00573"></a><span class="lineno">  573</span>&#160; 
 <a class="code" href="classmesos_1_1Resources.html">Resources</a> 
totalResources;</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; 
 <a class="code" href="classOption.html">Option&lt;process::UPID&gt;</a> 
master;</div>
-<div class="line"><a name="l00576"></a><span class="lineno">  
576</span>&#160;</div>
-<div class="line"><a name="l00577"></a><span class="lineno">  577</span>&#160; 
 <a class="code" href="classhashmap.html">hashmap&lt;FrameworkID, 
Framework*&gt;</a> frameworks;</div>
-<div class="line"><a name="l00578"></a><span class="lineno">  
578</span>&#160;</div>
-<div class="line"><a name="l00579"></a><span class="lineno">  579</span>&#160; 
 <a class="code" href="classBoundedHashMap.html">BoundedHashMap&lt;FrameworkID, 
process::Owned&lt;Framework&gt;</a>&gt; completedFrameworks;</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; 
 <a class="code" 
href="classmesos_1_1master_1_1detector_1_1MasterDetector.html">mesos::master::detector::MasterDetector</a>*
 detector;</div>
-<div class="line"><a name="l00582"></a><span class="lineno">  
582</span>&#160;</div>
-<div class="line"><a name="l00583"></a><span class="lineno">  583</span>&#160; 
 Containerizer* containerizer;</div>
-<div class="line"><a name="l00584"></a><span class="lineno">  
584</span>&#160;</div>
-<div class="line"><a name="l00585"></a><span class="lineno">  585</span>&#160; 
 Files* files;</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; 
 <a class="code" 
href="classmesos_1_1internal_1_1slave_1_1Slave.html#a33768639ed69e6812b805bd70b29bf35">Metrics</a>
 <a class="code" 
href="namespaceprocess_1_1metrics_1_1internal.html#aaa37243f659788386a13de558eba70a7">metrics</a>;</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; 
 <a class="code" href="classprocess_1_1Time.html">process::Time</a> 
startTime;</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; 
 GarbageCollector* gc;</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; 
 StatusUpdateManager* statusUpdateManager;</div>
-<div class="line"><a name="l00594"></a><span class="lineno">  
594</span>&#160;</div>
-<div class="line"><a name="l00595"></a><span class="lineno">  595</span>&#160; 
 <span class="comment">// Master detection future.</span></div>
-<div class="line"><a name="l00596"></a><span class="lineno">  596</span>&#160; 
 <a class="code" 
href="classprocess_1_1Future.html">process::Future&lt;Option&lt;MasterInfo&gt;</a>&gt;
 detection;</div>
-<div class="line"><a name="l00597"></a><span class="lineno">  
597</span>&#160;</div>
-<div class="line"><a name="l00598"></a><span class="lineno">  598</span>&#160; 
 <span class="comment">// Master&#39;s ping timeout value, updated on 
reregistration.</span></div>
-<div class="line"><a name="l00599"></a><span class="lineno">  599</span>&#160; 
 <a class="code" href="classDuration.html">Duration</a> masterPingTimeout;</div>
-<div class="line"><a name="l00600"></a><span class="lineno">  
600</span>&#160;</div>
-<div class="line"><a name="l00601"></a><span class="lineno">  601</span>&#160; 
 <span class="comment">// Timer for triggering re-detection when no ping is 
received from</span></div>
-<div class="line"><a name="l00602"></a><span class="lineno">  602</span>&#160; 
 <span class="comment">// the master.</span></div>
-<div class="line"><a name="l00603"></a><span class="lineno">  603</span>&#160; 
 <a class="code" href="classprocess_1_1Timer.html">process::Timer</a> 
pingTimer;</div>
-<div class="line"><a name="l00604"></a><span class="lineno">  
604</span>&#160;</div>
-<div class="line"><a name="l00605"></a><span class="lineno">  605</span>&#160; 
 <span class="comment">// Timer for triggering agent (re)registration after 
detecting a new master.</span></div>
-<div class="line"><a name="l00606"></a><span class="lineno">  606</span>&#160; 
 <a class="code" href="classprocess_1_1Timer.html">process::Timer</a> 
agentRegistrationTimer;</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="comment">// Root meta directory containing checkpointed 
data.</span></div>
-<div class="line"><a name="l00609"></a><span class="lineno">  609</span>&#160; 
 <span class="keyword">const</span> std::string metaDir;</div>
-<div class="line"><a name="l00610"></a><span class="lineno">  
610</span>&#160;</div>
-<div class="line"><a name="l00611"></a><span class="lineno">  611</span>&#160; 
 <span class="comment">// Indicates the number of errors ignored in 
&quot;--no-strict&quot; recovery mode.</span></div>
-<div class="line"><a name="l00612"></a><span class="lineno">  612</span>&#160; 
 <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> 
recoveryErrors;</div>
-<div class="line"><a name="l00613"></a><span class="lineno">  
613</span>&#160;</div>
-<div class="line"><a name="l00614"></a><span class="lineno">  614</span>&#160; 
 <a class="code" href="classOption.html">Option&lt;Credential&gt;</a> 
credential;</div>
-<div class="line"><a name="l00615"></a><span class="lineno">  
615</span>&#160;</div>
-<div class="line"><a name="l00616"></a><span class="lineno">  616</span>&#160; 
 <span class="comment">// Authenticatee name as supplied via flags.</span></div>
-<div class="line"><a name="l00617"></a><span class="lineno">  617</span>&#160; 
 std::string authenticateeName;</div>
-<div class="line"><a name="l00618"></a><span class="lineno">  
618</span>&#160;</div>
-<div class="line"><a name="l00619"></a><span class="lineno">  619</span>&#160; 
 <a class="code" href="classmesos_1_1Authenticatee.html">Authenticatee</a>* 
authenticatee;</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="comment">// Indicates if an authentication attempt is in 
progress.</span></div>
-<div class="line"><a name="l00622"></a><span class="lineno">  622</span>&#160; 
 <a class="code" 
href="classOption.html">Option&lt;process::Future&lt;bool&gt;</a>&gt; 
authenticating;</div>
-<div class="line"><a name="l00623"></a><span class="lineno">  
623</span>&#160;</div>
-<div class="line"><a name="l00624"></a><span class="lineno">  624</span>&#160; 
 <span class="comment">// Indicates if the authentication is 
successful.</span></div>
-<div class="line"><a name="l00625"></a><span class="lineno">  625</span>&#160; 
 <span class="keywordtype">bool</span> authenticated;</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="comment">// Indicates if a new authentication attempt should be 
enforced.</span></div>
-<div class="line"><a name="l00628"></a><span class="lineno">  628</span>&#160; 
 <span class="keywordtype">bool</span> reauthenticate;</div>
-<div class="line"><a name="l00629"></a><span class="lineno">  
629</span>&#160;</div>
-<div class="line"><a name="l00630"></a><span class="lineno">  630</span>&#160; 
 <span class="comment">// Indicates the number of failed authentication 
attempts.</span></div>
-<div class="line"><a name="l00631"></a><span class="lineno">  631</span>&#160; 
 uint64_t failedAuthentications;</div>
-<div class="line"><a name="l00632"></a><span class="lineno">  
632</span>&#160;</div>
-<div class="line"><a name="l00633"></a><span class="lineno">  633</span>&#160; 
 <span class="comment">// Maximum age of executor directories. Will be 
recomputed</span></div>
-<div class="line"><a name="l00634"></a><span class="lineno">  634</span>&#160; 
 <span class="comment">// periodically every 
flags.disk_watch_interval.</span></div>
-<div class="line"><a name="l00635"></a><span class="lineno">  635</span>&#160; 
 <a class="code" href="classDuration.html">Duration</a> 
executorDirectoryMaxAllowedAge;</div>
-<div class="line"><a name="l00636"></a><span class="lineno">  
636</span>&#160;</div>
-<div class="line"><a name="l00637"></a><span class="lineno">  637</span>&#160; 
 <a class="code" 
href="classmesos_1_1slave_1_1ResourceEstimator.html">mesos::slave::ResourceEstimator</a>*
 resourceEstimator;</div>
-<div class="line"><a name="l00638"></a><span class="lineno">  
638</span>&#160;</div>
-<div class="line"><a name="l00639"></a><span class="lineno">  639</span>&#160; 
 <a class="code" 
href="classmesos_1_1slave_1_1QoSController.html">mesos::slave::QoSController</a>*
 qosController;</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="keyword">const</span> <a class="code" 
href="classOption.html">Option&lt;Authorizer*&gt;</a> authorizer;</div>
-<div class="line"><a name="l00642"></a><span class="lineno">  
642</span>&#160;</div>
-<div class="line"><a name="l00643"></a><span class="lineno">  643</span>&#160; 
 <span class="comment">// The most recent estimate of the total amount of 
oversubscribed</span></div>
-<div class="line"><a name="l00644"></a><span class="lineno">  644</span>&#160; 
 <span class="comment">// (allocated and oversubscribable) 
resources.</span></div>
-<div class="line"><a name="l00645"></a><span class="lineno">  645</span>&#160; 
 <a class="code" href="classOption.html">Option&lt;Resources&gt;</a> 
oversubscribedResources;</div>
-<div class="line"><a name="l00646"></a><span class="lineno">  
646</span>&#160;</div>
-<div class="line"><a name="l00647"></a><span class="lineno">  647</span>&#160; 
 ResourceProviderManager resourceProviderManager;</div>
-<div class="line"><a name="l00648"></a><span class="lineno">  648</span>&#160; 
 <a class="code" 
href="classprocess_1_1Owned.html">process::Owned&lt;LocalResourceProviderDaemon&gt;</a>
 localResourceProviderDaemon;</div>
-<div class="line"><a name="l00649"></a><span class="lineno">  
649</span>&#160;</div>
-<div class="line"><a name="l00650"></a><span class="lineno">  
650</span>&#160;<span class="keyword">protected</span>:</div>
-<div class="line"><a name="l00651"></a><span class="lineno">  651</span>&#160; 
 <span class="comment">// Made protected for testing purposes.</span></div>
-<div class="line"><a name="l00652"></a><span class="lineno"><a class="line" 
href="classmesos_1_1internal_1_1slave_1_1Slave.html#ac81a0a2d8dc38bbe864c1c4d34d9f96c">
  652</a></span>&#160;  <a class="code" 
href="classmesos_1_1SecretGenerator.html">mesos::SecretGenerator</a>* <a 
class="code" 
href="classmesos_1_1internal_1_1slave_1_1Slave.html#ac81a0a2d8dc38bbe864c1c4d34d9f96c">secretGenerator</a>;</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;</div>
+<div class="line"><a name="l00399"></a><span class="lineno">  399</span>&#160; 
 <span class="comment">// Returns the ExecutorInfo associated with a TaskInfo. 
If the task has no</span></div>
+<div class="line"><a name="l00400"></a><span class="lineno">  400</span>&#160; 
 <span class="comment">// ExecutorInfo, then we generate an ExecutorInfo 
corresponding to the</span></div>
+<div class="line"><a name="l00401"></a><span class="lineno">  401</span>&#160; 
 <span class="comment">// command executor.</span></div>
+<div class="line"><a name="l00402"></a><span class="lineno">  402</span>&#160; 
 ExecutorInfo <a class="code" 
href="classmesos_1_1internal_1_1slave_1_1Slave.html#a1200b872e31b092349f482e4711d41e4">getExecutorInfo</a>(</div>
+<div class="line"><a name="l00403"></a><span class="lineno">  403</span>&#160; 
     <span class="keyword">const</span> FrameworkInfo&amp; frameworkInfo,</div>
+<div class="line"><a name="l00404"></a><span class="lineno">  404</span>&#160; 
     <span class="keyword">const</span> TaskInfo&amp; task) <span 
class="keyword">const</span>;</div>
+<div class="line"><a name="l00405"></a><span class="lineno">  
405</span>&#160;</div>
+<div class="line"><a name="l00406"></a><span class="lineno">  406</span>&#160; 
 <span class="comment">// Shuts down the executor if it did not register 
yet.</span></div>
+<div class="line"><a name="l00407"></a><span class="lineno">  407</span>&#160; 
 <span class="keywordtype">void</span> <a class="code" 
href="classmesos_1_1internal_1_1slave_1_1Slave.html#aeaef3f8ca707a6ddf0cd9692835b7f50">registerExecutorTimeout</a>(</div>
+<div class="line"><a name="l00408"></a><span class="lineno">  408</span>&#160; 
     <span class="keyword">const</span> FrameworkID&amp; frameworkId,</div>
+<div class="line"><a name="l00409"></a><span class="lineno">  409</span>&#160; 
     <span class="keyword">const</span> ExecutorID&amp; executorId,</div>
+<div class="line"><a name="l00410"></a><span class="lineno">  410</span>&#160; 
     <span class="keyword">const</span> ContainerID&amp; containerId);</div>
+<div class="line"><a name="l00411"></a><span class="lineno">  
411</span>&#160;</div>
+<div class="line"><a name="l00412"></a><span class="lineno">  412</span>&#160; 
 <span class="comment">// Cleans up all un-reregistered executors during 
recovery.</span></div>
+<div class="line"><a name="l00413"></a><span class="lineno">  413</span>&#160; 
 <span class="keywordtype">void</span> <a class="code" 
href="classmesos_1_1internal_1_1slave_1_1Slave.html#a00d7e0077ecd03e0e0bde0b814d02a68">reregisterExecutorTimeout</a>();</div>
+<div class="line"><a name="l00414"></a><span class="lineno">  
414</span>&#160;</div>
+<div class="line"><a name="l00415"></a><span class="lineno">  415</span>&#160; 
 <span class="comment">// This function returns the max age of executor/slave 
directories allowed,</span></div>
+<div class="line"><a name="l00416"></a><span class="lineno">  416</span>&#160; 
 <span class="comment">// given a disk usage. This value could be used to tune 
gc.</span></div>
+<div class="line"><a name="l00417"></a><span class="lineno">  417</span>&#160; 
 <a class="code" href="classDuration.html">Duration</a> <a class="code" 
href="classmesos_1_1internal_1_1slave_1_1Slave.html#a355d5c297d06b8e818df3edcfd69648b">age</a>(<span
 class="keywordtype">double</span> usage);</div>
+<div class="line"><a name="l00418"></a><span class="lineno">  
418</span>&#160;</div>
+<div class="line"><a name="l00419"></a><span class="lineno">  419</span>&#160; 
 <span class="comment">// Checks the current disk usage and schedules for gc as 
necessary.</span></div>
+<div class="line"><a name="l00420"></a><span class="lineno">  420</span>&#160; 
 <span class="keywordtype">void</span> <a class="code" 
href="classmesos_1_1internal_1_1slave_1_1Slave.html#a834f5a3d33854228abfa40e61eb0106e">checkDiskUsage</a>();</div>
+<div class="line"><a name="l00421"></a><span class="lineno">  
421</span>&#160;</div>
+<div class="line"><a name="l00422"></a><span class="lineno">  422</span>&#160; 
 <span class="comment">// Recovers the slave, status update manager and 
isolator.</span></div>
+<div class="line"><a name="l00423"></a><span class="lineno">  423</span>&#160; 
 <a class="code" 
href="classprocess_1_1Future.html">process::Future&lt;Nothing&gt;</a> <a 
class="code" 
href="classmesos_1_1internal_1_1slave_1_1Slave.html#aa66f55ccd42a6aac647a50d78a3fb29c">recover</a>(<span
 class="keyword">const</span> <a class="code" 
href="classTry.html">Try&lt;state::State&gt;</a>&amp; <a class="code" 
href="classmesos_1_1internal_1_1slave_1_1Slave.html#af79c3eb007e12f37faec4a24d1f95cc4">state</a>);</div>
+<div class="line"><a name="l00424"></a><span class="lineno">  
424</span>&#160;</div>
+<div class="line"><a name="l00425"></a><span class="lineno">  425</span>&#160; 
 <span class="comment">// This is called after &#39;recover()&#39;. If 
&#39;flags.reconnect&#39; is</span></div>
+<div class="line"><a name="l00426"></a><span class="lineno">  426</span>&#160; 
 <span class="comment">// &#39;reconnect&#39;, the slave attempts to reconnect 
to any old live</span></div>
+<div class="line"><a name="l00427"></a><span class="lineno">  427</span>&#160; 
 <span class="comment">// executors. Otherwise, the slave attempts to 
shutdown/kill them.</span></div>
+<div class="line"><a name="l00428"></a><span class="lineno">  428</span>&#160; 
 <a class="code" 
href="classprocess_1_1Future.html">process::Future&lt;Nothing&gt;</a> <a 
class="code" 
href="classmesos_1_1internal_1_1slave_1_1Slave.html#ad615bdfc4c89ec56f96c61d493507516">_recover</a>();</div>
+<div class="line"><a name="l00429"></a><span class="lineno">  
429</span>&#160;</div>
+<div class="line"><a name="l00430"></a><span class="lineno">  430</span>&#160; 
 <span class="comment">// This is a helper to call recover() on the 
containerizer at the end of</span></div>
+<div class="line"><a name="l00431"></a><span class="lineno">  431</span>&#160; 
 <span class="comment">// recover() and before __recover().</span></div>
+<div class="line"><a name="l00432"></a><span class="lineno">  432</span>&#160; 
 <span class="comment">// TODO(idownes): Remove this when we support defers to 
objects.</span></div>
+<div class="line"><a name="l00433"></a><span class="lineno">  433</span>&#160; 
 <a class="code" 
href="classprocess_1_1Future.html">process::Future&lt;Nothing&gt;</a> <a 
class="code" 
href="classmesos_1_1internal_1_1slave_1_1Slave.html#a05bb2d1fc84402385d05c5341dea5827">_recoverContainerizer</a>(</div>
+<div class="line"><a name="l00434"></a><span class="lineno">  434</span>&#160; 
     <span class="keyword">const</span> <a class="code" 
href="classOption.html">Option&lt;state::SlaveState&gt;</a>&amp; <a 
class="code" 
href="classmesos_1_1internal_1_1slave_1_1Slave.html#af79c3eb007e12f37faec4a24d1f95cc4">state</a>);</div>
+<div class="line"><a name="l00435"></a><span class="lineno">  
435</span>&#160;</div>
+<div class="line"><a name="l00436"></a><span class="lineno">  436</span>&#160; 
 <span class="comment">// This is called when recovery finishes.</span></div>
+<div class="line"><a name="l00437"></a><span class="lineno">  437</span>&#160; 
 <span class="comment">// Made &#39;virtual&#39; for Slave mocking.</span></div>
+<div class="line"><a name="l00438"></a><span class="lineno">  438</span>&#160; 
 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a 
class="code" 
href="classmesos_1_1internal_1_1slave_1_1Slave.html#adf6475e9de96ccbbe503980ae80c2978">__recover</a>(<span
 class="keyword">const</span> <a class="code" 
href="classprocess_1_1Future.html">process::Future&lt;Nothing&gt;</a>&amp; 
future);</div>
+<div class="line"><a name="l00439"></a><span class="lineno">  
439</span>&#160;</div>
+<div class="line"><a name="l00440"></a><span class="lineno">  440</span>&#160; 
 <span class="comment">// Helper to recover a framework from the specified 
state.</span></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_1slave_1_1Slave.html#a687e239fe854b91b0f64e076ab4dbf57">recoverFramework</a>(</div>
+<div class="line"><a name="l00442"></a><span class="lineno">  442</span>&#160; 
     <span class="keyword">const</span> <a class="code" 
href="structmesos_1_1internal_1_1slave_1_1state_1_1FrameworkState.html">state::FrameworkState</a>&amp;
 <a class="code" 
href="classmesos_1_1internal_1_1slave_1_1Slave.html#af79c3eb007e12f37faec4a24d1f95cc4">state</a>,</div>
+<div class="line"><a name="l00443"></a><span class="lineno">  443</span>&#160; 
     <span class="keyword">const</span> <a class="code" 
href="classhashset.html">hashset&lt;ExecutorID&gt;</a>&amp; 
executorsToRecheckpoint,</div>
+<div class="line"><a name="l00444"></a><span class="lineno">  444</span>&#160; 
     <span class="keyword">const</span> <a class="code" 
href="classhashmap.html">hashmap</a>&lt;ExecutorID, <a class="code" 
href="classhashset.html">hashset&lt;TaskID&gt;</a>&gt;&amp; 
tasksToRecheckpoint);</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="comment">// Removes and garbage collects the 
executor.</span></div>
+<div class="line"><a name="l00447"></a><span class="lineno">  447</span>&#160; 
 <span class="keywordtype">void</span> <a class="code" 
href="classmesos_1_1internal_1_1slave_1_1Slave.html#aa0a3ade2dde9dd762b30fb376497de35">removeExecutor</a>(<a
 class="code" 
href="classmesos_1_1internal_1_1slave_1_1Framework.html">Framework</a>* 
framework, <a class="code" 
href="classmesos_1_1internal_1_1slave_1_1Executor.html">Executor</a>* 
executor);</div>
+<div class="line"><a name="l00448"></a><span class="lineno">  
448</span>&#160;</div>
+<div class="line"><a name="l00449"></a><span class="lineno">  449</span>&#160; 
 <span class="comment">// Removes and garbage collects the 
framework.</span></div>
+<div class="line"><a name="l00450"></a><span class="lineno">  450</span>&#160; 
 <span class="comment">// Made &#39;virtual&#39; for Slave mocking.</span></div>
+<div class="line"><a name="l00451"></a><span class="lineno">  451</span>&#160; 
 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a 
class="code" 
href="classmesos_1_1internal_1_1slave_1_1Slave.html#a8c91e52205ed91adf20cee75cfcf43fe">removeFramework</a>(<a
 class="code" 
href="classmesos_1_1internal_1_1slave_1_1Framework.html">Framework</a>* 
framework);</div>
+<div class="line"><a name="l00452"></a><span class="lineno">  
452</span>&#160;</div>
+<div class="line"><a name="l00453"></a><span class="lineno">  453</span>&#160; 
 <span class="comment">// Schedules a &#39;path&#39; for gc based on its 
modification time.</span></div>
+<div class="line"><a name="l00454"></a><span class="lineno">  454</span>&#160; 
 <a class="code" 
href="classprocess_1_1Future.html">process::Future&lt;Nothing&gt;</a> <a 
class="code" 
href="classmesos_1_1internal_1_1slave_1_1Slave.html#a76f40f8c10951d9526cb63bcea66f5e5">garbageCollect</a>(<span
 class="keyword">const</span> std::string&amp; path);</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="comment">// Called when the slave was signaled from the specified 
user.</span></div>
+<div class="line"><a name="l00457"></a><span class="lineno">  457</span>&#160; 
 <span class="keywordtype">void</span> <a class="code" 
href="classmesos_1_1internal_1_1slave_1_1Slave.html#ac738a6078b63c45cc4c6000f928cabad">signaled</a>(<span
 class="keywordtype">int</span> signal, <span class="keywordtype">int</span> <a 
class="code" 
href="namespaceos_1_1stat.html#a96066cfc01f1f62fc25b56f6915800eb">uid</a>);</div>
+<div class="line"><a name="l00458"></a><span class="lineno">  
458</span>&#160;</div>
+<div class="line"><a name="l00459"></a><span class="lineno">  459</span>&#160; 
 <span class="comment">// Made &#39;virtual&#39; for Slave mocking.</span></div>
+<div class="line"><a name="l00460"></a><span class="lineno">  460</span>&#160; 
 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a 
class="code" 
href="classmesos_1_1internal_1_1slave_1_1Slave.html#aa0ad621d4e5a289f62e0309e129451d5">qosCorrections</a>();</div>
+<div class="line"><a name="l00461"></a><span class="lineno">  
461</span>&#160;</div>
+<div class="line"><a name="l00462"></a><span class="lineno">  462</span>&#160; 
 <span class="comment">// Made &#39;virtual&#39; for Slave mocking.</span></div>
+<div class="line"><a name="l00463"></a><span class="lineno">  463</span>&#160; 
 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a 
class="code" 
href="classmesos_1_1internal_1_1slave_1_1Slave.html#a10e4944e4e881bba067c34228679ef12">_qosCorrections</a>(</div>
+<div class="line"><a name="l00464"></a><span class="lineno">  464</span>&#160; 
     <span class="keyword">const</span> <a class="code" 
href="classprocess_1_1Future.html">process::Future</a>&lt;<a class="code" 
href="namespacecgroups_1_1devices.html#a22494291bc2cb89697dcd2b5f288bdd3">std::list</a>&lt;</div>
+<div class="line"><a name="l00465"></a><span class="lineno">  465</span>&#160; 
         mesos::slave::QoSCorrection&gt;&gt;&amp; correction);</div>
+<div class="line"><a name="l00466"></a><span class="lineno">  
466</span>&#160;</div>
+<div class="line"><a name="l00467"></a><span class="lineno">  467</span>&#160; 
 <span class="comment">// Returns the resource usage information for all 
executors.</span></div>
+<div class="line"><a name="l00468"></a><span class="lineno">  468</span>&#160; 
 <span class="keyword">virtual</span> <a class="code" 
href="classprocess_1_1Future.html">process::Future&lt;ResourceUsage&gt;</a> <a 
class="code" 
href="classmesos_1_1internal_1_1slave_1_1Slave.html#a7c5612e80a880f00c74767e13bb068fd">usage</a>();</div>
+<div class="line"><a name="l00469"></a><span class="lineno">  
469</span>&#160;</div>
+<div class="line"><a name="l00470"></a><span class="lineno">  470</span>&#160; 
 <span class="comment">// Handle the second phase of shutting down an executor 
for those</span></div>
+<div class="line"><a name="l00471"></a><span class="lineno">  471</span>&#160; 
 <span class="comment">// executors that have not properly shutdown within a 
timeout.</span></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_1slave_1_1Slave.html#ab3245d2b6f67136e7b1f523a09eb7de4">shutdownExecutorTimeout</a>(</div>
+<div class="line"><a name="l00473"></a><span class="lineno">  473</span>&#160; 
     <span class="keyword">const</span> FrameworkID&amp; frameworkId,</div>
+<div class="line"><a name="l00474"></a><span class="lineno">  474</span>&#160; 
     <span class="keyword">const</span> ExecutorID&amp; executorId,</div>
+<div class="line"><a name="l00475"></a><span class="lineno">  475</span>&#160; 
     <span class="keyword">const</span> ContainerID&amp; containerId);</div>
+<div class="line"><a name="l00476"></a><span class="lineno">  
476</span>&#160;</div>
+<div class="line"><a name="l00477"></a><span class="lineno">  
477</span>&#160;<span class="keyword">private</span>:</div>
+<div class="line"><a name="l00478"></a><span class="lineno"><a class="line" 
href="classmesos_1_1internal_1_1slave_1_1Slave.html#a763b2f90bc53f92d680a635fe28e858e">
  478</a></span>&#160;  <span class="keyword">friend</span> <span 
class="keyword">class </span><a class="code" 
href="classmesos_1_1internal_1_1slave_1_1Executor.html">Executor</a>;</div>
+<div class="line"><a name="l00479"></a><span class="lineno"><a class="line" 
href="classmesos_1_1internal_1_1slave_1_1Slave.html#ad3defef37a1222bb2b2a65577a6c4816">
  479</a></span>&#160;  <span class="keyword">friend</span> <span 
class="keyword">class </span><a class="code" 
href="classmesos_1_1internal_1_1slave_1_1Framework.html">Framework</a>;</div>
+<div class="line"><a name="l00480"></a><span class="lineno"><a class="line" 
href="classmesos_1_1internal_1_1slave_1_1Slave.html#aba95e2a7762bb5df986048b05d03a22e">
  480</a></span>&#160;  <span class="keyword">friend</span> <span 
class="keyword">class </span><a class="code" 
href="classmesos_1_1internal_1_1slave_1_1Http.html">Http</a>;</div>
+<div class="line"><a name="l00481"></a><span class="lineno">  
481</span>&#160;</div>
+<div class="line"><a name="l00482"></a><span class="lineno"><a class="line" 
href="classmesos_1_1internal_1_1slave_1_1Slave.html#a33768639ed69e6812b805bd70b29bf35">
  482</a></span>&#160;  <span class="keyword">friend</span> <span 
class="keyword">struct </span><a class="code" 
href="structmesos_1_1internal_1_1slave_1_1Metrics.html">Metrics</a>;</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; 
 <a class="code" 
href="classmesos_1_1internal_1_1slave_1_1Slave.html#ad0e96504544270343dadd39350e7a96e">Slave</a>(<span
 class="keyword">const</span> <a class="code" 
href="classmesos_1_1internal_1_1slave_1_1Slave.html">Slave</a>&amp;) = <span 
class="keyword">delete</span>;</div>
+<div class="line"><a name="l00485"></a><span class="lineno">  485</span>&#160; 
 <a class="code" 
href="classmesos_1_1internal_1_1slave_1_1Slave.html">Slave</a>&amp; 
operator=(<span class="keyword">const</span> <a class="code" 
href="classmesos_1_1internal_1_1slave_1_1Slave.html">Slave</a>&amp;) = <span 
class="keyword">delete</span>;</div>
+<div class="line"><a name="l00486"></a><span class="lineno">  
486</span>&#160;</div>
+<div class="line"><a name="l00487"></a><span class="lineno">  487</span>&#160; 
 <span class="keywordtype">void</span> _authenticate();</div>
+<div class="line"><a name="l00488"></a><span class="lineno">  488</span>&#160; 
 <span class="keywordtype">void</span> authenticationTimeout(<a class="code" 
href="classprocess_1_1Future.html">process::Future&lt;bool&gt;</a> 
future);</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="comment">// Shut down an executor. This is a two phase process. 
First, an</span></div>
+<div class="line"><a name="l00491"></a><span class="lineno">  491</span>&#160; 
 <span class="comment">// executor receives a shut down message (shut down 
phase), then</span></div>
+<div class="line"><a name="l00492"></a><span class="lineno">  492</span>&#160; 
 <span class="comment">// after a configurable timeout the slave actually 
forces a kill</span></div>
+<div class="line"><a name="l00493"></a><span class="lineno">  493</span>&#160; 
 <span class="comment">// (kill phase, via the isolator) if the executor has 
not</span></div>
+<div class="line"><a name="l00494"></a><span class="lineno">  494</span>&#160; 
 <span class="comment">// exited.</span></div>
+<div class="line"><a name="l00495"></a><span class="lineno">  495</span>&#160; 
 <span class="keywordtype">void</span> _shutdownExecutor(<a class="code" 
href="classmesos_1_1internal_1_1slave_1_1Framework.html">Framework</a>* 
framework, <a class="code" 
href="classmesos_1_1internal_1_1slave_1_1Executor.html">Executor</a>* 
executor);</div>
+<div class="line"><a name="l00496"></a><span class="lineno">  
496</span>&#160;</div>
+<div class="line"><a name="l00497"></a><span class="lineno">  497</span>&#160; 
 <span class="comment">// Process creation of persistent volumes (for CREATE) 
and/or deletion</span></div>
+<div class="line"><a name="l00498"></a><span class="lineno">  498</span>&#160; 
 <span class="comment">// of persistent volumes (for DESTROY) as a part of 
handling</span></div>
+<div class="line"><a name="l00499"></a><span class="lineno">  499</span>&#160; 
 <span class="comment">// checkpointed resources, and commit the checkpointed 
resources on</span></div>
+<div class="line"><a name="l00500"></a><span class="lineno">  500</span>&#160; 
 <span class="comment">// successful completion of all the 
operations.</span></div>
+<div class="line"><a name="l00501"></a><span class="lineno">  501</span>&#160; 
 <a class="code" href="classTry.html">Try&lt;Nothing&gt;</a> 
syncCheckpointedResources(</div>
+<div class="line"><a name="l00502"></a><span class="lineno">  502</span>&#160; 
     <span class="keyword">const</span> <a class="code" 
href="classmesos_1_1Resources.html">Resources</a>&amp; 
newCheckpointedResources);</div>
+<div class="line"><a name="l00503"></a><span class="lineno">  
503</span>&#160;</div>
+<div class="line"><a name="l00504"></a><span class="lineno">  504</span>&#160; 
 <a class="code" 
href="classprocess_1_1Future.html">process::Future&lt;bool&gt;</a> 
authorizeTask(</div>
+<div class="line"><a name="l00505"></a><span class="lineno">  505</span>&#160; 
     <span class="keyword">const</span> TaskInfo&amp; task,</div>
+<div class="line"><a name="l00506"></a><span class="lineno">  506</span>&#160; 
     <span class="keyword">const</span> FrameworkInfo&amp; frameworkInfo);</div>
+<div class="line"><a name="l00507"></a><span class="lineno">  
507</span>&#160;</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> 
authorizeLogAccess(</div>
+<div class="line"><a name="l00509"></a><span class="lineno">  509</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="l00510"></a><span class="lineno">  
510</span>&#160;</div>
+<div class="line"><a name="l00511"></a><span class="lineno">  511</span>&#160; 
 <a class="code" 
href="classprocess_1_1Future.html">process::Future&lt;bool&gt;</a> 
authorizeSandboxAccess(</div>
+<div class="line"><a name="l00512"></a><span class="lineno">  512</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="l00513"></a><span class="lineno">  513</span>&#160; 
     <span class="keyword">const</span> FrameworkID&amp; frameworkId,</div>
+<div class="line"><a name="l00514"></a><span class="lineno">  514</span>&#160; 
     <span class="keyword">const</span> ExecutorID&amp; executorId);</div>
+<div class="line"><a name="l00515"></a><span class="lineno">  
515</span>&#160;</div>
+<div class="line"><a name="l00516"></a><span class="lineno">  516</span>&#160; 
 <span class="keywordtype">void</span> sendExecutorTerminatedStatusUpdate(</div>
+<div class="line"><a name="l00517"></a><span class="lineno">  517</span>&#160; 
     <span class="keyword">const</span> TaskID&amp; taskId,</div>
+<div class="line"><a name="l00518"></a><span class="lineno">  518</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</a>&lt;</div>
+<div class="line"><a name="l00519"></a><span class="lineno">  519</span>&#160; 
         mesos::slave::ContainerTermination&gt;&gt;&amp; termination,</div>
+<div class="line"><a name="l00520"></a><span class="lineno">  520</span>&#160; 
     <span class="keyword">const</span> FrameworkID&amp; frameworkId,</div>
+<div class="line"><a name="l00521"></a><span class="lineno">  521</span>&#160; 
     <span class="keyword">const</span> <a class="code" 
href="classmesos_1_1internal_1_1slave_1_1Executor.html">Executor</a>* 
executor);</div>
+<div class="line"><a name="l00522"></a><span class="lineno">  
522</span>&#160;</div>
+<div class="line"><a name="l00523"></a><span class="lineno">  523</span>&#160; 
 <span class="comment">// Forwards the current total of oversubscribed 
resources.</span></div>
+<div class="line"><a name="l00524"></a><span class="lineno">  524</span>&#160; 
 <span class="keywordtype">void</span> forwardOversubscribed();</div>
+<div class="line"><a name="l00525"></a><span class="lineno">  525</span>&#160; 
 <span class="keywordtype">void</span> _forwardOversubscribed(</div>
+<div class="line"><a name="l00526"></a><span class="lineno">  526</span>&#160; 
     <span class="keyword">const</span> <a class="code" 
href="classprocess_1_1Future.html">process::Future&lt;Resources&gt;</a>&amp; 
oversubscribable);</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="comment">// Gauge methods.</span></div>
+<div class="line"><a name="l00529"></a><span class="lineno">  529</span>&#160; 
 <span class="keywordtype">double</span> _frameworks_active()</div>
+<div class="line"><a name="l00530"></a><span class="lineno">  530</span>&#160; 
 {</div>
+<div class="line"><a name="l00531"></a><span class="lineno">  531</span>&#160; 
   <span class="keywordflow">return</span> <span 
class="keyword">static_cast&lt;</span><span 
class="keywordtype">double</span><span 
class="keyword">&gt;</span>(frameworks.size());</div>
+<div class="line"><a name="l00532"></a><span class="lineno">  532</span>&#160; 
 }</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="keywordtype">double</span> _uptime_secs()</div>
+<div class="line"><a name="l00535"></a><span class="lineno">  535</span>&#160; 
 {</div>
+<div class="line"><a name="l00536"></a><span class="lineno">  536</span>&#160; 
   <span class="keywordflow">return</span> (<a class="code" 
href="classprocess_1_1Clock.html#a24ed3f746bb6b3ddb1c52dce5e0ecd38">process::Clock::now</a>()
 - startTime).secs();</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;</div>
+<div class="line"><a name="l00539"></a><span class="lineno">  539</span>&#160; 
 <span class="keywordtype">double</span> _registered()</div>
+<div class="line"><a name="l00540"></a><span class="lineno">  540</span>&#160; 
 {</div>
+<div class="line"><a name="l00541"></a><span class="lineno">  541</span>&#160; 
   <span class="keywordflow">return</span> master.<a class="code" 
href="classOption.html#a4e3bf8416d95246f43c91f1b5c309323">isSome</a>() ? 1 : 
0;</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;</div>
+<div class="line"><a name="l00544"></a><span class="lineno">  544</span>&#160; 
 <span class="keywordtype">double</span> _tasks_staging();</div>
+<div class="line"><a name="l00545"></a><span class="lineno">  545</span>&#160; 
 <span class="keywordtype">double</span> _tasks_starting();</div>
+<div class="line"><a name="l00546"></a><span class="lineno">  546</span>&#160; 
 <span class="keywordtype">double</span> _tasks_running();</div>
+<div class="line"><a name="l00547"></a><span class="lineno">  547</span>&#160; 
 <span class="keywordtype">double</span> _tasks_killing();</div>
+<div class="line"><a name="l00548"></a><span class="lineno">  
548</span>&#160;</div>
+<div class="line"><a name="l00549"></a><span class="lineno">  549</span>&#160; 
 <span class="keywordtype">double</span> _executors_registering();</div>
+<div class="line"><a name="l00550"></a><span class="lineno">  550</span>&#160; 
 <span class="keywordtype">double</span> _executors_running();</div>
+<div class="line"><a name="l00551"></a><span class="lineno">  551</span>&#160; 
 <span class="keywordtype">double</span> _executors_terminating();</div>
+<div class="line"><a name="l00552"></a><span class="lineno">  
552</span>&#160;</div>
+<div class="line"><a name="l00553"></a><span class="lineno">  553</span>&#160; 
 <span class="keywordtype">double</span> 
_executor_directory_max_allowed_age_secs();</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="keywordtype">double</span> _resources_total(<span 
class="keyword">const</span> std::string&amp; <a class="code" 
href="namespaceos_1_1Shell.html#acfe16ef2b1146ad49a8651c0a457ce46">name</a>);</div>
+<div class="line"><a name="l00556"></a><span class="lineno">  556</span>&#160; 
 <span class="keywordtype">double</span> _resources_used(<span 
class="keyword">const</span> std::string&amp; <a class="code" 
href="namespaceos_1_1Shell.html#acfe16ef2b1146ad49a8651c0a457ce46">name</a>);</div>
+<div class="line"><a name="l00557"></a><span class="lineno">  557</span>&#160; 
 <span class="keywordtype">double</span> _resources_percent(<span 
class="keyword">const</span> std::string&amp; <a class="code" 
href="namespaceos_1_1Shell.html#acfe16ef2b1146ad49a8651c0a457ce46">name</a>);</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">  559</span>&#160; 
 <span class="keywordtype">double</span> _resources_revocable_total(<span 
class="keyword">const</span> std::string&amp; <a class="code" 
href="namespaceos_1_1Shell.html#acfe16ef2b1146ad49a8651c0a457ce46">name</a>);</div>
+<div class="line"><a name="l00560"></a><span class="lineno">  560</span>&#160; 
 <span class="keywordtype">double</span> _resources_revocable_used(<span 
class="keyword">const</span> std::string&amp; <a class="code" 
href="namespaceos_1_1Shell.html#acfe16ef2b1146ad49a8651c0a457ce46">name</a>);</div>
+<div class="line"><a name="l00561"></a><span class="lineno">  561</span>&#160; 
 <span class="keywordtype">double</span> _resources_revocable_percent(<span 
class="keyword">const</span> std::string&amp; <a class="code" 
href="namespaceos_1_1Shell.html#acfe16ef2b1146ad49a8651c0a457ce46">name</a>);</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; 
 <span class="keyword">const</span> Flags <a class="code" 
href="decoder_8hpp.html#abb0829cce9dd20a40ae0d86890ae85c6">flags</a>;</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="keyword">const</span> <a class="code" 
href="classmesos_1_1internal_1_1slave_1_1Slave.html#aba95e2a7762bb5df986048b05d03a22e">Http</a>
 <a class="code" 
href="namespacemesos_1_1uri.html#a5dff7c4a2df7be12fb642b5801c34f9f">http</a>;</div>
+<div class="line"><a name="l00566"></a><span class="lineno">  
566</span>&#160;</div>
+<div class="line"><a name="l00567"></a><span class="lineno">  567</span>&#160; 
 SlaveInfo info;</div>
+<div class="line"><a name="l00568"></a><span class="lineno">  
568</span>&#160;</div>
+<div class="line"><a name="l00569"></a><span class="lineno">  569</span>&#160; 
 <span class="comment">// Resources that are checkpointed by the 
slave.</span></div>
+<div class="line"><a name="l00570"></a><span class="lineno">  570</span>&#160; 
 <a class="code" href="classmesos_1_1Resources.html">Resources</a> 
checkpointedResources;</div>
+<div class="line"><a name="l00571"></a><span class="lineno">  
571</span>&#160;</div>
+<div class="line"><a name="l00572"></a><span class="lineno">  572</span>&#160; 
 <span class="comment">// The current total resources of the agent, 
i.e.,</span></div>
+<div class="line"><a name="l00573"></a><span class="lineno">  573</span>&#160; 
 <span class="comment">// `info.resources()` with checkpointed resources 
applied.</span></div>
+<div class="line"><a name="l00574"></a><span class="lineno">  574</span>&#160; 
 <a class="code" href="classmesos_1_1Resources.html">Resources</a> 
totalResources;</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; 
 <a class="code" href="classOption.html">Option&lt;process::UPID&gt;</a> 
master;</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; 
 <a class="code" href="classhashmap.html">hashmap&lt;FrameworkID, 
Framework*&gt;</a> frameworks;</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; 
 <a class="code" href="classBoundedHashMap.html">BoundedHashMap&lt;FrameworkID, 
process::Owned&lt;Framework&gt;</a>&gt; completedFrameworks;</div>
+<div class="line"><a name="l00581"></a><span class="lineno">  
581</span>&#160;</div>
+<div class="line"><a name="l00582"></a><span class="lineno">  582</span>&#160; 
 <a class="code" 
href="classmesos_1_1master_1_1detector_1_1MasterDetector.html">mesos::master::detector::MasterDetector</a>*
 detector;</div>
+<div class="line"><a name="l00583"></a><span class="lineno">  
583</span>&#160;</div>
+<div class="line"><a name="l00584"></a><span class="lineno">  584</span>&#160; 
 Containerizer* containerizer;</div>
+<div class="line"><a name="l00585"></a><span class="lineno">  
585</span>&#160;</div>
+<div class="line"><a name="l00586"></a><span class="lineno">  586</span>&#160; 
 Files* files;</div>
+<div class="line"><a name="l00587"></a><span class="lineno">  
587</span>&#160;</div>
+<div class="line"><a name="l00588"></a><span class="lineno">  588</span>&#160; 
 <a class="code" 
href="classmesos_1_1internal_1_1slave_1_1Slave.html#a33768639ed69e6812b805bd70b29bf35">Metrics</a>
 <a class="code" 
href="namespaceprocess_1_1metrics_1_1internal.html#aaa37243f659788386a13de558eba70a7">metrics</a>;</div>
+<div class="line"><a name="l00589"></a><span class="lineno">  
589</span>&#160;</div>
+<div class="line"><a name="l00590"></a><span class="lineno">  590</span>&#160; 
 <a class="code" href="classprocess_1_1Time.html">process::Time</a> 
startTime;</div>
+<div class="line"><a name="l00591"></a><span class="lineno">  
591</span>&#160;</div>
+<div class="line"><a name="l00592"></a><span class="lineno">  592</span>&#160; 
 GarbageCollector* gc;</div>
+<div class="line"><a name="l00593"></a><span class="lineno">  
593</span>&#160;</div>
+<div class="line"><a name="l00594"></a><span class="lineno">  594</span>&#160; 
 StatusUpdateManager* statusUpdateManager;</div>
+<div class="line"><a name="l00595"></a><span class="lineno">  
595</span>&#160;</div>
+<div class="line"><a name="l00596"></a><span class="lineno">  596</span>&#160; 
 <span class="comment">// Master detection future.</span></div>
+<div class="line"><a name="l00597"></a><span class="lineno">  597</span>&#160; 
 <a class="code" 
href="classprocess_1_1Future.html">process::Future&lt;Option&lt;MasterInfo&gt;</a>&gt;
 detection;</div>
+<div class="line"><a name="l00598"></a><span class="lineno">  
598</span>&#160;</div>
+<div class="line"><a name="l00599"></a><span class="lineno">  599</span>&#160; 
 <span class="comment">// Master&#39;s ping timeout value, updated on 
reregistration.</span></div>
+<div class="line"><a name="l00600"></a><span class="lineno">  600</span>&#160; 
 <a class="code" href="classDuration.html">Duration</a> masterPingTimeout;</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="comment">// Timer for triggering re-detection when no ping is 
received from</span></div>
+<div class="line"><a name="l00603"></a><span class="lineno">  603</span>&#160; 
 <span class="comment">// the master.</span></div>
+<div class="line"><a name="l00604"></a><span class="lineno">  604</span>&#160; 
 <a class="code" href="classprocess_1_1Timer.html">process::Timer</a> 
pingTimer;</div>
+<div class="line"><a name="l00605"></a><span class="lineno">  
605</span>&#160;</div>
+<div class="line"><a name="l00606"></a><span class="lineno">  606</span>&#160; 
 <span class="comment">// Timer for triggering agent (re)registration after 
detecting a new master.</span></div>
+<div class="line"><a name="l00607"></a><span class="lineno">  607</span>&#160; 
 <a class="code" href="classprocess_1_1Timer.html">process::Timer</a> 
agentRegistrationTimer;</div>
+<div class="line"><a name="l00608"></a><span class="lineno">  
608</span>&#160;</div>
+<div class="line"><a name="l00609"></a><span class="lineno">  609</span>&#160; 
 <span class="comment">// Root meta directory containing checkpointed 
data.</span></div>
+<div class="line"><a name="l00610"></a><span class="lineno">  610</span>&#160; 
 <span class="keyword">const</span> std::string metaDir;</div>
+<div class="line"><a name="l00611"></a><span class="lineno">  
611</span>&#160;</div>
+<div class="line"><a name="l00612"></a><span class="lineno">  612</span>&#160; 
 <span class="comment">// Indicates the number of errors ignored in 
&quot;--no-strict&quot; recovery mode.</span></div>
+<div class="line"><a name="l00613"></a><span class="lineno">  613</span>&#160; 
 <span class="keywordtype">unsigned</span> <span class="keywordtype">int</span> 
recoveryErrors;</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; 
 <a class="code" href="classOption.html">Option&lt;Credential&gt;</a> 
credential;</div>
+<div class="line"><a name="l00616"></a><span class="lineno">  
616</span>&#160;</div>
+<div class="line"><a name="l00617"></a><span class="lineno">  617</span>&#160; 
 <span class="comment">// Authenticatee name as supplied via flags.</span></div>
+<div class="line"><a name="l00618"></a><span class="lineno">  618</span>&#160; 
 std::string authenticateeName;</div>
+<div class="line"><a name="l00619"></a><span class="lineno">  
619</span>&#160;</div>
+<div class="line"><a name="l00620"></a><span class="lineno">  620</span>&#160; 
 <a class="code" href="classmesos_1_1Authenticatee.html">Authenticatee</a>* 
authenticatee;</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">// Indicates if an authentication attempt is in 
progress.</span></div>
+<div class="line"><a name="l00623"></a><span class="lineno">  623</span>&#160; 
 <a class="code" 
href="classOption.html">Option&lt;process::Future&lt;bool&gt;</a>&gt; 
authenticating;</div>
+<div class="line"><a name="l00624"></a><span class="lineno">  
624</span>&#160;</div>
+<div class="line"><a name="l00625"></a><span class="lineno">  625</span>&#160; 
 <span class="comment">// Indicates if the authentication is 
successful.</span></div>
+<div class="line"><a name="l00626"></a><span class="lineno">  626</span>&#160; 
 <span class="keywordtype">bool</span> authenticated;</div>
+<div class="line"><a name="l00627"></a><span class="lineno">  
627</span>&#160;</div>
+<div class="line"><a name="l00628"></a><span class="lineno">  628</span>&#160; 
 <span class="comment">// Indicates if a new authentication attempt should be 
enforced.</span></div>
+<div class="line"><a name="l00629"></a><span class="lineno">  629</span>&#160; 
 <span class="keywordtype">bool</span> reauthenticate;</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="comment">// Indicates the number of failed authentication 
attempts.</span></div>
+<div class="line"><a name="l00632"></a><span class="lineno">  632</span>&#160; 
 uint64_t failedAuthentications;</div>
+<div class="line"><a name="l00633"></a><span class="lineno">  
633</span>&#160;</div>
+<div class="line"><a name="l00634"></a><span class="lineno">  634</span>&#160; 
 <span class="comment">// Maximum age of executor directories. Will be 
recomputed</span></div>
+<div class="line"><a name="l00635"></a><span class="lineno">  635</span>&#160; 
 <span class="comment">// periodically every 
flags.disk_watch_interval.</span></div>
+<div class="line"><a name="l00636"></a><span class="lineno">  636</span>&#160; 
 <a class="code" href="classDuration.html">Duration</a> 
executorDirectoryMaxAllowedAge;</div>
+<div class="line"><a name="l00637"></a><span class="lineno">  
637</span>&#160;</div>
+<div class="line"><a name="l00638"></a><span class="lineno">  638</span>&#160; 
 <a class="code" 
href="classmesos_1_1slave_1_1ResourceEstimator.html">mesos::slave::ResourceEstimator</a>*
 resourceEstimator;</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; 
 <a class="code" 
href="classmesos_1_1slave_1_1QoSController.html">mesos::slave::QoSController</a>*
 qosController;</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="keyword">const</span> <a class="code" 
href="classOption.html">Option&lt;Authorizer*&gt;</a> authorizer;</div>
+<div class="line"><a name="l00643"></a><span class="lineno">  
643</span>&#160;</div>
+<div class="line"><a name="l00644"></a><span class="lineno">  644</span>&#160; 
 <span class="comment">// The most recent estimate of the total amount of 
oversubscribed</span></div>
+<div class="line"><a name="l00645"></a><span class="lineno">  645</span>&#160; 
 <span class="comment">// (allocated and oversubscribable) 
resources.</span></div>
+<div class="line"><a name="l00646"></a><span class="lineno">  646</span>&#160; 
 <a class="code" href="classOption.html">Option&lt;Resources&gt;</a> 
oversubscribedResources;</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; 
 ResourceProviderManager resourceProviderManager;</div>
+<div class="line"><a name="l00649"></a><span class="lineno">  649</span>&#160; 
 <a class="code" 
href="classprocess_1_1Owned.html">process::Owned&lt;LocalResourceProviderDaemon&gt;</a>
 localResourceProviderDaemon;</div>
+<div class="line"><a name="l00650"></a><span class="lineno">  
650</span>&#160;</div>
+<div class="line"><a name="l00651"></a><span class="lineno">  
651</span>&#160;<span class="keyword">protected</span>:</div>
+<div class="line"><a name="l00652"></a><span class="lineno">  652</span>&#160; 
 <span class="comment">// Made protected for testing purposes.</span></div>
+<div class="line"><a name="l00653"></a><span class="lineno"><a class="line" 
href="classmesos_1_1internal_1_1slave_1_1Slave.html#ac81a0a2d8dc38bbe864c1c4d34d9f96c">
  653</a></span>&#160;  <a class="code" 
href="classmesos_1_1SecretGenerator.html">mesos::SecretGenerator</a>* <a 
class="code" 
href="classmesos_1_1internal_1_1slave_1_1Slave.html#ac81a0a2d8dc38bbe864c1c4d34d9f96c">secretGenerator</a>;</div>
+<div class="line"><a name="l00654"></a><span class="lineno">  
654</span>&#160;};</div>
 <div class="line"><a name="l00655"></a><span class="lineno">  
655</span>&#160;</div>
-<div class="line"><a name="l00656"></a><span class="lineno">  
656</span>&#160;<span class="comment">// Represents the streaming HTTP 
connection to an executor.</span></div>
-<div class="line"><a name="l00657"></a><span class="lineno"><a class="line" 
href="structmesos_1_1internal_1_1slave_1_1HttpConnection.html">  
657</a></span>&#160;<span class="keyword">struct </span><a class="code" 
href="structmesos_1_1internal_1_1slave_1_1HttpConnection.html">HttpConnection</a></div>
-<div class="line"><a name="l00658"></a><span class="lineno">  
658</span>&#160;{</div>
-<div class="line"><a name="l00659"></a><span class="lineno"><a class="line" 
href="structmesos_1_1internal_1_1slave_1_1HttpConnection.html#acc1ca998134e63de44e77f0a371973af">
  659</a></span>&#160;  <a class="code" 
href="structmesos_1_1internal_1_1slave_1_1HttpConnection.html#acc1ca998134e63de44e77f0a371973af">HttpConnection</a>(<span
 class="keyword">const</span> <a class="code" 
href="classprocess_1_1http_1_1Pipe_1_1Writer.html">process::http::Pipe::Writer</a>&amp;
 _writer,</div>
-<div class="line"><a name="l00660"></a><span class="lineno">  660</span>&#160; 
                <a class="code" 
href="namespacemesos.html#a13035ce0cc66cca4a467787b4716039e">ContentType</a> 
_contentType)</div>
-<div class="line"><a name="l00661"></a><span class="lineno">  661</span>&#160; 
   : <a class="code" 
href="structmesos_1_1internal_1_1slave_1_1HttpConnection.html#a0c59d0ff74737a01a33ae18f76525ed3">writer</a>(_writer),</div>
-<div class="line"><a name="l00662"></a><span class="lineno">  662</span>&#160; 
     <a class="code" 
href="structmesos_1_1internal_1_1slave_1_1HttpConnection.html#aa56f337e2e9a40afbcae740883f7342e">contentType</a>(_contentType),</div>
-<div class="line"><a name="l00663"></a><span class="lineno">  663</span>&#160; 
     <a class="code" 
href="structmesos_1_1internal_1_1slave_1_1HttpConnection.html#ac9014eb387ce40f4b7803c14b37da8f8">encoder</a>(lambda::<a
 class="code" 
href="namespaceprocess_1_1network.html#ad067110a4b38cc83785a43f49bf6c8e2">bind</a>(<a
 class="code" 
href="namespacemesos_1_1internal.html#a9c1f91de8a8a389b357b81f7b51b0554">serialize</a>,
 <a class="code" 
href="structmesos_1_1internal_1_1slave_1_1HttpConnection.html#aa56f337e2e9a40afbcae740883f7342e">contentType</a>,
 lam

<TRUNCATED>

Reply via email to