http://git-wip-us.apache.org/repos/asf/mesos-site/blob/cfbae833/content/api/latest/c++/classmesos_1_1allocator_1_1Allocator-members.html ---------------------------------------------------------------------- diff --git a/content/api/latest/c++/classmesos_1_1allocator_1_1Allocator-members.html b/content/api/latest/c++/classmesos_1_1allocator_1_1Allocator-members.html index 6022e97..fc6de8a 100644 --- a/content/api/latest/c++/classmesos_1_1allocator_1_1Allocator-members.html +++ b/content/api/latest/c++/classmesos_1_1allocator_1_1Allocator-members.html @@ -67,7 +67,7 @@ <tr><td class="entry"><a class="el" href="classmesos_1_1allocator_1_1Allocator.html#afe9d8fc901322dde7d91037930c77f72">deactivateFramework</a>(const FrameworkID &frameworkId)=0</td><td class="entry"><a class="el" href="classmesos_1_1allocator_1_1Allocator.html">mesos::allocator::Allocator</a></td><td class="entry"><span class="mlabel">pure virtual</span></td></tr> <tr class="even"><td class="entry"><a class="el" href="classmesos_1_1allocator_1_1Allocator.html#a4dff6ddc4983c5495eb2fc26e2842114">deactivateSlave</a>(const SlaveID &slaveId)=0</td><td class="entry"><a class="el" href="classmesos_1_1allocator_1_1Allocator.html">mesos::allocator::Allocator</a></td><td class="entry"><span class="mlabel">pure virtual</span></td></tr> <tr><td class="entry"><a class="el" href="classmesos_1_1allocator_1_1Allocator.html#af09ffe12fe6dce0bb115d9988ddb61d1">getInverseOfferStatuses</a>()=0</td><td class="entry"><a class="el" href="classmesos_1_1allocator_1_1Allocator.html">mesos::allocator::Allocator</a></td><td class="entry"><span class="mlabel">pure virtual</span></td></tr> - <tr class="even"><td class="entry"><a class="el" href="classmesos_1_1allocator_1_1Allocator.html#a339c1dd8fc2e84bb0b0939cdec7e2e6a">initialize</a>(const Duration &allocationInterval, const lambda::function< void(const FrameworkID &, const hashmap< std::string, hashmap< SlaveID, Resources >> &)> &offerCallback, const lambda::function< void(const FrameworkID &, const hashmap< SlaveID, UnavailableResources > &)> &inverseOfferCallback, const Option< std::set< std::string >> &fairnessExcludeResourceNames=None(), bool filterGpuResources=true, const Option< DomainInfo > &domain=None(), const Option< std::vector< Resources >> &minAllocatableResources=None())=0</td><td class="entry"><a class="el" href="classmesos_1_1allocator_1_1Allocator.html">mesos::allocator::Allocator</a></td><td class="entry"><span class="mlabel">pure virtual</span></td></tr> + <tr class="even"><td class="entry"><a class="el" href="classmesos_1_1allocator_1_1Allocator.html#a046d44b884a5213c8b96aaa1e1bd1882">initialize</a>(const Duration &allocationInterval, const lambda::function< void(const FrameworkID &, const hashmap< std::string, hashmap< SlaveID, Resources >> &)> &offerCallback, const lambda::function< void(const FrameworkID &, const hashmap< SlaveID, UnavailableResources > &)> &inverseOfferCallback, const Option< std::set< std::string >> &fairnessExcludeResourceNames=None(), bool filterGpuResources=true, const Option< DomainInfo > &domain=None(), const Option< std::vector< Resources >> &minAllocatableResources=None(), const size_t maxCompletedFrameworks=0)=0</td><td class="entry"><a class="el" href="classmesos_1_1allocator_1_1Allocator.html">mesos::allocator::Allocator</a></td><td class="entry"><span class="mlabel">pure virtual</span></td></tr> <tr><td class="entry"><a class="el" href="classmesos_1_1allocator_1_1Allocator.html#abe1f158adb9f7a6d7cc9f8afae44e859">recover</a>(const int expectedAgentCount, const hashmap< std::string, Quota > &quotas)=0</td><td class="entry"><a class="el" href="classmesos_1_1allocator_1_1Allocator.html">mesos::allocator::Allocator</a></td><td class="entry"><span class="mlabel">pure virtual</span></td></tr> <tr class="even"><td class="entry"><a class="el" href="classmesos_1_1allocator_1_1Allocator.html#a9719d532d6e866956062a3d8ad437781">recoverResources</a>(const FrameworkID &frameworkId, const SlaveID &slaveId, const Resources &resources, const Option< Filters > &filters)=0</td><td class="entry"><a class="el" href="classmesos_1_1allocator_1_1Allocator.html">mesos::allocator::Allocator</a></td><td class="entry"><span class="mlabel">pure virtual</span></td></tr> <tr><td class="entry"><a class="el" href="classmesos_1_1allocator_1_1Allocator.html#ac58e3a3025d3887ab1ab9267c9093188">removeFramework</a>(const FrameworkID &frameworkId)=0</td><td class="entry"><a class="el" href="classmesos_1_1allocator_1_1Allocator.html">mesos::allocator::Allocator</a></td><td class="entry"><span class="mlabel">pure virtual</span></td></tr>
http://git-wip-us.apache.org/repos/asf/mesos-site/blob/cfbae833/content/api/latest/c++/classmesos_1_1allocator_1_1Allocator.html ---------------------------------------------------------------------- diff --git a/content/api/latest/c++/classmesos_1_1allocator_1_1Allocator.html b/content/api/latest/c++/classmesos_1_1allocator_1_1Allocator.html index c9e31cd..9d4ae3c 100644 --- a/content/api/latest/c++/classmesos_1_1allocator_1_1Allocator.html +++ b/content/api/latest/c++/classmesos_1_1allocator_1_1Allocator.html @@ -80,9 +80,9 @@ Public Member Functions</h2></td></tr> <tr class="separator:aafc715605c23a31dcb511a6b5c2ac883"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a8b32e61251f0e0cbc9588c04e98347a3"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classmesos_1_1allocator_1_1Allocator.html#a8b32e61251f0e0cbc9588c04e98347a3">~Allocator</a> ()</td></tr> <tr class="separator:a8b32e61251f0e0cbc9588c04e98347a3"><td class="memSeparator" colspan="2"> </td></tr> -<tr class="memitem:a339c1dd8fc2e84bb0b0939cdec7e2e6a"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classmesos_1_1allocator_1_1Allocator.html#a339c1dd8fc2e84bb0b0939cdec7e2e6a">initialize</a> (const <a class="el" href="classDuration.html">Duration</a> &allocationInterval, const lambda::function< void(const FrameworkID &, const <a class="el" href="classhashmap.html">hashmap</a>< std::string, <a class="el" href="classhashmap.html">hashmap</a>< SlaveID, <a class="el" href="classmesos_1_1Resources.html">Resources</a> >> &)> &offerCallback, const lambda::function< void(const FrameworkID &, const <a class="el" href="classhashmap.html">hashmap</a>< SlaveID, <a class="el" href="structmesos_1_1UnavailableResources.html">UnavailableResources</a> > &)> &inverseOfferCallback, const <a class="el" href="classOption.html">Option</a>< std::set< std ::string >> &fairnessExcludeResourceNames=<a class="el" href="structNone.html">None</a>(), bool filterGpuResources=true, const <a class="el" href="classOption.html">Option</a>< DomainInfo > &domain=<a class="el" href="structNone.html">None</a>(), const <a class="el" href="classOption.html">Option</a>< std::vector< <a class="el" href="classmesos_1_1Resources.html">Resources</a> >> &minAllocatableResources=<a class="el" href="structNone.html">None</a>())=0</td></tr> -<tr class="memdesc:a339c1dd8fc2e84bb0b0939cdec7e2e6a"><td class="mdescLeft"> </td><td class="mdescRight">Initializes the allocator when the master starts up. <a href="#a339c1dd8fc2e84bb0b0939cdec7e2e6a">More...</a><br /></td></tr> -<tr class="separator:a339c1dd8fc2e84bb0b0939cdec7e2e6a"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a046d44b884a5213c8b96aaa1e1bd1882"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classmesos_1_1allocator_1_1Allocator.html#a046d44b884a5213c8b96aaa1e1bd1882">initialize</a> (const <a class="el" href="classDuration.html">Duration</a> &allocationInterval, const lambda::function< void(const FrameworkID &, const <a class="el" href="classhashmap.html">hashmap</a>< std::string, <a class="el" href="classhashmap.html">hashmap</a>< SlaveID, <a class="el" href="classmesos_1_1Resources.html">Resources</a> >> &)> &offerCallback, const lambda::function< void(const FrameworkID &, const <a class="el" href="classhashmap.html">hashmap</a>< SlaveID, <a class="el" href="structmesos_1_1UnavailableResources.html">UnavailableResources</a> > &)> &inverseOfferCallback, const <a class="el" href="classOption.html">Option</a>< std::set< std ::string >> &fairnessExcludeResourceNames=<a class="el" href="structNone.html">None</a>(), bool filterGpuResources=true, const <a class="el" href="classOption.html">Option</a>< DomainInfo > &domain=<a class="el" href="structNone.html">None</a>(), const <a class="el" href="classOption.html">Option</a>< std::vector< <a class="el" href="classmesos_1_1Resources.html">Resources</a> >> &minAllocatableResources=<a class="el" href="structNone.html">None</a>(), const size_t maxCompletedFrameworks=0)=0</td></tr> +<tr class="memdesc:a046d44b884a5213c8b96aaa1e1bd1882"><td class="mdescLeft"> </td><td class="mdescRight">Initializes the allocator when the master starts up. <a href="#a046d44b884a5213c8b96aaa1e1bd1882">More...</a><br /></td></tr> +<tr class="separator:a046d44b884a5213c8b96aaa1e1bd1882"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:abe1f158adb9f7a6d7cc9f8afae44e859"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classmesos_1_1allocator_1_1Allocator.html#abe1f158adb9f7a6d7cc9f8afae44e859">recover</a> (const int expectedAgentCount, const <a class="el" href="classhashmap.html">hashmap</a>< std::string, <a class="el" href="structQuota.html">Quota</a> > &quotas)=0</td></tr> <tr class="memdesc:abe1f158adb9f7a6d7cc9f8afae44e859"><td class="mdescLeft"> </td><td class="mdescRight">Informs the allocator of the recovered state from the master. <a href="#abe1f158adb9f7a6d7cc9f8afae44e859">More...</a><br /></td></tr> <tr class="separator:abe1f158adb9f7a6d7cc9f8afae44e859"><td class="memSeparator" colspan="2"> </td></tr> @@ -600,7 +600,7 @@ Static Public Member Functions</h2></td></tr> </div> </div> -<a class="anchor" id="a339c1dd8fc2e84bb0b0939cdec7e2e6a"></a> +<a class="anchor" id="a046d44b884a5213c8b96aaa1e1bd1882"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> @@ -633,7 +633,7 @@ Static Public Member Functions</h2></td></tr> </dd> </dl> -<p>Implemented in <a class="el" href="classmesos_1_1internal_1_1master_1_1allocator_1_1MesosAllocator.html#ae43528bf831f4d7f6dff7e13cc46eb26">mesos::internal::master::allocator::MesosAllocator< AllocatorProcess ></a>.</p> +<p>Implemented in <a class="el" href="classmesos_1_1internal_1_1master_1_1allocator_1_1MesosAllocator.html#a1d40b887831985864325cc9fa36f3df1">mesos::internal::master::allocator::MesosAllocator< AllocatorProcess ></a>.</p> </div> </div> @@ -670,7 +670,7 @@ Static Public Member Functions</h2></td></tr> </div><div class="memdoc"> <p>Informs the allocator of the recovered state from the master. </p> -<p>Because it is hard to define recovery for a running allocator, this method should be called after <code><a class="el" href="classmesos_1_1allocator_1_1Allocator.html#a339c1dd8fc2e84bb0b0939cdec7e2e6a" title="Initializes the allocator when the master starts up. ">initialize()</a></code>, but before actual allocation starts (i.e. <code><a class="el" href="classmesos_1_1allocator_1_1Allocator.html#a12346eed9894458805e180b9d6cb6424" title="Adds or re-adds an agent to the Mesos cluster. ">addSlave()</a></code> is called).</p> +<p>Because it is hard to define recovery for a running allocator, this method should be called after <code><a class="el" href="classmesos_1_1allocator_1_1Allocator.html#a046d44b884a5213c8b96aaa1e1bd1882" title="Initializes the allocator when the master starts up. ">initialize()</a></code>, but before actual allocation starts (i.e. <code><a class="el" href="classmesos_1_1allocator_1_1Allocator.html#a12346eed9894458805e180b9d6cb6424" title="Adds or re-adds an agent to the Mesos cluster. ">addSlave()</a></code> is called).</p> <p>TODO(alexr): Consider extending the signature with expected frameworks count once it is available upon the master failover.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> http://git-wip-us.apache.org/repos/asf/mesos-site/blob/cfbae833/content/api/latest/c++/classmesos_1_1internal_1_1master_1_1Heartbeater-members.html ---------------------------------------------------------------------- diff --git a/content/api/latest/c++/classmesos_1_1internal_1_1master_1_1Heartbeater-members.html b/content/api/latest/c++/classmesos_1_1internal_1_1master_1_1Heartbeater-members.html index 93900d7..40d0d5b 100644 --- a/content/api/latest/c++/classmesos_1_1internal_1_1master_1_1Heartbeater-members.html +++ b/content/api/latest/c++/classmesos_1_1internal_1_1master_1_1Heartbeater-members.html @@ -67,7 +67,7 @@ <tr><td class="entry"><a class="el" href="classprocess_1_1ProcessBase.html#a641dc674baabe6a58e4f4869090bd310">eventCount</a>()</td><td class="entry"><a class="el" href="classprocess_1_1ProcessBase.html">process::ProcessBase</a></td><td class="entry"><span class="mlabel">protected</span></td></tr> <tr class="even"><td class="entry"><a class="el" href="classprocess_1_1ProcessBase.html#a0a0053b515e25f366a29a6897467bebc">exited</a>(const UPID &)</td><td class="entry"><a class="el" href="classprocess_1_1ProcessBase.html">process::ProcessBase</a></td><td class="entry"><span class="mlabel">inline</span><span class="mlabel">protected</span><span class="mlabel">virtual</span></td></tr> <tr><td class="entry"><a class="el" href="classprocess_1_1ProcessBase.html#a07ac3fd4eededbb6015c305e12411b98">finalize</a>()</td><td class="entry"><a class="el" href="classprocess_1_1ProcessBase.html">process::ProcessBase</a></td><td class="entry"><span class="mlabel">inline</span><span class="mlabel">protected</span><span class="mlabel">virtual</span></td></tr> - <tr class="even"><td class="entry"><a class="el" href="classmesos_1_1internal_1_1master_1_1Heartbeater.html#a9c325ca5310bfde29ae8ba93b0d72afb">Heartbeater</a>(const std::string &_logMessage, const Message &_heartbeatMessage, const HttpConnection &_http, const Duration &_interval, const Option< Duration > &_delay=None())</td><td class="entry"><a class="el" href="classmesos_1_1internal_1_1master_1_1Heartbeater.html">mesos::internal::master::Heartbeater< Message, Event ></a></td><td class="entry"><span class="mlabel">inline</span></td></tr> + <tr class="even"><td class="entry"><a class="el" href="classmesos_1_1internal_1_1master_1_1Heartbeater.html#a145163f5c3a623df7b05f7fbbfe9a8fa">Heartbeater</a>(const std::string &_logMessage, const Message &_heartbeatMessage, const HttpConnection &_http, const Duration &_interval, const Option< Duration > &_delay=None(), const Option< lambda::function< void(const Message &)>> &_callback=None())</td><td class="entry"><a class="el" href="classmesos_1_1internal_1_1master_1_1Heartbeater.html">mesos::internal::master::Heartbeater< Message, Event ></a></td><td class="entry"><span class="mlabel">inline</span></td></tr> <tr><td class="entry"><a class="el" href="classprocess_1_1ProcessBase.html#a083d8346a62ad423899f6f9e9ee08806">HttpRequestHandler</a> typedef</td><td class="entry"><a class="el" href="classprocess_1_1ProcessBase.html">process::ProcessBase</a></td><td class="entry"><span class="mlabel">protected</span></td></tr> <tr class="even"><td class="entry"><a class="el" href="classprocess_1_1ProcessBase.html#a55a5326c3f9b66bc56cc13c7bf4c350d">httpSequence</a></td><td class="entry"><a class="el" href="classprocess_1_1ProcessBase.html">process::ProcessBase</a></td><td class="entry"></td></tr> <tr><td class="entry"><a class="el" href="classmesos_1_1internal_1_1master_1_1Heartbeater.html#a52c1593eff75d1e5b0185a818e324ea1">initialize</a>() override</td><td class="entry"><a class="el" href="classmesos_1_1internal_1_1master_1_1Heartbeater.html">mesos::internal::master::Heartbeater< Message, Event ></a></td><td class="entry"><span class="mlabel">inline</span><span class="mlabel">protected</span><span class="mlabel">virtual</span></td></tr> http://git-wip-us.apache.org/repos/asf/mesos-site/blob/cfbae833/content/api/latest/c++/classmesos_1_1internal_1_1master_1_1Heartbeater.html ---------------------------------------------------------------------- diff --git a/content/api/latest/c++/classmesos_1_1internal_1_1master_1_1Heartbeater.html b/content/api/latest/c++/classmesos_1_1internal_1_1master_1_1Heartbeater.html index 02e271b..50ace38 100644 --- a/content/api/latest/c++/classmesos_1_1internal_1_1master_1_1Heartbeater.html +++ b/content/api/latest/c++/classmesos_1_1internal_1_1master_1_1Heartbeater.html @@ -74,8 +74,8 @@ Inheritance diagram for mesos::internal::master::Heartbeater< Message, Event <table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a> Public Member Functions</h2></td></tr> -<tr class="memitem:a9c325ca5310bfde29ae8ba93b0d72afb"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classmesos_1_1internal_1_1master_1_1Heartbeater.html#a9c325ca5310bfde29ae8ba93b0d72afb">Heartbeater</a> (const std::string &_logMessage, const Message &_heartbeatMessage, const <a class="el" href="structmesos_1_1internal_1_1master_1_1HttpConnection.html">HttpConnection</a> &_http, const <a class="el" href="classDuration.html">Duration</a> &_interval, const <a class="el" href="classOption.html">Option</a>< <a class="el" href="classDuration.html">Duration</a> > &_delay=<a class="el" href="structNone.html">None</a>())</td></tr> -<tr class="separator:a9c325ca5310bfde29ae8ba93b0d72afb"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a145163f5c3a623df7b05f7fbbfe9a8fa"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classmesos_1_1internal_1_1master_1_1Heartbeater.html#a145163f5c3a623df7b05f7fbbfe9a8fa">Heartbeater</a> (const std::string &_logMessage, const Message &_heartbeatMessage, const <a class="el" href="structmesos_1_1internal_1_1master_1_1HttpConnection.html">HttpConnection</a> &_http, const <a class="el" href="classDuration.html">Duration</a> &_interval, const <a class="el" href="classOption.html">Option</a>< <a class="el" href="classDuration.html">Duration</a> > &_delay=<a class="el" href="structNone.html">None</a>(), const <a class="el" href="classOption.html">Option</a>< lambda::function< void(const Message &)>> &_callback=<a class="el" href="structNone.html">None</a>())</td></tr> +<tr class="separator:a145163f5c3a623df7b05f7fbbfe9a8fa"><td class="memSeparator" colspan="2"> </td></tr> <tr class="inherit_header pub_methods_classprocess_1_1Process"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classprocess_1_1Process')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="classprocess_1_1Process.html">process::Process< Heartbeater< Message, Event > ></a></td></tr> <tr class="memitem:a30273fa0ea21dc5986de65a05f333353 inherit pub_methods_classprocess_1_1Process"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classprocess_1_1Process.html#a30273fa0ea21dc5986de65a05f333353">~Process</a> () override</td></tr> <tr class="separator:a30273fa0ea21dc5986de65a05f333353 inherit pub_methods_classprocess_1_1Process"><td class="memSeparator" colspan="2"> </td></tr> @@ -186,7 +186,7 @@ Additional Inherited Members</h2></td></tr> <tr class="separator:a0834b08377ce20a01893a033c46898f6 inherit pro_types_classprocess_1_1ProcessBase"><td class="memSeparator" colspan="2"> </td></tr> </table> <h2 class="groupheader">Constructor & Destructor Documentation</h2> -<a class="anchor" id="a9c325ca5310bfde29ae8ba93b0d72afb"></a> +<a class="anchor" id="a145163f5c3a623df7b05f7fbbfe9a8fa"></a> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> @@ -223,7 +223,13 @@ template<typename Message , typename Event > </div> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="classOption.html">Option</a>< <a class="el" href="classDuration.html">Duration</a> > & </td> - <td class="paramname"><em>_delay</em> = <code><a class="el" href="structNone.html">None</a>()</code> </td> + <td class="paramname"><em>_delay</em> = <code><a class="el" href="structNone.html">None</a>()</code>, </td> + </tr> + <tr> + <td class="paramkey"></td> + <td></td> + <td class="paramtype">const <a class="el" href="classOption.html">Option</a>< lambda::function< void(const Message &)>> & </td> + <td class="paramname"><em>_callback</em> = <code><a class="el" href="structNone.html">None</a>()</code> </td> </tr> <tr> <td></td>
