http://git-wip-us.apache.org/repos/asf/mesos-site/blob/60dce384/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 9644241..b27a3c7 100644
--- a/content/api/latest/c++/src_2master_2master_8hpp_source.html
+++ b/content/api/latest/c++/src_2master_2master_8hpp_source.html
@@ -1944,14 +1944,14 @@
 <div class="line"><a name="l01998"></a><span class="lineno"> 1998</span>&#160; 
     <span class="comment">//</span></div>
 <div class="line"><a name="l01999"></a><span class="lineno"> 1999</span>&#160; 
     <span class="comment">// TODO(greggomann): Refactor this function into 
multiple event-specific</span></div>
 <div class="line"><a name="l02000"></a><span class="lineno"> 2000</span>&#160; 
     <span class="comment">// overloads. See MESOS-8475.</span></div>
-<div class="line"><a name="l02001"></a><span class="lineno"> 2001</span>&#160; 
     <span class="keywordtype">void</span> <a class="code" 
href="structmesos_1_1internal_1_1master_1_1Master_1_1Subscribers_1_1Subscriber.html#abd5463aa37d13bef42a96f722e28e9e2">send</a>(</div>
+<div class="line"><a name="l02001"></a><span class="lineno"> 2001</span>&#160; 
     <span class="keywordtype">void</span> <a class="code" 
href="structmesos_1_1internal_1_1master_1_1Master_1_1Subscribers_1_1Subscriber.html#abe913a228aaec83e7406790beafa88b7">send</a>(</div>
 <div class="line"><a name="l02002"></a><span class="lineno"> 2002</span>&#160; 
         <span class="keyword">const</span> <a class="code" 
href="classprocess_1_1Shared.html">process::Shared&lt;mesos::master::Event&gt;</a>&amp;
 event,</div>
 <div class="line"><a name="l02003"></a><span class="lineno"> 2003</span>&#160; 
         <span class="keyword">const</span> <a class="code" 
href="classprocess_1_1Owned.html">process::Owned&lt;AuthorizationAcceptor&gt;</a>&amp;
 authorizeRole,</div>
 <div class="line"><a name="l02004"></a><span class="lineno"> 2004</span>&#160; 
         <span class="keyword">const</span> <a class="code" 
href="classprocess_1_1Owned.html">process::Owned&lt;AuthorizationAcceptor&gt;</a>&amp;
 <a class="code" 
href="classmesos_1_1internal_1_1master_1_1Master.html#a2e681b1f2c827a85d66a207cfdedf5c3">authorizeFramework</a>,</div>
 <div class="line"><a name="l02005"></a><span class="lineno"> 2005</span>&#160; 
         <span class="keyword">const</span> <a class="code" 
href="classprocess_1_1Owned.html">process::Owned&lt;AuthorizationAcceptor&gt;</a>&amp;
 <a class="code" 
href="classmesos_1_1internal_1_1master_1_1Master.html#aee6c20e5ab98744a50a2cb783af6b686">authorizeTask</a>,</div>
 <div class="line"><a name="l02006"></a><span class="lineno"> 2006</span>&#160; 
         <span class="keyword">const</span> <a class="code" 
href="classprocess_1_1Owned.html">process::Owned&lt;AuthorizationAcceptor&gt;</a>&amp;
 authorizeExecutor,</div>
-<div class="line"><a name="l02007"></a><span class="lineno"> 2007</span>&#160; 
         <span class="keyword">const</span> <a class="code" 
href="classOption.html">Option</a>&lt;<a class="code" 
href="classprocess_1_1Shared.html">process::Shared&lt;FrameworkInfo&gt;</a>&gt;&amp;
 frameworkInfo,</div>
-<div class="line"><a name="l02008"></a><span class="lineno"> 2008</span>&#160; 
         <span class="keyword">const</span> <a class="code" 
href="classOption.html">Option</a>&lt;<a class="code" 
href="classprocess_1_1Shared.html">process::Shared&lt;Task&gt;</a>&gt;&amp; 
task);</div>
+<div class="line"><a name="l02007"></a><span class="lineno"> 2007</span>&#160; 
         <span class="keyword">const</span> <a class="code" 
href="classprocess_1_1Shared.html">process::Shared&lt;FrameworkInfo&gt;</a>&amp;
 frameworkInfo,</div>
+<div class="line"><a name="l02008"></a><span class="lineno"> 2008</span>&#160; 
         <span class="keyword">const</span> <a class="code" 
href="classprocess_1_1Shared.html">process::Shared&lt;Task&gt;</a>&amp; 
task);</div>
 <div class="line"><a name="l02009"></a><span class="lineno"> 
2009</span>&#160;</div>
 <div class="line"><a name="l02010"></a><span class="lineno"><a class="line" 
href="structmesos_1_1internal_1_1master_1_1Master_1_1Subscribers_1_1Subscriber.html#a86ef4d728349aedb9d28a20860bb735f">
 2010</a></span>&#160;      <a class="code" 
href="structmesos_1_1internal_1_1master_1_1Master_1_1Subscribers_1_1Subscriber.html#a86ef4d728349aedb9d28a20860bb735f">~Subscriber</a>()</div>
 <div class="line"><a name="l02011"></a><span class="lineno"> 2011</span>&#160; 
     {</div>
@@ -1972,979 +1972,988 @@
 <div class="line"><a name="l02026"></a><span class="lineno"> 2026</span>&#160; 
   };</div>
 <div class="line"><a name="l02027"></a><span class="lineno"> 
2027</span>&#160;</div>
 <div class="line"><a name="l02028"></a><span class="lineno"> 2028</span>&#160; 
   <span class="comment">// Sends the event to all subscribers connected to the 
&#39;api/vX&#39; endpoint.</span></div>
-<div class="line"><a name="l02029"></a><span class="lineno"> 2029</span>&#160; 
   <span class="keywordtype">void</span> <a class="code" 
href="classProtobufProcess.html#a6c404fdc490a7199a0d2ad881d588e5c">send</a>(<a 
class="code" 
href="namespacemesos_1_1internal_1_1tests_1_1v1_1_1scheduler.html#acd3fa8addac36f513726743665631d79">mesos::master::Event</a>&amp;&amp;
 event);</div>
-<div class="line"><a name="l02030"></a><span class="lineno"> 
2030</span>&#160;</div>
-<div class="line"><a name="l02031"></a><span class="lineno"> 2031</span>&#160; 
   <a class="code" 
href="classmesos_1_1internal_1_1master_1_1Master.html">Master</a>* master;</div>
-<div class="line"><a name="l02032"></a><span class="lineno"> 
2032</span>&#160;</div>
-<div class="line"><a name="l02033"></a><span class="lineno"> 2033</span>&#160; 
   <span class="comment">// Active subscribers to the &#39;api/vX&#39; endpoint 
keyed by the stream</span></div>
-<div class="line"><a name="l02034"></a><span class="lineno"> 2034</span>&#160; 
   <span class="comment">// identifier.</span></div>
-<div class="line"><a name="l02035"></a><span class="lineno"> 2035</span>&#160; 
   <a class="code" href="classhashmap.html">hashmap&lt;id::UUID, 
process::Owned&lt;Subscriber&gt;</a>&gt; subscribed;</div>
-<div class="line"><a name="l02036"></a><span class="lineno"> 2036</span>&#160; 
 };</div>
-<div class="line"><a name="l02037"></a><span class="lineno"> 
2037</span>&#160;</div>
-<div class="line"><a name="l02038"></a><span class="lineno"> 2038</span>&#160; 
 Subscribers subscribers;</div>
-<div class="line"><a name="l02039"></a><span class="lineno"> 
2039</span>&#160;</div>
-<div class="line"><a name="l02040"></a><span class="lineno"> 2040</span>&#160; 
 <a class="code" href="classhashmap.html">hashmap&lt;OfferID, Offer*&gt;</a> 
offers;</div>
-<div class="line"><a name="l02041"></a><span class="lineno"> 2041</span>&#160; 
 <a class="code" href="classhashmap.html">hashmap&lt;OfferID, 
process::Timer&gt;</a> offerTimers;</div>
+<div class="line"><a name="l02029"></a><span class="lineno"> 2029</span>&#160; 
   <span class="keywordtype">void</span> <a class="code" 
href="classProtobufProcess.html#a6c404fdc490a7199a0d2ad881d588e5c">send</a>(</div>
+<div class="line"><a name="l02030"></a><span class="lineno"> 2030</span>&#160; 
       <a class="code" 
href="namespacemesos_1_1internal_1_1tests_1_1v1_1_1scheduler.html#acd3fa8addac36f513726743665631d79">mesos::master::Event</a>&amp;&amp;
 event,</div>
+<div class="line"><a name="l02031"></a><span class="lineno"> 2031</span>&#160; 
       <span class="keyword">const</span> <a class="code" 
href="classOption.html">Option&lt;FrameworkInfo&gt;</a>&amp; frameworkInfo = <a 
class="code" href="structNone.html">None</a>(),</div>
+<div class="line"><a name="l02032"></a><span class="lineno"> 2032</span>&#160; 
       <span class="keyword">const</span> <a class="code" 
href="classOption.html">Option&lt;Task&gt;</a>&amp; task = <a class="code" 
href="structNone.html">None</a>());</div>
+<div class="line"><a name="l02033"></a><span class="lineno"> 
2033</span>&#160;</div>
+<div class="line"><a name="l02034"></a><span class="lineno"> 2034</span>&#160; 
   <a class="code" 
href="classmesos_1_1internal_1_1master_1_1Master.html">Master</a>* master;</div>
+<div class="line"><a name="l02035"></a><span class="lineno"> 
2035</span>&#160;</div>
+<div class="line"><a name="l02036"></a><span class="lineno"> 2036</span>&#160; 
   <span class="comment">// Active subscribers to the &#39;api/vX&#39; endpoint 
keyed by the stream</span></div>
+<div class="line"><a name="l02037"></a><span class="lineno"> 2037</span>&#160; 
   <span class="comment">// identifier.</span></div>
+<div class="line"><a name="l02038"></a><span class="lineno"> 2038</span>&#160; 
   <a class="code" href="classhashmap.html">hashmap&lt;id::UUID, 
process::Owned&lt;Subscriber&gt;</a>&gt; subscribed;</div>
+<div class="line"><a name="l02039"></a><span class="lineno"> 2039</span>&#160; 
 };</div>
+<div class="line"><a name="l02040"></a><span class="lineno"> 
2040</span>&#160;</div>
+<div class="line"><a name="l02041"></a><span class="lineno"> 2041</span>&#160; 
 Subscribers subscribers;</div>
 <div class="line"><a name="l02042"></a><span class="lineno"> 
2042</span>&#160;</div>
-<div class="line"><a name="l02043"></a><span class="lineno"> 2043</span>&#160; 
 <a class="code" href="classhashmap.html">hashmap&lt;OfferID, 
InverseOffer*&gt;</a> inverseOffers;</div>
-<div class="line"><a name="l02044"></a><span class="lineno"> 2044</span>&#160; 
 <a class="code" href="classhashmap.html">hashmap&lt;OfferID, 
process::Timer&gt;</a> inverseOfferTimers;</div>
+<div class="line"><a name="l02043"></a><span class="lineno"> 2043</span>&#160; 
 <a class="code" href="classhashmap.html">hashmap&lt;OfferID, Offer*&gt;</a> 
offers;</div>
+<div class="line"><a name="l02044"></a><span class="lineno"> 2044</span>&#160; 
 <a class="code" href="classhashmap.html">hashmap&lt;OfferID, 
process::Timer&gt;</a> offerTimers;</div>
 <div class="line"><a name="l02045"></a><span class="lineno"> 
2045</span>&#160;</div>
-<div class="line"><a name="l02046"></a><span class="lineno"> 2046</span>&#160; 
 <span class="comment">// We track information about roles that we&#39;re aware 
of in the system.</span></div>
-<div class="line"><a name="l02047"></a><span class="lineno"> 2047</span>&#160; 
 <span class="comment">// Specifically, we keep track of the roles when a 
framework subscribes to</span></div>
-<div class="line"><a name="l02048"></a><span class="lineno"> 2048</span>&#160; 
 <span class="comment">// the role, and/or when there are resources allocated 
to the role</span></div>
-<div class="line"><a name="l02049"></a><span class="lineno"> 2049</span>&#160; 
 <span class="comment">// (e.g. some tasks and/or executors are consuming 
resources under the role).</span></div>
-<div class="line"><a name="l02050"></a><span class="lineno"> 2050</span>&#160; 
 <a class="code" href="classhashmap.html">hashmap&lt;std::string, Role*&gt;</a> 
roles;</div>
-<div class="line"><a name="l02051"></a><span class="lineno"> 
2051</span>&#160;</div>
-<div class="line"><a name="l02052"></a><span class="lineno"> 2052</span>&#160; 
 <span class="comment">// Configured role whitelist if using the (deprecated) 
&quot;explicit</span></div>
-<div class="line"><a name="l02053"></a><span class="lineno"> 2053</span>&#160; 
 <span class="comment">// roles&quot; feature. If this is `None`, any role is 
allowed.</span></div>
-<div class="line"><a name="l02054"></a><span class="lineno"> 2054</span>&#160; 
 <a class="code" 
href="classOption.html">Option&lt;hashset&lt;std::string&gt;</a>&gt; 
roleWhitelist;</div>
-<div class="line"><a name="l02055"></a><span class="lineno"> 
2055</span>&#160;</div>
-<div class="line"><a name="l02056"></a><span class="lineno"> 2056</span>&#160; 
 <span class="comment">// Configured weight for each role, if any. If a role 
does not</span></div>
-<div class="line"><a name="l02057"></a><span class="lineno"> 2057</span>&#160; 
 <span class="comment">// appear here, it has the default weight of 
1.</span></div>
-<div class="line"><a name="l02058"></a><span class="lineno"> 2058</span>&#160; 
 <a class="code" href="classhashmap.html">hashmap&lt;std::string, 
double&gt;</a> weights;</div>
-<div class="line"><a name="l02059"></a><span class="lineno"> 
2059</span>&#160;</div>
-<div class="line"><a name="l02060"></a><span class="lineno"> 2060</span>&#160; 
 <span class="comment">// Configured quota for each role, if any. We store 
quotas by role</span></div>
-<div class="line"><a name="l02061"></a><span class="lineno"> 2061</span>&#160; 
 <span class="comment">// because we set them at the role level.</span></div>
-<div class="line"><a name="l02062"></a><span class="lineno"> 2062</span>&#160; 
 <a class="code" href="classhashmap.html">hashmap&lt;std::string, Quota&gt;</a> 
quotas;</div>
-<div class="line"><a name="l02063"></a><span class="lineno"> 
2063</span>&#160;</div>
-<div class="line"><a name="l02064"></a><span class="lineno"> 2064</span>&#160; 
 <span class="comment">// Authenticator names as supplied via 
flags.</span></div>
-<div class="line"><a name="l02065"></a><span class="lineno"> 2065</span>&#160; 
 std::vector&lt;std::string&gt; authenticatorNames;</div>
+<div class="line"><a name="l02046"></a><span class="lineno"> 2046</span>&#160; 
 <a class="code" href="classhashmap.html">hashmap&lt;OfferID, 
InverseOffer*&gt;</a> inverseOffers;</div>
+<div class="line"><a name="l02047"></a><span class="lineno"> 2047</span>&#160; 
 <a class="code" href="classhashmap.html">hashmap&lt;OfferID, 
process::Timer&gt;</a> inverseOfferTimers;</div>
+<div class="line"><a name="l02048"></a><span class="lineno"> 
2048</span>&#160;</div>
+<div class="line"><a name="l02049"></a><span class="lineno"> 2049</span>&#160; 
 <span class="comment">// We track information about roles that we&#39;re aware 
of in the system.</span></div>
+<div class="line"><a name="l02050"></a><span class="lineno"> 2050</span>&#160; 
 <span class="comment">// Specifically, we keep track of the roles when a 
framework subscribes to</span></div>
+<div class="line"><a name="l02051"></a><span class="lineno"> 2051</span>&#160; 
 <span class="comment">// the role, and/or when there are resources allocated 
to the role</span></div>
+<div class="line"><a name="l02052"></a><span class="lineno"> 2052</span>&#160; 
 <span class="comment">// (e.g. some tasks and/or executors are consuming 
resources under the role).</span></div>
+<div class="line"><a name="l02053"></a><span class="lineno"> 2053</span>&#160; 
 <a class="code" href="classhashmap.html">hashmap&lt;std::string, Role*&gt;</a> 
roles;</div>
+<div class="line"><a name="l02054"></a><span class="lineno"> 
2054</span>&#160;</div>
+<div class="line"><a name="l02055"></a><span class="lineno"> 2055</span>&#160; 
 <span class="comment">// Configured role whitelist if using the (deprecated) 
&quot;explicit</span></div>
+<div class="line"><a name="l02056"></a><span class="lineno"> 2056</span>&#160; 
 <span class="comment">// roles&quot; feature. If this is `None`, any role is 
allowed.</span></div>
+<div class="line"><a name="l02057"></a><span class="lineno"> 2057</span>&#160; 
 <a class="code" 
href="classOption.html">Option&lt;hashset&lt;std::string&gt;</a>&gt; 
roleWhitelist;</div>
+<div class="line"><a name="l02058"></a><span class="lineno"> 
2058</span>&#160;</div>
+<div class="line"><a name="l02059"></a><span class="lineno"> 2059</span>&#160; 
 <span class="comment">// Configured weight for each role, if any. If a role 
does not</span></div>
+<div class="line"><a name="l02060"></a><span class="lineno"> 2060</span>&#160; 
 <span class="comment">// appear here, it has the default weight of 
1.</span></div>
+<div class="line"><a name="l02061"></a><span class="lineno"> 2061</span>&#160; 
 <a class="code" href="classhashmap.html">hashmap&lt;std::string, 
double&gt;</a> weights;</div>
+<div class="line"><a name="l02062"></a><span class="lineno"> 
2062</span>&#160;</div>
+<div class="line"><a name="l02063"></a><span class="lineno"> 2063</span>&#160; 
 <span class="comment">// Configured quota for each role, if any. We store 
quotas by role</span></div>
+<div class="line"><a name="l02064"></a><span class="lineno"> 2064</span>&#160; 
 <span class="comment">// because we set them at the role level.</span></div>
+<div class="line"><a name="l02065"></a><span class="lineno"> 2065</span>&#160; 
 <a class="code" href="classhashmap.html">hashmap&lt;std::string, Quota&gt;</a> 
quotas;</div>
 <div class="line"><a name="l02066"></a><span class="lineno"> 
2066</span>&#160;</div>
-<div class="line"><a name="l02067"></a><span class="lineno"> 2067</span>&#160; 
 <a class="code" href="classOption.html">Option&lt;Authenticator*&gt;</a> 
authenticator;</div>
-<div class="line"><a name="l02068"></a><span class="lineno"> 
2068</span>&#160;</div>
-<div class="line"><a name="l02069"></a><span class="lineno"> 2069</span>&#160; 
 <span class="comment">// Frameworks/slaves that are currently in the process 
of authentication.</span></div>
-<div class="line"><a name="l02070"></a><span class="lineno"> 2070</span>&#160; 
 <span class="comment">// &#39;authenticating&#39; future is completed when 
authenticator</span></div>
-<div class="line"><a name="l02071"></a><span class="lineno"> 2071</span>&#160; 
 <span class="comment">// completes authentication.</span></div>
-<div class="line"><a name="l02072"></a><span class="lineno"> 2072</span>&#160; 
 <span class="comment">// The future is removed from the map when master 
completes authentication.</span></div>
-<div class="line"><a name="l02073"></a><span class="lineno"> 2073</span>&#160; 
 <a class="code" href="classhashmap.html">hashmap&lt;process::UPID, 
process::Future&lt;Option&lt;std::string&gt;</a>&gt;&gt; authenticating;</div>
-<div class="line"><a name="l02074"></a><span class="lineno"> 
2074</span>&#160;</div>
-<div class="line"><a name="l02075"></a><span class="lineno"> 2075</span>&#160; 
 <span class="comment">// Principals of authenticated frameworks/slaves keyed 
by PID.</span></div>
-<div class="line"><a name="l02076"></a><span class="lineno"> 2076</span>&#160; 
 <a class="code" href="classhashmap.html">hashmap&lt;process::UPID, 
std::string&gt;</a> authenticated;</div>
+<div class="line"><a name="l02067"></a><span class="lineno"> 2067</span>&#160; 
 <span class="comment">// Authenticator names as supplied via 
flags.</span></div>
+<div class="line"><a name="l02068"></a><span class="lineno"> 2068</span>&#160; 
 std::vector&lt;std::string&gt; authenticatorNames;</div>
+<div class="line"><a name="l02069"></a><span class="lineno"> 
2069</span>&#160;</div>
+<div class="line"><a name="l02070"></a><span class="lineno"> 2070</span>&#160; 
 <a class="code" href="classOption.html">Option&lt;Authenticator*&gt;</a> 
authenticator;</div>
+<div class="line"><a name="l02071"></a><span class="lineno"> 
2071</span>&#160;</div>
+<div class="line"><a name="l02072"></a><span class="lineno"> 2072</span>&#160; 
 <span class="comment">// Frameworks/slaves that are currently in the process 
of authentication.</span></div>
+<div class="line"><a name="l02073"></a><span class="lineno"> 2073</span>&#160; 
 <span class="comment">// &#39;authenticating&#39; future is completed when 
authenticator</span></div>
+<div class="line"><a name="l02074"></a><span class="lineno"> 2074</span>&#160; 
 <span class="comment">// completes authentication.</span></div>
+<div class="line"><a name="l02075"></a><span class="lineno"> 2075</span>&#160; 
 <span class="comment">// The future is removed from the map when master 
completes authentication.</span></div>
+<div class="line"><a name="l02076"></a><span class="lineno"> 2076</span>&#160; 
 <a class="code" href="classhashmap.html">hashmap&lt;process::UPID, 
process::Future&lt;Option&lt;std::string&gt;</a>&gt;&gt; authenticating;</div>
 <div class="line"><a name="l02077"></a><span class="lineno"> 
2077</span>&#160;</div>
-<div class="line"><a name="l02078"></a><span class="lineno"> 2078</span>&#160; 
 int64_t nextFrameworkId; <span class="comment">// Used to give each framework 
a unique ID.</span></div>
-<div class="line"><a name="l02079"></a><span class="lineno"> 2079</span>&#160; 
 int64_t nextOfferId;     <span class="comment">// Used to give each slot offer 
a unique ID.</span></div>
-<div class="line"><a name="l02080"></a><span class="lineno"> 2080</span>&#160; 
 int64_t nextSlaveId;     <span class="comment">// Used to give each slave a 
unique ID.</span></div>
-<div class="line"><a name="l02081"></a><span class="lineno"> 
2081</span>&#160;</div>
-<div class="line"><a name="l02082"></a><span class="lineno"> 2082</span>&#160; 
 <span class="comment">// NOTE: It is safe to use a &#39;shared_ptr&#39; 
because &#39;Metrics&#39; is</span></div>
-<div class="line"><a name="l02083"></a><span class="lineno"> 2083</span>&#160; 
 <span class="comment">// thread safe.</span></div>
-<div class="line"><a name="l02084"></a><span class="lineno"> 2084</span>&#160; 
 <span class="comment">// TODO(dhamon): This does not need to be a shared_ptr. 
Metrics contains</span></div>
-<div class="line"><a name="l02085"></a><span class="lineno"> 2085</span>&#160; 
 <span class="comment">// copyable metric types only.</span></div>
-<div class="line"><a name="l02086"></a><span class="lineno"> 2086</span>&#160; 
 std::shared_ptr&lt;Metrics&gt; metrics;</div>
-<div class="line"><a name="l02087"></a><span class="lineno"> 
2087</span>&#160;</div>
-<div class="line"><a name="l02088"></a><span class="lineno"> 2088</span>&#160; 
 <span class="comment">// Gauge handlers.</span></div>
-<div class="line"><a name="l02089"></a><span class="lineno"> 2089</span>&#160; 
 <span class="keywordtype">double</span> _uptime_secs()</div>
-<div class="line"><a name="l02090"></a><span class="lineno"> 2090</span>&#160; 
 {</div>
-<div class="line"><a name="l02091"></a><span class="lineno"> 2091</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="l02092"></a><span class="lineno"> 2092</span>&#160; 
 }</div>
-<div class="line"><a name="l02093"></a><span class="lineno"> 
2093</span>&#160;</div>
-<div class="line"><a name="l02094"></a><span class="lineno"> 2094</span>&#160; 
 <span class="keywordtype">double</span> _elected()</div>
-<div class="line"><a name="l02095"></a><span class="lineno"> 2095</span>&#160; 
 {</div>
-<div class="line"><a name="l02096"></a><span class="lineno"> 2096</span>&#160; 
   <span class="keywordflow">return</span> elected() ? 1 : 0;</div>
-<div class="line"><a name="l02097"></a><span class="lineno"> 2097</span>&#160; 
 }</div>
-<div class="line"><a name="l02098"></a><span class="lineno"> 
2098</span>&#160;</div>
-<div class="line"><a name="l02099"></a><span class="lineno"> 2099</span>&#160; 
 <span class="keywordtype">double</span> _slaves_connected();</div>
-<div class="line"><a name="l02100"></a><span class="lineno"> 2100</span>&#160; 
 <span class="keywordtype">double</span> _slaves_disconnected();</div>
-<div class="line"><a name="l02101"></a><span class="lineno"> 2101</span>&#160; 
 <span class="keywordtype">double</span> _slaves_active();</div>
-<div class="line"><a name="l02102"></a><span class="lineno"> 2102</span>&#160; 
 <span class="keywordtype">double</span> _slaves_inactive();</div>
-<div class="line"><a name="l02103"></a><span class="lineno"> 2103</span>&#160; 
 <span class="keywordtype">double</span> _slaves_unreachable();</div>
-<div class="line"><a name="l02104"></a><span class="lineno"> 
2104</span>&#160;</div>
-<div class="line"><a name="l02105"></a><span class="lineno"> 2105</span>&#160; 
 <span class="keywordtype">double</span> _frameworks_connected();</div>
-<div class="line"><a name="l02106"></a><span class="lineno"> 2106</span>&#160; 
 <span class="keywordtype">double</span> _frameworks_disconnected();</div>
-<div class="line"><a name="l02107"></a><span class="lineno"> 2107</span>&#160; 
 <span class="keywordtype">double</span> _frameworks_active();</div>
-<div class="line"><a name="l02108"></a><span class="lineno"> 2108</span>&#160; 
 <span class="keywordtype">double</span> _frameworks_inactive();</div>
-<div class="line"><a name="l02109"></a><span class="lineno"> 
2109</span>&#160;</div>
-<div class="line"><a name="l02110"></a><span class="lineno"> 2110</span>&#160; 
 <span class="keywordtype">double</span> _outstanding_offers()</div>
-<div class="line"><a name="l02111"></a><span class="lineno"> 2111</span>&#160; 
 {</div>
-<div class="line"><a name="l02112"></a><span class="lineno"> 2112</span>&#160; 
   <span class="keywordflow">return</span> <span 
class="keyword">static_cast&lt;</span><span 
class="keywordtype">double</span><span 
class="keyword">&gt;</span>(offers.size());</div>
-<div class="line"><a name="l02113"></a><span class="lineno"> 2113</span>&#160; 
 }</div>
-<div class="line"><a name="l02114"></a><span class="lineno"> 
2114</span>&#160;</div>
-<div class="line"><a name="l02115"></a><span class="lineno"> 2115</span>&#160; 
 <span class="keywordtype">double</span> _event_queue_messages()</div>
-<div class="line"><a name="l02116"></a><span class="lineno"> 2116</span>&#160; 
 {</div>
-<div class="line"><a name="l02117"></a><span class="lineno"> 2117</span>&#160; 
   <span class="keywordflow">return</span> <span 
class="keyword">static_cast&lt;</span><span 
class="keywordtype">double</span><span 
class="keyword">&gt;</span>(eventCount&lt;process::MessageEvent&gt;());</div>
-<div class="line"><a name="l02118"></a><span class="lineno"> 2118</span>&#160; 
 }</div>
-<div class="line"><a name="l02119"></a><span class="lineno"> 
2119</span>&#160;</div>
-<div class="line"><a name="l02120"></a><span class="lineno"> 2120</span>&#160; 
 <span class="keywordtype">double</span> _event_queue_dispatches()</div>
-<div class="line"><a name="l02121"></a><span class="lineno"> 2121</span>&#160; 
 {</div>
-<div class="line"><a name="l02122"></a><span class="lineno"> 2122</span>&#160; 
   <span class="keywordflow">return</span> <span 
class="keyword">static_cast&lt;</span><span 
class="keywordtype">double</span><span 
class="keyword">&gt;</span>(eventCount&lt;process::DispatchEvent&gt;());</div>
-<div class="line"><a name="l02123"></a><span class="lineno"> 2123</span>&#160; 
 }</div>
-<div class="line"><a name="l02124"></a><span class="lineno"> 
2124</span>&#160;</div>
-<div class="line"><a name="l02125"></a><span class="lineno"> 2125</span>&#160; 
 <span class="keywordtype">double</span> _event_queue_http_requests()</div>
-<div class="line"><a name="l02126"></a><span class="lineno"> 2126</span>&#160; 
 {</div>
-<div class="line"><a name="l02127"></a><span class="lineno"> 2127</span>&#160; 
   <span class="keywordflow">return</span> <span 
class="keyword">static_cast&lt;</span><span 
class="keywordtype">double</span><span 
class="keyword">&gt;</span>(eventCount&lt;process::HttpEvent&gt;());</div>
-<div class="line"><a name="l02128"></a><span class="lineno"> 2128</span>&#160; 
 }</div>
-<div class="line"><a name="l02129"></a><span class="lineno"> 
2129</span>&#160;</div>
-<div class="line"><a name="l02130"></a><span class="lineno"> 2130</span>&#160; 
 <span class="keywordtype">double</span> _tasks_staging();</div>
-<div class="line"><a name="l02131"></a><span class="lineno"> 2131</span>&#160; 
 <span class="keywordtype">double</span> _tasks_starting();</div>
-<div class="line"><a name="l02132"></a><span class="lineno"> 2132</span>&#160; 
 <span class="keywordtype">double</span> _tasks_running();</div>
-<div class="line"><a name="l02133"></a><span class="lineno"> 2133</span>&#160; 
 <span class="keywordtype">double</span> _tasks_unreachable();</div>
-<div class="line"><a name="l02134"></a><span class="lineno"> 2134</span>&#160; 
 <span class="keywordtype">double</span> _tasks_killing();</div>
-<div class="line"><a name="l02135"></a><span class="lineno"> 
2135</span>&#160;</div>
-<div class="line"><a name="l02136"></a><span class="lineno"> 2136</span>&#160; 
 <span class="keywordtype">double</span> _resources_total(<span 
class="keyword">const</span> std::string&amp; name);</div>
-<div class="line"><a name="l02137"></a><span class="lineno"> 2137</span>&#160; 
 <span class="keywordtype">double</span> _resources_used(<span 
class="keyword">const</span> std::string&amp; name);</div>
-<div class="line"><a name="l02138"></a><span class="lineno"> 2138</span>&#160; 
 <span class="keywordtype">double</span> _resources_percent(<span 
class="keyword">const</span> std::string&amp; name);</div>
-<div class="line"><a name="l02139"></a><span class="lineno"> 
2139</span>&#160;</div>
-<div class="line"><a name="l02140"></a><span class="lineno"> 2140</span>&#160; 
 <span class="keywordtype">double</span> _resources_revocable_total(<span 
class="keyword">const</span> std::string&amp; name);</div>
-<div class="line"><a name="l02141"></a><span class="lineno"> 2141</span>&#160; 
 <span class="keywordtype">double</span> _resources_revocable_used(<span 
class="keyword">const</span> std::string&amp; name);</div>
-<div class="line"><a name="l02142"></a><span class="lineno"> 2142</span>&#160; 
 <span class="keywordtype">double</span> _resources_revocable_percent(<span 
class="keyword">const</span> std::string&amp; name);</div>
-<div class="line"><a name="l02143"></a><span class="lineno"> 
2143</span>&#160;</div>
-<div class="line"><a name="l02144"></a><span class="lineno"> 2144</span>&#160; 
 <a class="code" href="classprocess_1_1Time.html">process::Time</a> startTime; 
<span class="comment">// Start time used to calculate uptime.</span></div>
-<div class="line"><a name="l02145"></a><span class="lineno"> 
2145</span>&#160;</div>
-<div class="line"><a name="l02146"></a><span class="lineno"> 2146</span>&#160; 
 <a class="code" href="classOption.html">Option&lt;process::Time&gt;</a> 
electedTime; <span class="comment">// Time when this master is 
elected.</span></div>
-<div class="line"><a name="l02147"></a><span class="lineno"> 
2147</span>&#160;</div>
-<div class="line"><a name="l02148"></a><span class="lineno"> 2148</span>&#160; 
 <span class="comment">// Validates the framework including 
authorization.</span></div>
-<div class="line"><a name="l02149"></a><span class="lineno"> 2149</span>&#160; 
 <span class="comment">// Returns None if the framework is valid.</span></div>
-<div class="line"><a name="l02150"></a><span class="lineno"> 2150</span>&#160; 
 <span class="comment">// Returns Error if the framework is 
invalid.</span></div>
-<div class="line"><a name="l02151"></a><span class="lineno"> 2151</span>&#160; 
 <span class="comment">// Returns Failure if authorization returns 
&#39;Failure&#39;.</span></div>
-<div class="line"><a name="l02152"></a><span class="lineno"> 2152</span>&#160; 
 <a class="code" 
href="classprocess_1_1Future.html">process::Future&lt;Option&lt;Error&gt;</a>&gt;
 validate(</div>
-<div class="line"><a name="l02153"></a><span class="lineno"> 2153</span>&#160; 
     <span class="keyword">const</span> FrameworkInfo&amp; frameworkInfo,</div>
-<div class="line"><a name="l02154"></a><span class="lineno"> 2154</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="l02155"></a><span class="lineno"> 
2155</span>&#160;};</div>
-<div class="line"><a name="l02156"></a><span class="lineno"> 
2156</span>&#160;</div>
-<div class="line"><a name="l02157"></a><span class="lineno"> 
2157</span>&#160;</div>
-<div class="line"><a name="l02158"></a><span class="lineno"> 
2158</span>&#160;<span class="keyword">inline</span> std::ostream&amp; <a 
class="code" 
href="namespacemesos_1_1internal_1_1master.html#a222c724f5e238d743bb338c71016048d">operator&lt;&lt;</a>(</div>
-<div class="line"><a name="l02159"></a><span class="lineno"> 2159</span>&#160; 
   std::ostream&amp; stream,</div>
-<div class="line"><a name="l02160"></a><span class="lineno"> 2160</span>&#160; 
   <span class="keyword">const</span> Framework&amp; framework);</div>
-<div class="line"><a name="l02161"></a><span class="lineno"> 
2161</span>&#160;</div>
-<div class="line"><a name="l02162"></a><span class="lineno"> 
2162</span>&#160;</div>
-<div class="line"><a name="l02163"></a><span class="lineno"> 
2163</span>&#160;<span class="comment">// TODO(bmahler): Keeping the task and 
executor information in sync</span></div>
-<div class="line"><a name="l02164"></a><span class="lineno"> 
2164</span>&#160;<span class="comment">// across the Slave and Framework 
structs is error prone!</span></div>
-<div class="line"><a name="l02165"></a><span class="lineno"><a class="line" 
href="structmesos_1_1internal_1_1master_1_1Framework.html"> 
2165</a></span>&#160;<span class="keyword">struct </span><a class="code" 
href="structmesos_1_1internal_1_1master_1_1Framework.html">Framework</a></div>
-<div class="line"><a name="l02166"></a><span class="lineno"> 
2166</span>&#160;{</div>
-<div class="line"><a name="l02167"></a><span class="lineno"><a class="line" 
href="structmesos_1_1internal_1_1master_1_1Framework.html#a96a90d8ae734d729489ba877367e6b65">
 2167</a></span>&#160;  <span class="keyword">enum</span> <a class="code" 
href="structmesos_1_1internal_1_1master_1_1Framework.html#a96a90d8ae734d729489ba877367e6b65">State</a></div>
-<div class="line"><a name="l02168"></a><span class="lineno"> 2168</span>&#160; 
 {</div>
-<div class="line"><a name="l02169"></a><span class="lineno"> 2169</span>&#160; 
   <span class="comment">// Framework has never connected to this master. This 
implies the</span></div>
-<div class="line"><a name="l02170"></a><span class="lineno"> 2170</span>&#160; 
   <span class="comment">// master failed over and the framework has not yet 
re-registered,</span></div>
-<div class="line"><a name="l02171"></a><span class="lineno"> 2171</span>&#160; 
   <span class="comment">// but some framework state has been recovered from 
re-registering</span></div>
-<div class="line"><a name="l02172"></a><span class="lineno"> 2172</span>&#160; 
   <span class="comment">// agents that are running tasks for the 
framework.</span></div>
-<div class="line"><a name="l02173"></a><span class="lineno"><a class="line" 
href="structmesos_1_1internal_1_1master_1_1Framework.html#a96a90d8ae734d729489ba877367e6b65a2781c7e12fec2c505d95224df19bbea4">
 2173</a></span>&#160;    <a class="code" 
href="structmesos_1_1internal_1_1master_1_1Framework.html#a96a90d8ae734d729489ba877367e6b65a2781c7e12fec2c505d95224df19bbea4">RECOVERED</a>,</div>
-<div class="line"><a name="l02174"></a><span class="lineno"> 
2174</span>&#160;</div>
-<div class="line"><a name="l02175"></a><span class="lineno"> 2175</span>&#160; 
   <span class="comment">// Framework was previously connected to this master. 
A framework</span></div>
-<div class="line"><a name="l02176"></a><span class="lineno"> 2176</span>&#160; 
   <span class="comment">// becomes disconnected when there is a socket 
error.</span></div>
-<div class="line"><a name="l02177"></a><span class="lineno"><a class="line" 
href="structmesos_1_1internal_1_1master_1_1Framework.html#a96a90d8ae734d729489ba877367e6b65a52b99ab13cfb61a1ed4f78cc57f974f6">
 2177</a></span>&#160;    <a class="code" 
href="structmesos_1_1internal_1_1master_1_1Framework.html#a96a90d8ae734d729489ba877367e6b65a52b99ab13cfb61a1ed4f78cc57f974f6">DISCONNECTED</a>,</div>
-<div class="line"><a name="l02178"></a><span class="lineno"> 
2178</span>&#160;</div>
-<div class="line"><a name="l02179"></a><span class="lineno"> 2179</span>&#160; 
   <span class="comment">// The framework is connected but not 
active.</span></div>
-<div class="line"><a name="l02180"></a><span class="lineno"><a class="line" 
href="structmesos_1_1internal_1_1master_1_1Framework.html#a96a90d8ae734d729489ba877367e6b65a9564d46b6ef0e132e3856ac29e22b065">
 2180</a></span>&#160;    <a class="code" 
href="structmesos_1_1internal_1_1master_1_1Framework.html#a96a90d8ae734d729489ba877367e6b65a9564d46b6ef0e132e3856ac29e22b065">INACTIVE</a>,</div>
+<div class="line"><a name="l02078"></a><span class="lineno"> 2078</span>&#160; 
 <span class="comment">// Principals of authenticated frameworks/slaves keyed 
by PID.</span></div>
+<div class="line"><a name="l02079"></a><span class="lineno"> 2079</span>&#160; 
 <a class="code" href="classhashmap.html">hashmap&lt;process::UPID, 
std::string&gt;</a> authenticated;</div>
+<div class="line"><a name="l02080"></a><span class="lineno"> 
2080</span>&#160;</div>
+<div class="line"><a name="l02081"></a><span class="lineno"> 2081</span>&#160; 
 int64_t nextFrameworkId; <span class="comment">// Used to give each framework 
a unique ID.</span></div>
+<div class="line"><a name="l02082"></a><span class="lineno"> 2082</span>&#160; 
 int64_t nextOfferId;     <span class="comment">// Used to give each slot offer 
a unique ID.</span></div>
+<div class="line"><a name="l02083"></a><span class="lineno"> 2083</span>&#160; 
 int64_t nextSlaveId;     <span class="comment">// Used to give each slave a 
unique ID.</span></div>
+<div class="line"><a name="l02084"></a><span class="lineno"> 
2084</span>&#160;</div>
+<div class="line"><a name="l02085"></a><span class="lineno"> 2085</span>&#160; 
 <span class="comment">// NOTE: It is safe to use a &#39;shared_ptr&#39; 
because &#39;Metrics&#39; is</span></div>
+<div class="line"><a name="l02086"></a><span class="lineno"> 2086</span>&#160; 
 <span class="comment">// thread safe.</span></div>
+<div class="line"><a name="l02087"></a><span class="lineno"> 2087</span>&#160; 
 <span class="comment">// TODO(dhamon): This does not need to be a shared_ptr. 
Metrics contains</span></div>
+<div class="line"><a name="l02088"></a><span class="lineno"> 2088</span>&#160; 
 <span class="comment">// copyable metric types only.</span></div>
+<div class="line"><a name="l02089"></a><span class="lineno"> 2089</span>&#160; 
 std::shared_ptr&lt;Metrics&gt; metrics;</div>
+<div class="line"><a name="l02090"></a><span class="lineno"> 
2090</span>&#160;</div>
+<div class="line"><a name="l02091"></a><span class="lineno"> 2091</span>&#160; 
 <span class="comment">// Gauge handlers.</span></div>
+<div class="line"><a name="l02092"></a><span class="lineno"> 2092</span>&#160; 
 <span class="keywordtype">double</span> _uptime_secs()</div>
+<div class="line"><a name="l02093"></a><span class="lineno"> 2093</span>&#160; 
 {</div>
+<div class="line"><a name="l02094"></a><span class="lineno"> 2094</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="l02095"></a><span class="lineno"> 2095</span>&#160; 
 }</div>
+<div class="line"><a name="l02096"></a><span class="lineno"> 
2096</span>&#160;</div>
+<div class="line"><a name="l02097"></a><span class="lineno"> 2097</span>&#160; 
 <span class="keywordtype">double</span> _elected()</div>
+<div class="line"><a name="l02098"></a><span class="lineno"> 2098</span>&#160; 
 {</div>
+<div class="line"><a name="l02099"></a><span class="lineno"> 2099</span>&#160; 
   <span class="keywordflow">return</span> elected() ? 1 : 0;</div>
+<div class="line"><a name="l02100"></a><span class="lineno"> 2100</span>&#160; 
 }</div>
+<div class="line"><a name="l02101"></a><span class="lineno"> 
2101</span>&#160;</div>
+<div class="line"><a name="l02102"></a><span class="lineno"> 2102</span>&#160; 
 <span class="keywordtype">double</span> _slaves_connected();</div>
+<div class="line"><a name="l02103"></a><span class="lineno"> 2103</span>&#160; 
 <span class="keywordtype">double</span> _slaves_disconnected();</div>
+<div class="line"><a name="l02104"></a><span class="lineno"> 2104</span>&#160; 
 <span class="keywordtype">double</span> _slaves_active();</div>
+<div class="line"><a name="l02105"></a><span class="lineno"> 2105</span>&#160; 
 <span class="keywordtype">double</span> _slaves_inactive();</div>
+<div class="line"><a name="l02106"></a><span class="lineno"> 2106</span>&#160; 
 <span class="keywordtype">double</span> _slaves_unreachable();</div>
+<div class="line"><a name="l02107"></a><span class="lineno"> 
2107</span>&#160;</div>
+<div class="line"><a name="l02108"></a><span class="lineno"> 2108</span>&#160; 
 <span class="keywordtype">double</span> _frameworks_connected();</div>
+<div class="line"><a name="l02109"></a><span class="lineno"> 2109</span>&#160; 
 <span class="keywordtype">double</span> _frameworks_disconnected();</div>
+<div class="line"><a name="l02110"></a><span class="lineno"> 2110</span>&#160; 
 <span class="keywordtype">double</span> _frameworks_active();</div>
+<div class="line"><a name="l02111"></a><span class="lineno"> 2111</span>&#160; 
 <span class="keywordtype">double</span> _frameworks_inactive();</div>
+<div class="line"><a name="l02112"></a><span class="lineno"> 
2112</span>&#160;</div>
+<div class="line"><a name="l02113"></a><span class="lineno"> 2113</span>&#160; 
 <span class="keywordtype">double</span> _outstanding_offers()</div>
+<div class="line"><a name="l02114"></a><span class="lineno"> 2114</span>&#160; 
 {</div>
+<div class="line"><a name="l02115"></a><span class="lineno"> 2115</span>&#160; 
   <span class="keywordflow">return</span> <span 
class="keyword">static_cast&lt;</span><span 
class="keywordtype">double</span><span 
class="keyword">&gt;</span>(offers.size());</div>
+<div class="line"><a name="l02116"></a><span class="lineno"> 2116</span>&#160; 
 }</div>
+<div class="line"><a name="l02117"></a><span class="lineno"> 
2117</span>&#160;</div>
+<div class="line"><a name="l02118"></a><span class="lineno"> 2118</span>&#160; 
 <span class="keywordtype">double</span> _event_queue_messages()</div>
+<div class="line"><a name="l02119"></a><span class="lineno"> 2119</span>&#160; 
 {</div>
+<div class="line"><a name="l02120"></a><span class="lineno"> 2120</span>&#160; 
   <span class="keywordflow">return</span> <span 
class="keyword">static_cast&lt;</span><span 
class="keywordtype">double</span><span 
class="keyword">&gt;</span>(eventCount&lt;process::MessageEvent&gt;());</div>
+<div class="line"><a name="l02121"></a><span class="lineno"> 2121</span>&#160; 
 }</div>
+<div class="line"><a name="l02122"></a><span class="lineno"> 
2122</span>&#160;</div>
+<div class="line"><a name="l02123"></a><span class="lineno"> 2123</span>&#160; 
 <span class="keywordtype">double</span> _event_queue_dispatches()</div>
+<div class="line"><a name="l02124"></a><span class="lineno"> 2124</span>&#160; 
 {</div>
+<div class="line"><a name="l02125"></a><span class="lineno"> 2125</span>&#160; 
   <span class="keywordflow">return</span> <span 
class="keyword">static_cast&lt;</span><span 
class="keywordtype">double</span><span 
class="keyword">&gt;</span>(eventCount&lt;process::DispatchEvent&gt;());</div>
+<div class="line"><a name="l02126"></a><span class="lineno"> 2126</span>&#160; 
 }</div>
+<div class="line"><a name="l02127"></a><span class="lineno"> 
2127</span>&#160;</div>
+<div class="line"><a name="l02128"></a><span class="lineno"> 2128</span>&#160; 
 <span class="keywordtype">double</span> _event_queue_http_requests()</div>
+<div class="line"><a name="l02129"></a><span class="lineno"> 2129</span>&#160; 
 {</div>
+<div class="line"><a name="l02130"></a><span class="lineno"> 2130</span>&#160; 
   <span class="keywordflow">return</span> <span 
class="keyword">static_cast&lt;</span><span 
class="keywordtype">double</span><span 
class="keyword">&gt;</span>(eventCount&lt;process::HttpEvent&gt;());</div>
+<div class="line"><a name="l02131"></a><span class="lineno"> 2131</span>&#160; 
 }</div>
+<div class="line"><a name="l02132"></a><span class="lineno"> 
2132</span>&#160;</div>
+<div class="line"><a name="l02133"></a><span class="lineno"> 2133</span>&#160; 
 <span class="keywordtype">double</span> _tasks_staging();</div>
+<div class="line"><a name="l02134"></a><span class="lineno"> 2134</span>&#160; 
 <span class="keywordtype">double</span> _tasks_starting();</div>
+<div class="line"><a name="l02135"></a><span class="lineno"> 2135</span>&#160; 
 <span class="keywordtype">double</span> _tasks_running();</div>
+<div class="line"><a name="l02136"></a><span class="lineno"> 2136</span>&#160; 
 <span class="keywordtype">double</span> _tasks_unreachable();</div>
+<div class="line"><a name="l02137"></a><span class="lineno"> 2137</span>&#160; 
 <span class="keywordtype">double</span> _tasks_killing();</div>
+<div class="line"><a name="l02138"></a><span class="lineno"> 
2138</span>&#160;</div>
+<div class="line"><a name="l02139"></a><span class="lineno"> 2139</span>&#160; 
 <span class="keywordtype">double</span> _resources_total(<span 
class="keyword">const</span> std::string&amp; name);</div>
+<div class="line"><a name="l02140"></a><span class="lineno"> 2140</span>&#160; 
 <span class="keywordtype">double</span> _resources_used(<span 
class="keyword">const</span> std::string&amp; name);</div>
+<div class="line"><a name="l02141"></a><span class="lineno"> 2141</span>&#160; 
 <span class="keywordtype">double</span> _resources_percent(<span 
class="keyword">const</span> std::string&amp; name);</div>
+<div class="line"><a name="l02142"></a><span class="lineno"> 
2142</span>&#160;</div>
+<div class="line"><a name="l02143"></a><span class="lineno"> 2143</span>&#160; 
 <span class="keywordtype">double</span> _resources_revocable_total(<span 
class="keyword">const</span> std::string&amp; name);</div>
+<div class="line"><a name="l02144"></a><span class="lineno"> 2144</span>&#160; 
 <span class="keywordtype">double</span> _resources_revocable_used(<span 
class="keyword">const</span> std::string&amp; name);</div>
+<div class="line"><a name="l02145"></a><span class="lineno"> 2145</span>&#160; 
 <span class="keywordtype">double</span> _resources_revocable_percent(<span 
class="keyword">const</span> std::string&amp; name);</div>
+<div class="line"><a name="l02146"></a><span class="lineno"> 
2146</span>&#160;</div>
+<div class="line"><a name="l02147"></a><span class="lineno"> 2147</span>&#160; 
 <a class="code" href="classprocess_1_1Time.html">process::Time</a> startTime; 
<span class="comment">// Start time used to calculate uptime.</span></div>
+<div class="line"><a name="l02148"></a><span class="lineno"> 
2148</span>&#160;</div>
+<div class="line"><a name="l02149"></a><span class="lineno"> 2149</span>&#160; 
 <a class="code" href="classOption.html">Option&lt;process::Time&gt;</a> 
electedTime; <span class="comment">// Time when this master is 
elected.</span></div>
+<div class="line"><a name="l02150"></a><span class="lineno"> 
2150</span>&#160;</div>
+<div class="line"><a name="l02151"></a><span class="lineno"> 2151</span>&#160; 
 <span class="comment">// Validates the framework including 
authorization.</span></div>
+<div class="line"><a name="l02152"></a><span class="lineno"> 2152</span>&#160; 
 <span class="comment">// Returns None if the framework is valid.</span></div>
+<div class="line"><a name="l02153"></a><span class="lineno"> 2153</span>&#160; 
 <span class="comment">// Returns Error if the framework is 
invalid.</span></div>
+<div class="line"><a name="l02154"></a><span class="lineno"> 2154</span>&#160; 
 <span class="comment">// Returns Failure if authorization returns 
&#39;Failure&#39;.</span></div>
+<div class="line"><a name="l02155"></a><span class="lineno"> 2155</span>&#160; 
 <a class="code" 
href="classprocess_1_1Future.html">process::Future&lt;Option&lt;Error&gt;</a>&gt;
 validate(</div>
+<div class="line"><a name="l02156"></a><span class="lineno"> 2156</span>&#160; 
     <span class="keyword">const</span> FrameworkInfo&amp; frameworkInfo,</div>
+<div class="line"><a name="l02157"></a><span class="lineno"> 2157</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="l02158"></a><span class="lineno"> 
2158</span>&#160;};</div>
+<div class="line"><a name="l02159"></a><span class="lineno"> 
2159</span>&#160;</div>
+<div class="line"><a name="l02160"></a><span class="lineno"> 
2160</span>&#160;</div>
+<div class="line"><a name="l02161"></a><span class="lineno"> 
2161</span>&#160;<span class="keyword">inline</span> std::ostream&amp; <a 
class="code" 
href="namespacemesos_1_1internal_1_1master.html#a222c724f5e238d743bb338c71016048d">operator&lt;&lt;</a>(</div>
+<div class="line"><a name="l02162"></a><span class="lineno"> 2162</span>&#160; 
   std::ostream&amp; stream,</div>
+<div class="line"><a name="l02163"></a><span class="lineno"> 2163</span>&#160; 
   <span class="keyword">const</span> Framework&amp; framework);</div>
+<div class="line"><a name="l02164"></a><span class="lineno"> 
2164</span>&#160;</div>
+<div class="line"><a name="l02165"></a><span class="lineno"> 
2165</span>&#160;</div>
+<div class="line"><a name="l02166"></a><span class="lineno"> 
2166</span>&#160;<span class="comment">// TODO(bmahler): Keeping the task and 
executor information in sync</span></div>
+<div class="line"><a name="l02167"></a><span class="lineno"> 
2167</span>&#160;<span class="comment">// across the Slave and Framework 
structs is error prone!</span></div>
+<div class="line"><a name="l02168"></a><span class="lineno"><a class="line" 
href="structmesos_1_1internal_1_1master_1_1Framework.html"> 
2168</a></span>&#160;<span class="keyword">struct </span><a class="code" 
href="structmesos_1_1internal_1_1master_1_1Framework.html">Framework</a></div>
+<div class="line"><a name="l02169"></a><span class="lineno"> 
2169</span>&#160;{</div>
+<div class="line"><a name="l02170"></a><span class="lineno"><a class="line" 
href="structmesos_1_1internal_1_1master_1_1Framework.html#a96a90d8ae734d729489ba877367e6b65">
 2170</a></span>&#160;  <span class="keyword">enum</span> <a class="code" 
href="structmesos_1_1internal_1_1master_1_1Framework.html#a96a90d8ae734d729489ba877367e6b65">State</a></div>
+<div class="line"><a name="l02171"></a><span class="lineno"> 2171</span>&#160; 
 {</div>
+<div class="line"><a name="l02172"></a><span class="lineno"> 2172</span>&#160; 
   <span class="comment">// Framework has never connected to this master. This 
implies the</span></div>
+<div class="line"><a name="l02173"></a><span class="lineno"> 2173</span>&#160; 
   <span class="comment">// master failed over and the framework has not yet 
re-registered,</span></div>
+<div class="line"><a name="l02174"></a><span class="lineno"> 2174</span>&#160; 
   <span class="comment">// but some framework state has been recovered from 
re-registering</span></div>
+<div class="line"><a name="l02175"></a><span class="lineno"> 2175</span>&#160; 
   <span class="comment">// agents that are running tasks for the 
framework.</span></div>
+<div class="line"><a name="l02176"></a><span class="lineno"><a class="line" 
href="structmesos_1_1internal_1_1master_1_1Framework.html#a96a90d8ae734d729489ba877367e6b65a2781c7e12fec2c505d95224df19bbea4">
 2176</a></span>&#160;    <a class="code" 
href="structmesos_1_1internal_1_1master_1_1Framework.html#a96a90d8ae734d729489ba877367e6b65a2781c7e12fec2c505d95224df19bbea4">RECOVERED</a>,</div>
+<div class="line"><a name="l02177"></a><span class="lineno"> 
2177</span>&#160;</div>
+<div class="line"><a name="l02178"></a><span class="lineno"> 2178</span>&#160; 
   <span class="comment">// Framework was previously connected to this master. 
A framework</span></div>
+<div class="line"><a name="l02179"></a><span class="lineno"> 2179</span>&#160; 
   <span class="comment">// becomes disconnected when there is a socket 
error.</span></div>
+<div class="line"><a name="l02180"></a><span class="lineno"><a class="line" 
href="structmesos_1_1internal_1_1master_1_1Framework.html#a96a90d8ae734d729489ba877367e6b65a52b99ab13cfb61a1ed4f78cc57f974f6">
 2180</a></span>&#160;    <a class="code" 
href="structmesos_1_1internal_1_1master_1_1Framework.html#a96a90d8ae734d729489ba877367e6b65a52b99ab13cfb61a1ed4f78cc57f974f6">DISCONNECTED</a>,</div>
 <div class="line"><a name="l02181"></a><span class="lineno"> 
2181</span>&#160;</div>
-<div class="line"><a name="l02182"></a><span class="lineno"> 2182</span>&#160; 
   <span class="comment">// Framework is connected and eligible to receive 
offers. No</span></div>
-<div class="line"><a name="l02183"></a><span class="lineno"> 2183</span>&#160; 
   <span class="comment">// offers will be made to frameworks that are not 
active.</span></div>
-<div class="line"><a name="l02184"></a><span class="lineno"><a class="line" 
href="structmesos_1_1internal_1_1master_1_1Framework.html#a96a90d8ae734d729489ba877367e6b65a6228d0b8755323f0a5d2cf44863226d5">
 2184</a></span>&#160;    <a class="code" 
href="structmesos_1_1internal_1_1master_1_1Framework.html#a96a90d8ae734d729489ba877367e6b65a6228d0b8755323f0a5d2cf44863226d5">ACTIVE</a></div>
-<div class="line"><a name="l02185"></a><span class="lineno"> 2185</span>&#160; 
 };</div>
-<div class="line"><a name="l02186"></a><span class="lineno"> 
2186</span>&#160;</div>
-<div class="line"><a name="l02187"></a><span class="lineno"><a class="line" 
href="structmesos_1_1internal_1_1master_1_1Framework.html#a5ca92e3fadf6870a101d9bb811d4c3a5">
 2187</a></span>&#160;  <a class="code" 
href="structmesos_1_1internal_1_1master_1_1Framework.html#a5ca92e3fadf6870a101d9bb811d4c3a5">Framework</a>(<a
 class="code" 
href="classmesos_1_1internal_1_1master_1_1Master.html">Master</a>* <span 
class="keyword">const</span> <a class="code" 
href="structmesos_1_1internal_1_1master_1_1Framework.html#a3b912abb827bb20ef35d46b2388ae1f0">master</a>,</div>
-<div class="line"><a name="l02188"></a><span class="lineno"> 2188</span>&#160; 
           <span class="keyword">const</span> <a class="code" 
href="classmesos_1_1internal_1_1master_1_1Flags.html">Flags</a>&amp; 
masterFlags,</div>
-<div class="line"><a name="l02189"></a><span class="lineno"> 2189</span>&#160; 
           <span class="keyword">const</span> FrameworkInfo&amp; <a 
class="code" 
href="structmesos_1_1internal_1_1master_1_1Framework.html#aaa84eaf9694ad355fdb76ff15818b295">info</a>,</div>
-<div class="line"><a name="l02190"></a><span class="lineno"> 2190</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="l02191"></a><span class="lineno"> 2191</span>&#160; 
           <span class="keyword">const</span> <a class="code" 
href="classprocess_1_1Time.html">process::Time</a>&amp; <a class="code" 
href="namespacecgroups_1_1blkio_1_1cfq.html#abe4d7d69fdf7ca70fb30c6cd34a953e4">time</a>
 = <a class="code" 
href="classprocess_1_1Clock.html#a24ed3f746bb6b3ddb1c52dce5e0ecd38">process::Clock::now</a>())</div>
-<div class="line"><a name="l02192"></a><span class="lineno"> 2192</span>&#160; 
   : <a class="code" 
href="structmesos_1_1internal_1_1master_1_1Framework.html">Framework</a>(master,
 masterFlags, info, <a class="code" 
href="structmesos_1_1internal_1_1master_1_1Framework.html#a96a90d8ae734d729489ba877367e6b65a6228d0b8755323f0a5d2cf44863226d5">ACTIVE</a>,
 <a class="code" 
href="namespacecgroups_1_1blkio_1_1cfq.html#abe4d7d69fdf7ca70fb30c6cd34a953e4">time</a>)</div>
-<div class="line"><a name="l02193"></a><span class="lineno"> 2193</span>&#160; 
 {</div>
-<div class="line"><a name="l02194"></a><span class="lineno"> 2194</span>&#160; 
   pid = _pid;</div>
-<div class="line"><a name="l02195"></a><span class="lineno"> 2195</span>&#160; 
 }</div>
-<div class="line"><a name="l02196"></a><span class="lineno"> 
2196</span>&#160;</div>
-<div class="line"><a name="l02197"></a><span class="lineno"><a class="line" 
href="structmesos_1_1internal_1_1master_1_1Framework.html#a71e5518db2bb5dea0ea30c62c8875233">
 2197</a></span>&#160;  <a class="code" 
href="structmesos_1_1internal_1_1master_1_1Framework.html#a71e5518db2bb5dea0ea30c62c8875233">Framework</a>(<a
 class="code" 
href="classmesos_1_1internal_1_1master_1_1Master.html">Master</a>* <span 
class="keyword">const</span> master,</div>
-<div class="line"><a name="l02198"></a><span class="lineno"> 2198</span>&#160; 
           <span class="keyword">const</span> <a class="code" 
href="classmesos_1_1internal_1_1master_1_1Flags.html">Flags</a>&amp; 
masterFlags,</div>
-<div class="line"><a name="l02199"></a><span class="lineno"> 2199</span>&#160; 
           <span class="keyword">const</span> FrameworkInfo&amp; info,</div>
-<div class="line"><a name="l02200"></a><span class="lineno"> 2200</span>&#160; 
           <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="l02201"></a><span class="lineno"> 2201</span>&#160; 
           <span class="keyword">const</span> <a class="code" 
href="classprocess_1_1Time.html">process::Time</a>&amp; <a class="code" 
href="namespacecgroups_1_1blkio_1_1cfq.html#abe4d7d69fdf7ca70fb30c6cd34a953e4">time</a>
 = <a class="code" 
href="classprocess_1_1Clock.html#a24ed3f746bb6b3ddb1c52dce5e0ecd38">process::Clock::now</a>())</div>
-<div class="line"><a name="l02202"></a><span class="lineno"> 2202</span>&#160; 
   : <a class="code" 
href="structmesos_1_1internal_1_1master_1_1Framework.html">Framework</a>(master,
 masterFlags, info, <a class="code" 
href="structmesos_1_1internal_1_1master_1_1Framework.html#a96a90d8ae734d729489ba877367e6b65a6228d0b8755323f0a5d2cf44863226d5">ACTIVE</a>,
 <a class="code" 
href="namespacecgroups_1_1blkio_1_1cfq.html#abe4d7d69fdf7ca70fb30c6cd34a953e4">time</a>)</div>
-<div class="line"><a name="l02203"></a><span class="lineno"> 2203</span>&#160; 
 {</div>
-<div class="line"><a name="l02204"></a><span class="lineno"> 2204</span>&#160; 
   <a class="code" 
href="structmesos_1_1internal_1_1master_1_1Framework.html#a574beb521d564fcbbbce942e694d106c">http</a>
 = _http;</div>
-<div class="line"><a name="l02205"></a><span class="lineno"> 2205</span>&#160; 
 }</div>
-<div class="line"><a name="l02206"></a><span class="lineno"> 
2206</span>&#160;</div>
-<div class="line"><a name="l02207"></a><span class="lineno"><a class="line" 
href="structmesos_1_1internal_1_1master_1_1Framework.html#ac3630efd25c454ceac2b96fb299f3db3">
 2207</a></span>&#160;  <a class="code" 
href="structmesos_1_1internal_1_1master_1_1Framework.html#ac3630efd25c454ceac2b96fb299f3db3">Framework</a>(<a
 class="code" 
href="classmesos_1_1internal_1_1master_1_1Master.html">Master</a>* <span 
class="keyword">const</span> master,</div>
-<div class="line"><a name="l02208"></a><span class="lineno"> 2208</span>&#160; 
           <span class="keyword">const</span> <a class="code" 
href="classmesos_1_1internal_1_1master_1_1Flags.html">Flags</a>&amp; 
masterFlags,</div>
-<div class="line"><a name="l02209"></a><span class="lineno"> 2209</span>&#160; 
           <span class="keyword">const</span> FrameworkInfo&amp; info)</div>
-<div class="line"><a name="l02210"></a><span class="lineno"> 2210</span>&#160; 
   : <a class="code" 
href="structmesos_1_1internal_1_1master_1_1Framework.html">Framework</a>(master,
 masterFlags, info, <a class="code" 
href="structmesos_1_1internal_1_1master_1_1Framework.html#a96a90d8ae734d729489ba877367e6b65a2781c7e12fec2c505d95224df19bbea4">RECOVERED</a>,
 <a class="code" 
href="namespaceos.html#ae19e4161a51b86a1f330f3bf1dc75389">process</a>::Time()) 
{}</div>
-<div class="line"><a name="l02211"></a><span class="lineno"> 
2211</span>&#160;</div>
-<div class="line"><a name="l02212"></a><span class="lineno"><a class="line" 
href="structmesos_1_1internal_1_1master_1_1Framework.html#a6831b8eaa6b3f35f823663c5e71bf591">
 2212</a></span>&#160;  <a class="code" 
href="structmesos_1_1internal_1_1master_1_1Framework.html#a6831b8eaa6b3f35f823663c5e71bf591">~Framework</a>()</div>
-<div class="line"><a name="l02213"></a><span class="lineno"> 2213</span>&#160; 
 {</div>
-<div class="line"><a name="l02214"></a><span class="lineno"> 2214</span>&#160; 
   <span class="keywordflow">if</span> (<a class="code" 
href="structmesos_1_1internal_1_1master_1_1Framework.html#a574beb521d564fcbbbce942e694d106c">http</a>.isSome())
 {</div>
-<div class="line"><a name="l02215"></a><span class="lineno"> 2215</span>&#160; 
     <a class="code" 
href="structmesos_1_1internal_1_1master_1_1Framework.html#a54362f290514769903a61d7cd0d6506b">closeHttpConnection</a>();</div>
-<div class="line"><a name="l02216"></a><span class="lineno"> 2216</span>&#160; 
   }</div>
-<div class="line"><a name="l02217"></a><span class="lineno"> 2217</span>&#160; 
 }</div>
-<div class="line"><a name="l02218"></a><span class="lineno"> 
2218</span>&#160;</div>
-<div class="line"><a name="l02219"></a><span class="lineno"><a class="line" 
href="structmesos_1_1internal_1_1master_1_1Framework.html#a19891551770e3337ea6b9a16eae3d582">
 2219</a></span>&#160;  Task* <a class="code" 
href="structmesos_1_1internal_1_1master_1_1Framework.html#a19891551770e3337ea6b9a16eae3d582">getTask</a>(<span
 class="keyword">const</span> TaskID&amp; taskId)</div>
-<div class="line"><a name="l02220"></a><span class="lineno"> 2220</span>&#160; 
 {</div>
-<div class="line"><a name="l02221"></a><span class="lineno"> 2221</span>&#160; 
   <span class="keywordflow">if</span> (tasks.count(taskId) &gt; 0) {</div>
-<div class="line"><a name="l02222"></a><span class="lineno"> 2222</span>&#160; 
     <span class="keywordflow">return</span> tasks[taskId];</div>
-<div class="line"><a name="l02223"></a><span class="lineno"> 2223</span>&#160; 
   }</div>
-<div class="line"><a name="l02224"></a><span class="lineno"> 
2224</span>&#160;</div>
-<div class="line"><a name="l02225"></a><span class="lineno"> 2225</span>&#160; 
   <span class="keywordflow">return</span> <span 
class="keyword">nullptr</span>;</div>
-<div class="line"><a name="l02226"></a><span class="lineno"> 2226</span>&#160; 
 }</div>
+<div class="line"><a name="l02182"></a><span class="lineno"> 2182</span>&#160; 
   <span class="comment">// The framework is connected but not 
active.</span></div>
+<div class="line"><a name="l02183"></a><span class="lineno"><a class="line" 
href="structmesos_1_1internal_1_1master_1_1Framework.html#a96a90d8ae734d729489ba877367e6b65a9564d46b6ef0e132e3856ac29e22b065">
 2183</a></span>&#160;    <a class="code" 
href="structmesos_1_1internal_1_1master_1_1Framework.html#a96a90d8ae734d729489ba877367e6b65a9564d46b6ef0e132e3856ac29e22b065">INACTIVE</a>,</div>
+<div class="line"><a name="l02184"></a><span class="lineno"> 
2184</span>&#160;</div>
+<div class="line"><a name="l02185"></a><span class="lineno"> 2185</span>&#160; 
   <span class="comment">// Framework is connected and eligible to receive 
offers. No</span></div>
+<div class="line"><a name="l02186"></a><span class="lineno"> 2186</span>&#160; 
   <span class="comment">// offers will be made to frameworks that are not 
active.</span></div>
+<div class="line"><a name="l02187"></a><span class="lineno"><a class="line" 
href="structmesos_1_1internal_1_1master_1_1Framework.html#a96a90d8ae734d729489ba877367e6b65a6228d0b8755323f0a5d2cf44863226d5">
 2187</a></span>&#160;    <a class="code" 
href="structmesos_1_1internal_1_1master_1_1Framework.html#a96a90d8ae734d729489ba877367e6b65a6228d0b8755323f0a5d2cf44863226d5">ACTIVE</a></div>
+<div class="line"><a name="l02188"></a><span class="lineno"> 2188</span>&#160; 
 };</div>
+<div class="line"><a name="l02189"></a><span class="lineno"> 
2189</span>&#160;</div>
+<div class="line"><a name="l02190"></a><span class="lineno"><a class="line" 
href="structmesos_1_1internal_1_1master_1_1Framework.html#a5ca92e3fadf6870a101d9bb811d4c3a5">
 2190</a></span>&#160;  <a class="code" 
href="structmesos_1_1internal_1_1master_1_1Framework.html#a5ca92e3fadf6870a101d9bb811d4c3a5">Framework</a>(<a
 class="code" 
href="classmesos_1_1internal_1_1master_1_1Master.html">Master</a>* <span 
class="keyword">const</span> <a class="code" 
href="structmesos_1_1internal_1_1master_1_1Framework.html#a3b912abb827bb20ef35d46b2388ae1f0">master</a>,</div>
+<div class="line"><a name="l02191"></a><span class="lineno"> 2191</span>&#160; 
           <span class="keyword">const</span> <a class="code" 
href="classmesos_1_1internal_1_1master_1_1Flags.html">Flags</a>&amp; 
masterFlags,</div>
+<div class="line"><a name="l02192"></a><span class="lineno"> 2192</span>&#160; 
           <span class="keyword">const</span> FrameworkInfo&amp; <a 
class="code" 
href="structmesos_1_1internal_1_1master_1_1Framework.html#aaa84eaf9694ad355fdb76ff15818b295">info</a>,</div>
+<div class="line"><a name="l02193"></a><span class="lineno"> 2193</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="l02194"></a><span class="lineno"> 2194</span>&#160; 
           <span class="keyword">const</span> <a class="code" 
href="classprocess_1_1Time.html">process::Time</a>&amp; <a class="code" 
href="namespacecgroups_1_1blkio_1_1cfq.html#abe4d7d69fdf7ca70fb30c6cd34a953e4">time</a>
 = <a class="code" 
href="classprocess_1_1Clock.html#a24ed3f746bb6b3ddb1c52dce5e0ecd38">process::Clock::now</a>())</div>
+<div class="line"><a name="l02195"></a><span class="lineno"> 2195</span>&#160; 
   : <a class="code" 
href="structmesos_1_1internal_1_1master_1_1Framework.html">Framework</a>(master,
 masterFlags, info, <a class="code" 
href="structmesos_1_1internal_1_1master_1_1Framework.html#a96a90d8ae734d729489ba877367e6b65a6228d0b8755323f0a5d2cf44863226d5">ACTIVE</a>,
 <a class="code" 
href="namespacecgroups_1_1blkio_1_1cfq.html#abe4d7d69fdf7ca70fb30c6cd34a953e4">time</a>)</div>
+<div class="line"><a name="l02196"></a><span class="lineno"> 2196</span>&#160; 
 {</div>
+<div class="line"><a name="l02197"></a><span class="lineno"> 2197</span>&#160; 
   pid = _pid;</div>
+<div class="line"><a name="l02198"></a><span class="lineno"> 2198</span>&#160; 
 }</div>
+<div class="line"><a name="l02199"></a><span class="lineno"> 
2199</span>&#160;</div>
+<div class="line"><a name="l02200"></a><span class="lineno"><a class="line" 
href="structmesos_1_1internal_1_1master_1_1Framework.html#a71e5518db2bb5dea0ea30c62c8875233">
 2200</a></span>&#160;  <a class="code" 
href="structmesos_1_1internal_1_1master_1_1Framework.html#a71e5518db2bb5dea0ea30c62c8875233">Framework</a>(<a
 class="code" 
href="classmesos_1_1internal_1_1master_1_1Master.html">Master</a>* <span 
class="keyword">const</span> master,</div>
+<div class="line"><a name="l02201"></a><span class="lineno"> 2201</span>&#160; 
           <span class="keyword">const</span> <a class="code" 
href="classmesos_1_1internal_1_1master_1_1Flags.html">Flags</a>&amp; 
masterFlags,</div>
+<div class="line"><a name="l02202"></a><span class="lineno"> 2202</span>&#160; 
           <span class="keyword">const</span> FrameworkInfo&amp; info,</div>
+<div class="line"><a name="l02203"></a><span class="lineno"> 2203</span>&#160; 
           <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="l02204"></a><span class="lineno"> 2204</span>&#160; 
           <span class="keyword">const</span> <a class="code" 
href="classprocess_1_1Time.html">process::Time</a>&amp; <a class="code" 
href="namespacecgroups_1_1blkio_1_1cfq.html#abe4d7d69fdf7ca70fb30c6cd34a953e4">time</a>
 = <a class="code" 
href="classprocess_1_1Clock.html#a24ed3f746bb6b3ddb1c52dce5e0ecd38">process::Clock::now</a>())</div>
+<div class="line"><a name="l02205"></a><span class="lineno"> 2205</span>&#160; 
   : <a class="code" 
href="structmesos_1_1internal_1_1master_1_1Framework.html">Framework</a>(master,
 masterFlags, info, <a class="code" 
href="structmesos_1_1internal_1_1master_1_1Framework.html#a96a90d8ae734d729489ba877367e6b65a6228d0b8755323f0a5d2cf44863226d5">ACTIVE</a>,
 <a class="code" 
href="namespacecgroups_1_1blkio_1_1cfq.html#abe4d7d69fdf7ca70fb30c6cd34a953e4">time</a>)</div>
+<div class="line"><a name="l02206"></a><span class="lineno"> 2206</span>&#160; 
 {</div>
+<div class="line"><a name="l02207"></a><span class="lineno"> 2207</span>&#160; 
   <a class="code" 
href="structmesos_1_1internal_1_1master_1_1Framework.html#a574beb521d564fcbbbce942e694d106c">http</a>
 = _http;</div>
+<div class="line"><a name="l02208"></a><span class="lineno"> 2208</span>&#160; 
 }</div>
+<div class="line"><a name="l02209"></a><span class="lineno"> 
2209</span>&#160;</div>
+<div class="line"><a name="l02210"></a><span class="lineno"><a class="line" 
href="structmesos_1_1internal_1_1master_1_1Framework.html#ac3630efd25c454ceac2b96fb299f3db3">
 2210</a></span>&#160;  <a class="code" 
href="structmesos_1_1internal_1_1master_1_1Framework.html#ac3630efd25c454ceac2b96fb299f3db3">Framework</a>(<a
 class="code" 
href="classmesos_1_1internal_1_1master_1_1Master.html">Master</a>* <span 
class="keyword">const</span> master,</div>
+<div class="line"><a name="l02211"></a><span class="lineno"> 2211</span>&#160; 
           <span class="keyword">const</span> <a class="code" 
href="classmesos_1_1internal_1_1master_1_1Flags.html">Flags</a>&amp; 
masterFlags,</div>
+<div class="line"><a name="l02212"></a><span class="lineno"> 2212</span>&#160; 
           <span class="keyword">const</span> FrameworkInfo&amp; info)</div>
+<div class="line"><a name="l02213"></a><span class="lineno"> 2213</span>&#160; 
   : <a class="code" 
href="structmesos_1_1internal_1_1master_1_1Framework.html">Framework</a>(master,
 masterFlags, info, <a class="code" 
href="structmesos_1_1internal_1_1master_1_1Framework.html#a96a90d8ae734d729489ba877367e6b65a2781c7e12fec2c505d95224df19bbea4">RECOVERED</a>,
 <a class="code" 
href="namespaceos.html#ae19e4161a51b86a1f330f3bf1dc75389">process</a>::Time()) 
{}</div>
+<div class="line"><a name="l02214"></a><span class="lineno"> 
2214</span>&#160;</div>
+<div class="line"><a name="l02215"></a><span class="lineno"><a class="line" 
href="structmesos_1_1internal_1_1master_1_1Framework.html#a6831b8eaa6b3f35f823663c5e71bf591">
 2215</a></span>&#160;  <a class="code" 
href="structmesos_1_1internal_1_1master_1_1Framework.html#a6831b8eaa6b3f35f823663c5e71bf591">~Framework</a>()</div>
+<div class="line"><a name="l02216"></a><span class="lineno"> 2216</span>&#160; 
 {</div>
+<div class="line"><a name="l02217"></a><span class="lineno"> 2217</span>&#160; 
   <span class="keywordflow">if</span> (<a class="code" 
href="structmesos_1_1internal_1_1master_1_1Framework.html#a574beb521d564fcbbbce942e694d106c">http</a>.isSome())
 {</div>
+<div class="line"><a name="l02218"></a><span class="lineno"> 2218</span>&#160; 
     <a class="code" 
href="structmesos_1_1internal_1_1master_1_1Framework.html#a54362f290514769903a61d7cd0d6506b">closeHttpConnection</a>();</div>
+<div class="line"><a name="l02219"></a><span class="lineno"> 2219</span>&#160; 
   }</div>
+<div class="line"><a name="l02220"></a><span class="lineno"> 2220</span>&#160; 
 }</div>
+<div class="line"><a name="l02221"></a><span class="lineno"> 
2221</span>&#160;</div>
+<div class="line"><a name="l02222"></a><span class="lineno"><a class="line" 
href="structmesos_1_1internal_1_1master_1_1Framework.html#a19891551770e3337ea6b9a16eae3d582">
 2222</a></span>&#160;  Task* <a class="code" 
href="structmesos_1_1internal_1_1master_1_1Framework.html#a19891551770e3337ea6b9a16eae3d582">getTask</a>(<span
 class="keyword">const</span> TaskID&amp; taskId)</div>
+<div class="line"><a name="l02223"></a><span class="lineno"> 2223</span>&#160; 
 {</div>
+<div class="line"><a name="l02224"></a><span class="lineno"> 2224</span>&#160; 
   <span class="keywordflow">if</span> (tasks.count(taskId) &gt; 0) {</div>
+<div class="line"><a name="l02225"></a><span class="lineno"> 2225</span>&#160; 
     <span class="keywordflow">return</span> tasks[taskId];</div>
+<div class="line"><a name="l02226"></a><span class="lineno"> 2226</span>&#160; 
   }</div>
 <div class="line"><a name="l02227"></a><span class="lineno"> 
2227</span>&#160;</div>
-<div class="line"><a name="l02228"></a><span class="lineno"><a class="line" 
href="structmesos_1_1internal_1_1master_1_1Framework.html#a4d9a5a8184f84befc507e33d0fd8750a">
 2228</a></span>&#160;  <span class="keywordtype">void</span> <a class="code" 
href="structmesos_1_1internal_1_1master_1_1Framework.html#a4d9a5a8184f84befc507e33d0fd8750a">addTask</a>(Task*
 task)</div>
-<div class="line"><a name="l02229"></a><span class="lineno"> 2229</span>&#160; 
 {</div>
-<div class="line"><a name="l02230"></a><span class="lineno"> 2230</span>&#160; 
   CHECK(!tasks.contains(task-&gt;task_id()))</div>
-<div class="line"><a name="l02231"></a><span class="lineno"> 2231</span>&#160; 
     &lt;&lt; <span class="stringliteral">&quot;Duplicate task &quot;</span> 
&lt;&lt; task-&gt;task_id()</div>
-<div class="line"><a name="l02232"></a><span class="lineno"> 2232</span>&#160; 
     &lt;&lt; <span class="stringliteral">&quot; of framework &quot;</span> 
&lt;&lt; task-&gt;framework_id();</div>
-<div class="line"><a name="l02233"></a><span class="lineno"> 
2233</span>&#160;</div>
-<div class="line"><a name="l02234"></a><span class="lineno"> 2234</span>&#160; 
   <span class="comment">// Verify that Resource.AllocationInfo is 
set,</span></div>
-<div class="line"><a name="l02235"></a><span class="lineno"> 2235</span>&#160; 
   <span class="comment">// this should be guaranteed by the 
master.</span></div>
-<div class="line"><a name="l02236"></a><span class="lineno"> 2236</span>&#160; 
   <span class="keywordflow">foreach</span> (<span class="keyword">const</span> 
Resource&amp; resource, task-&gt;resources()) {</div>
-<div class="line"><a name="l02237"></a><span class="lineno"> 2237</span>&#160; 
     CHECK(resource.has_allocation_info());</div>
-<div class="line"><a name="l02238"></a><span class="lineno"> 2238</span>&#160; 
   }</div>
-<div class="line"><a name="l02239"></a><span class="lineno"> 
2239</span>&#160;</div>
-<div class="line"><a name="l02240"></a><span class="lineno"> 2240</span>&#160; 
   tasks[task-&gt;task_id()] = task;</div>
-<div class="line"><a name="l02241"></a><span class="lineno"> 
2241</span>&#160;</div>
-<div class="line"><a name="l02242"></a><span class="lineno"> 2242</span>&#160; 
   <span class="comment">// Unreachable tasks should be added via 
`addUnreachableTask`.</span></div>
-<div class="line"><a name="l02243"></a><span class="lineno"> 2243</span>&#160; 
   CHECK(task-&gt;state() != TASK_UNREACHABLE)</div>
-<div class="line"><a name="l02244"></a><span class="lineno"> 2244</span>&#160; 
     &lt;&lt; <span class="stringliteral">&quot;Task &#39;&quot;</span> 
&lt;&lt; task-&gt;task_id() &lt;&lt; <span class="stringliteral">&quot;&#39; of 
framework &quot;</span> &lt;&lt; <a class="code" 
href="structmesos_1_1internal_1_1master_1_1Framework.html#ac971d54c3567de6411c6aa7e998c5417">id</a>()</div>
-<div class="line"><a name="l02245"></a><span class="lineno"> 2245</span>&#160; 
     &lt;&lt; <span class="stringliteral">&quot; added in TASK_UNREACHABLE 
state&quot;</span>;</div>
-<div class="line"><a name="l02246"></a><span class="lineno"> 
2246</span>&#160;</div>
-<div class="line"><a name="l02247"></a><span class="lineno"> 2247</span>&#160; 
   <span class="comment">// Since we track terminal but unacknowledged tasks 
within</span></div>
-<div class="line"><a name="l02248"></a><span class="lineno"> 2248</span>&#160; 
   <span class="comment">// `tasks` rather than `completedTasks`, we need to 
handle</span></div>
-<div class="line"><a name="l02249"></a><span class="lineno"> 2249</span>&#160; 
   <span class="comment">// them here: don&#39;t count them as consuming 
resources.</span></div>
-<div class="line"><a name="l02250"></a><span class="lineno"> 2250</span>&#160; 
   <span class="comment">//</span></div>
-<div class="line"><a name="l02251"></a><span class="lineno"> 2251</span>&#160; 
   <span class="comment">// TODO(bmahler): Users currently get confused 
because</span></div>
-<div class="line"><a name="l02252"></a><span class="lineno"> 2252</span>&#160; 
   <span class="comment">// terminal tasks can show up as &quot;active&quot; 
tasks in the UI and</span></div>
-<div class="line"><a name="l02253"></a><span class="lineno"> 2253</span>&#160; 
   <span class="comment">// endpoints. Ideally, we show the terminal 
unacknowledged</span></div>
-<div class="line"><a name="l02254"></a><span class="lineno"> 2254</span>&#160; 
   <span class="comment">// tasks as &quot;completed&quot; as well.</span></div>
-<div class="line"><a name="l02255"></a><span class="lineno"> 2255</span>&#160; 
   <span class="keywordflow">if</span> (!<a class="code" 
href="namespacemesos_1_1internal_1_1protobuf.html#aa31907fb62769822a77c06ffbf10451f">protobuf::isTerminalState</a>(task-&gt;state()))
 {</div>
-<div class="line"><a name="l02256"></a><span class="lineno"> 2256</span>&#160; 
     <span class="comment">// Note that we explicitly convert from protobuf to 
`Resources` once</span></div>
-<div class="line"><a name="l02257"></a><span class="lineno"> 2257</span>&#160; 
     <span class="comment">// and then use the result for calculations to avoid 
performance penalty</span></div>
-<div class="line"><a name="l02258"></a><span class="lineno"> 2258</span>&#160; 
     <span class="comment">// for multiple conversions and validations implied 
by `+=` with protobuf</span></div>
-<div class="line"><a name="l02259"></a><span class="lineno"> 2259</span>&#160; 
     <span class="comment">// arguments.</span></div>
-<div class="line"><a name="l02260"></a><span class="lineno"> 2260</span>&#160; 
     <span class="comment">// Conversion is safe, as resources have already 
passed validation.</span></div>
-<div class="line"><a name="l02261"></a><span class="lineno"> 2261</span>&#160; 
     <span class="keyword">const</span> <a class="code" 
href="classmesos_1_1Resources.html">Resources</a> resources = 
task-&gt;resources();</div>
-<div class="line"><a name="l02262"></a><span class="lineno"> 2262</span>&#160; 
     <a class="code" 
href="structmesos_1_1internal_1_1master_1_1Framework.html#a35847f2388d25e0cb9b3a9d0a722fbdd">totalUsedResources</a>
 += resources;</div>
-<div class="line"><a name="l02263"></a><span class="lineno"> 2263</span>&#160; 
     <a class="code" 
href="structmesos_1_1internal_1_1master_1_1Framework.html#a9085d3f2c156a7772cbd243776a62491">usedResources</a>[task-&gt;slave_id()]
 += resources;</div>
-<div class="line"><a name="l02264"></a><span class="lineno"> 
2264</span>&#160;</div>
-<div class="line"><a name="l02265"></a><span class="lineno"> 2265</span>&#160; 
     <span class="comment">// It&#39;s possible that we&#39;re not tracking the 
task&#39;s role for</span></div>
-<div class="line"><a name="l02266"></a><span class="lineno"> 2266</span>&#160; 
     <span class="comment">// this framework if the role is absent from the 
framework&#39;s</span></div>
-<div class="line"><a name="l02267"></a><span class="lineno"> 2267</span>&#160; 
     <span class="comment">// set of roles. In this case, we track the 
role&#39;s allocation</span></div>
-<div class="line"><a name="l02268"></a><span class="lineno"> 2268</span>&#160; 
     <span class="comment">// for this framework.</span></div>
-<div class="line"><a name="l02269"></a><span class="lineno"> 2269</span>&#160; 
     CHECK(!task-&gt;resources().empty());</div>
-<div class="line"><a name="l02270"></a><span class="lineno"> 2270</span>&#160; 
     <span class="keyword">const</span> std::string&amp; role =</div>
-<div class="line"><a name="l02271"></a><span class="lineno"> 2271</span>&#160; 
       task-&gt;resources().begin()-&gt;allocation_info().role();</div>
-<div class="line"><a name="l02272"></a><span class="lineno"> 
2272</span>&#160;</div>
-<div class="line"><a name="l02273"></a><span class="lineno"> 2273</span>&#160; 
     <span class="keywordflow">if</span> (!<a class="code" 
href="structmesos_1_1internal_1_1master_1_1Framework.html#a614fb3ba127133b939e2a733c6ecbf2a">isTrackedUnderRole</a>(role))
 {</div>
-<div class="line"><a name="l02274"></a><span class="lineno"> 2274</span>&#160; 
       <a class="code" 
href="structmesos_1_1internal_1_1master_1_1Framework.html#afa185682905163563412aa1915e612c8">trackUnderRole</a>(role);</div>
-<div class="line"><a name="l02275"></a><span class="lineno"> 2275</span>&#160; 
     }</div>
-<div class="line"><a name="l02276"></a><span class="lineno"> 2276</span>&#160; 
   }</div>
-<div class="line"><a name="l02277"></a><span class="lineno"> 2277</span>&#160; 
 }</div>
-<div class="line"><a name="l02278"></a><span class="lineno"> 
2278</span>&#160;</div>
-<div class="line"><a name="l02279"></a><span class="lineno"> 2279</span>&#160; 
 <span class="comment">// Update framework to recover the resources that were 
previously</span></div>
-<div class="line"><a name="l02280"></a><span class="lineno"> 2280</span>&#160; 
 <span class="comment">// being used by `task`.</span></div>
-<div class="line"><a name="l02281"></a><span class="lineno"> 2281</span>&#160; 
 <span class="comment">//</span></div>
-<div class="line"><a name="l02282"></a><span class="lineno"> 2282</span>&#160; 
 <span class="comment">// TODO(bmahler): This is a hack for performance. We 
need to</span></div>
-<div class="line"><a name="l02283"></a><span class="lineno"> 2283</span>&#160; 
 <span class="comment">// maintain resource counters because computing task 
resources</span></div>
-<div class="line"><a name="l02284"></a><span class="lineno"> 2284</span>&#160; 
 <span class="comment">// functionally for all tasks is expensive, for 
now.</span></div>
-<div class="line"><a name="l02285"></a><span class="lineno"><a class="line" 
href="structmesos_1_1internal_1_1master_1_1Framework.html#af14287bdb6466ca003b6e5e6a37ae02a">
 2285</a></span>&#160;  <span class="keywordtype">void</span> <a class="code" 
href="structmesos_1_1internal_1_1master_1_1Framework.html#af14287bdb6466ca003b6e5e6a37ae02a">recoverResources</a>(Task*
 task)</div>
-<div class="line"><a name="l02286"></a><span class="lineno"> 2286</span>&#160; 
 {</div>
-<div class="line"><a name="l02287"></a><span class="lineno"> 2287</span>&#160; 
   CHECK(tasks.contains(task-&gt;task_id()))</div>
-<div class="line"><a name="l02288"></a><span class="lineno"> 2288</span>&#160; 
     &lt;&lt; <span class="stringliteral">&quot;Unknown task &quot;</span> 
&lt;&lt; task-&gt;task_id()</div>
-<div class="line"><a name="l02289"></a><span class="lineno"> 2289</span>&#160; 
     &lt;&lt; <span class="stringliteral">&quot; of framework &quot;</span> 
&lt;&lt; task-&gt;framework_id();</div>
-<div class="line"><a name="l02290"></a><span class="lineno"> 
2290</span>&#160;</div>
-<div class="line"><a name="l02291"></a><span class="lineno"> 2291</span>&#160; 
   <a class="code" 
href="structmesos_1_1internal_1_1master_1_1Framework.html#a35847f2388d25e0cb9b3a9d0a722fbdd">totalUsedResources</a>
 -= task-&gt;resources();</div>
-<div class="line"><a name="l02292"></a><span class="lineno"> 2292</span>&#160; 
   <a class="code" 
href="structmesos_1_1internal_1_1master_1_1Framework.html#a9085d3f2c156a7772cbd243776a62491">usedResources</a>[task-&gt;slave_id()]
 -= task-&gt;resources();</div>
-<div class="line"><a name="l02293"></a><span class="lineno"> 2293</span>&#160; 
   <span class="keywordflow">if</span> (<a class="code" 
href="structmesos_1_1internal_1_1master_1_1Framework.html#a9085d3f2c156a7772cbd243776a62491">usedResources</a>[task-&gt;slave_id()].empty())
 {</div>
-<div class="line"><a name="l02294"></a><span class="lineno"> 2294</span>&#160; 
     <a class="code" 
href="structmesos_1_1internal_1_1master_1_1Framework.html#a9085d3f2c156a7772cbd243776a62491">usedResources</a>.erase(task-&gt;slave_id());</div>
-<div class="line"><a name="l02295"></a><span class="lineno"> 2295</span>&#160; 
   }</div>
-<div class="line"><a name="l02296"></a><span class="lineno"> 
2296</span>&#160;</div>
-<div class="line"><a name="l02297"></a><span class="lineno"> 2297</span>&#160; 
   <span class="comment">// If we are no longer subscribed to the role to which 
these resources are</span></div>
-<div class="line"><a name="l02298"></a><span class="lineno"> 2298</span>&#160; 
   <span class="comment">// being returned to, and we have no more resources 
allocated to us for that</span></div>
-<div class="line"><a name="l02299"></a><span class="lineno"> 2299</span>&#160; 
   <span class="comment">// role, stop tracking the framework under the 
role.</span></div>
-<div class="line"><a name="l02300"></a><span class="lineno"> 2300</span>&#160; 
   CHECK(!task-&gt;resources().empty());</div>
-<div class="line"><a name="l02301"></a><span class="lineno"> 2301</span>&#160; 
   <span class="keyword">const</span> std::string&amp; role =</div>
-<div class="line"><a name="l02302"></a><span class="lineno"> 2302</span>&#160; 
     task-&gt;resources().begin()-&gt;allocation_info().role();</div>
-<div class="line"><a name="l02303"></a><span class="lineno"> 
2303</span>&#160;</div>
-<div class="line"><a name="l02304"></a><span class="lineno"> 2304</span>&#160; 
   <span class="keyword">auto</span> allocatedToRole = [&amp;role](<span 
class="keyword">const</span> Resource&amp; resource) {</div>
-<div class="line"><a name="l02305"></a><span class="lineno"> 2305</span>&#160; 
     <span class="keywordflow">return</span> resource.allocation_info().role() 
== role;</div>
-<div class="line"><a name="l02306"></a><span class="lineno"> 2306</span>&#160; 
   };</div>
-<div class="line"><a name="l02307"></a><span class="lineno"> 
2307</span>&#160;</div>
-<div class="line"><a name="l02308"></a><span class="lineno"> 2308</span>&#160; 
   <span class="keywordflow">if</span> (<a class="code" 
href="structmesos_1_1internal_1_1master_1_1Framework.html#a2d8cbc0dbd23317d8194398a3810a5b5">roles</a>.count(role)
 == 0 &amp;&amp;</div>
-<div class="line"><a name="l02309"></a><span class="lineno"> 2309</span>&#160; 
       <a class="code" 
href="structmesos_1_1internal_1_1master_1_1Framework.html#a35847f2388d25e0cb9b3a9d0a722fbdd">totalUsedResources</a>.<a
 class="code" 
href="classmesos_1_1Resources.html#a62ae547c0d24fdfb139549e9b8126fdf">filter</a>(allocatedToRole).<a
 class="code" 
href="classmesos_1_1Resources.html#ab46b900ebe62b19390d9a2a82b46eb15">empty</a>())
 {</div>
-<div class="line"><a name="l02310"></a><span class="lineno"> 2310</span>&#160; 
     CHECK(<a class="code" 
href="structmesos_1_1internal_1_1master_1_1Framework.html#a965f66810b71a0d2bab683fee1b6a9b6">totalOfferedResources</a>.<a
 class="code" 
href="classmesos_1_1Resources.html#a62ae547c0d24fdfb139549e9b8126fdf">filter</a>(allocatedToRole).<a
 class="code" 
href="classmesos_1_1Resources.html#ab46b900ebe62b19390d9a2a82b46eb15">empty</a>());</div>
-<div class="line"><a name="l02311"></a><span class="lineno"> 2311</span>&#160; 
     <a class="code" 
href="structmesos_1_1internal_1_1master_1_1Framework.html#a3edaf411ec6e409a3f8b2a77988ef65a">untrackUnderRole</a>(role);</div>
-<div class="line"><a name="l02312"></a><span class="lineno"> 2312</span>&#160; 
   }</div>
-<div class="line"><a name="l02313"></a><span class="lineno"> 2313</span>&#160; 
 }</div>
-<div class="line"><a name="l02314"></a><span class="lineno"> 
2314</span>&#160;</div>
-<div class="line"><a name="l02315"></a><span class="lineno"> 2315</span>&#160; 
 <span class="comment">// Sends a message to the connected 
framework.</span></div>
-<div class="line"><a name="l02316"></a><span class="lineno"> 2316</span>&#160; 
 <span class="keyword">template</span> &lt;<span 
class="keyword">typename</span> Message&gt;</div>
-<div class="line"><a name="l02317"></a><span class="lineno"><a class="line" 
href="structmesos_1_1internal_1_1master_1_1Framework.html#a71665f49a1e06ef4606f7eaae4c43669">
 2317</a></span>&#160;  <span class="keywordtype">void</span> <a class="code" 
href="structmesos_1_1internal_1_1master_1_1Framework.html#a71665f49a1e06ef4606f7eaae4c43669">send</a>(<span
 class="keyword">const</span> Message&amp; message)</div>
-<div class="line"><a name="l02318"></a><span class="lineno"> 2318</span>&#160; 
 {</div>
-<div class="line"><a name="l02319"></a><span class="lineno"> 2319</span>&#160; 
   <span class="keywordflow">if</span> (!<a class="code" 
href="structmesos_1_1internal_1_1master_1_1Framework.html#ab741aebff99e28269136e04ab76800fa">connected</a>())
 {</div>
-<div class="line"><a name="l02320"></a><span class="lineno"> 2320</span>&#160; 
     LOG(WARNING) &lt;&lt; <span class="stringliteral">&quot;Master attempted 
to send message to disconnected&quot;</span></div>
-<div class="line"><a name="l02321"></a><span class="lineno"> 2321</span>&#160; 
                  &lt;&lt; <span class="stringliteral">&quot; framework 
&quot;</span> &lt;&lt; *<span class="keyword">this</span>;</div>
-<div class="line"><a name="l02322"></a><span class="lineno"> 2322</span>&#160; 
   }</div>
+<div class="line"><a name="l02228"></a><span class="lineno"> 2228</span>&#160; 
   <span class="keywordflow">return</span> <span 
class="keyword">nullptr</span>;</div>
+<div class="line"><a name="l02229"></a><span class="lineno"> 2229</span>&#160; 
 }</div>
+<div class="line"><a name="l02230"></a><span class="lineno"> 
2230</span>&#160;</div>
+<div class="line"><a name="l02231"></a><span class="lineno"><a class="line" 
href="structmesos_1_1internal_1_1master_1_1Framework.html#a4d9a5a8184f84befc507e33d0fd8750a">
 2231</a></span>&#160;  <span class="keywordtype">void</span> <a class="code" 
href="structmesos_1_1internal_1_1master_1_1Framework.html#a4d9a5a8184f84befc507e33d0fd8750a">addTask</a>(Task*
 task)</div>
+<div class="line"><a name="l02232"></a><span class="lineno"> 2232</span>&#160; 
 {</div>
+<div class="line"><a name="l02233"></a><span class="lineno"> 2233</span>&#160; 
   CHECK(!tasks.contains(task-&gt;task_id()))</div>
+<div class="line"><a name="l02234"></a><span class="lineno"> 2234</span>&#160; 
     &lt;&lt; <span class="stringliteral">&quot;Duplicate task &quot;</span> 
&lt;&lt; task-&gt;task_id()</div>
+<div class="line"><a name="l02235"></a><span class="lineno"> 2235</span>&#160; 
     &lt;&lt; <span class="stringliteral">&quot; of framework &quot;</span> 
&lt;&lt; task-&gt;framework_id();</div>
+<div class="line"><a

<TRUNCATED>

Reply via email to