This is an automated email from the ASF dual-hosted git repository.
git-site-role pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/mesos-site.git
The following commit(s) were added to refs/heads/asf-site by this push:
new a66aaf4 Updated the website built from mesos SHA: 2f3899e.
a66aaf4 is described below
commit a66aaf49050a75d573d7cf3f7dee182280037d12
Author: jenkins <[email protected]>
AuthorDate: Sat Jun 15 18:06:56 2019 +0000
Updated the website built from mesos SHA: 2f3899e.
---
...mesos__scheduler__driver__impl_8hpp_source.html | 2 +-
content/api/latest/c++/scheduler_8hpp_source.html | 6 +--
.../latest/c++/src_2tests_2mesos_8hpp_source.html | 2 +-
content/api/latest/java/index-all.html | 6 +++
.../org/apache/mesos/MesosSchedulerDriver.html | 43 +++++++++++++++++++++-
.../java/org/apache/mesos/SchedulerDriver.html | 42 ++++++++++++++++++++-
6 files changed, 93 insertions(+), 8 deletions(-)
diff --git
a/content/api/latest/c++/mesos__scheduler__driver__impl_8hpp_source.html
b/content/api/latest/c++/mesos__scheduler__driver__impl_8hpp_source.html
index 4346276..88a7101 100644
--- a/content/api/latest/c++/mesos__scheduler__driver__impl_8hpp_source.html
+++ b/content/api/latest/c++/mesos__scheduler__driver__impl_8hpp_source.html
@@ -59,7 +59,7 @@
<div class="ttc"
id="namespacemesos_1_1python_html_a6d10a88179d0e5d8d04bb4cdc3d626d0"><div
class="ttname"><a
href="namespacemesos_1_1python.html#a6d10a88179d0e5d8d04bb4cdc3d626d0">mesos::python::MesosSchedulerDriverImpl_killTask</a></div><div
class="ttdeci">PyObject *
MesosSchedulerDriverImpl_killTask(MesosSchedulerDriverImpl *self, PyObject
*args)</div></div>
<div class="ttc"
id="namespacemesos_1_1python_html_a1b1f6f7cb085292c6b792423c715a653"><div
class="ttname"><a
href="namespacemesos_1_1python.html#a1b1f6f7cb085292c6b792423c715a653">mesos::python::MesosSchedulerDriverImpl_requestResources</a></div><div
class="ttdeci">PyObject *
MesosSchedulerDriverImpl_requestResources(MesosSchedulerDriverImpl *self,
PyObject *args)</div></div>
<div class="ttc"
id="namespacemesos_1_1python_html_aa68973b79683416fa31e819a6fd696e1"><div
class="ttname"><a
href="namespacemesos_1_1python.html#aa68973b79683416fa31e819a6fd696e1">mesos::python::MesosSchedulerDriverImpl_new</a></div><div
class="ttdeci">PyObject * MesosSchedulerDriverImpl_new(PyTypeObject *type,
PyObject *args, PyObject *kwds)</div><div class="ttdoc">Create, but
don&#39;t initialize, a new MesosSchedulerDriverImpl (called by Python
before init method)...</div></div>
-<div class="ttc" id="classmesos_1_1MesosSchedulerDriver_html"><div
class="ttname"><a
href="classmesos_1_1MesosSchedulerDriver.html">mesos::MesosSchedulerDriver</a></div><div
class="ttdef"><b>Definition:</b> scheduler.hpp:360</div></div>
+<div class="ttc" id="classmesos_1_1MesosSchedulerDriver_html"><div
class="ttname"><a
href="classmesos_1_1MesosSchedulerDriver.html">mesos::MesosSchedulerDriver</a></div><div
class="ttdef"><b>Definition:</b> scheduler.hpp:366</div></div>
<div class="ttc"
id="namespacemesos_1_1python_html_a2318dd9c238407203e9d121c9e0739e6"><div
class="ttname"><a
href="namespacemesos_1_1python.html#a2318dd9c238407203e9d121c9e0739e6">mesos::python::MesosSchedulerDriverImpl_dealloc</a></div><div
class="ttdeci">void MesosSchedulerDriverImpl_dealloc(MesosSchedulerDriverImpl
*self)</div><div class="ttdoc">Free a MesosSchedulerDriverImpl. </div></div>
<div class="ttc"
id="structmesos_1_1python_1_1MesosSchedulerDriverImpl_html_a672c237f4964b0dfd6582856ab17a411"><div
class="ttname"><a
href="structmesos_1_1python_1_1MesosSchedulerDriverImpl.html#a672c237f4964b0dfd6582856ab17a411">mesos::python::MesosSchedulerDriverImpl::driver</a></div><div
class="ttdeci">PyObject_HEAD MesosSchedulerDriver * driver</div><div
class="ttdef"><b>Definition:</b> mesos_scheduler_driver_impl.hpp:33</div></div>
<div class="ttc"
id="namespacemesos_1_1python_html_a1b554562e4365a978576d7a31d20a191"><div
class="ttname"><a
href="namespacemesos_1_1python.html#a1b554562e4365a978576d7a31d20a191">mesos::python::MesosSchedulerDriverImpl_reconcileTasks</a></div><div
class="ttdeci">PyObject *
MesosSchedulerDriverImpl_reconcileTasks(MesosSchedulerDriverImpl *self,
PyObject *args)</div></div>
diff --git a/content/api/latest/c++/scheduler_8hpp_source.html
b/content/api/latest/c++/scheduler_8hpp_source.html
index 9a8f624..ee24e9b 100644
--- a/content/api/latest/c++/scheduler_8hpp_source.html
+++ b/content/api/latest/c++/scheduler_8hpp_source.html
@@ -52,12 +52,12 @@
<div class="title">scheduler.hpp</div> </div>
</div><!--header-->
<div class="contents">
-<a href="scheduler_8hpp.html">Go to the documentation of this file.</a><div
class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">
1</span> <span class="comment">// Licensed to the Apache Software
Foundation (ASF) under one</span></div><div class="line"><a
name="l00002"></a><span class="lineno"> 2</span> <span
class="comment">// or more contributor license agreements. See the NOTICE
file</span></div><div class="line"><a name="l00003"></a><span clas [...]
+<a href="scheduler_8hpp.html">Go to the documentation of this file.</a><div
class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">
1</span> <span class="comment">// Licensed to the Apache Software
Foundation (ASF) under one</span></div><div class="line"><a
name="l00002"></a><span class="lineno"> 2</span> <span
class="comment">// or more contributor license agreements. See the NOTICE
file</span></div><div class="line"><a name="l00003"></a><span clas [...]
<div class="ttc"
id="classmesos_1_1SchedulerDriver_html_ad132d1aa3a2938d1b327cdc46c5004a9"><div
class="ttname"><a
href="classmesos_1_1SchedulerDriver.html#ad132d1aa3a2938d1b327cdc46c5004a9">mesos::SchedulerDriver::~SchedulerDriver</a></div><div
class="ttdeci">virtual ~SchedulerDriver()</div><div
class="ttdef"><b>Definition:</b> scheduler.hpp:190</div></div>
<div class="ttc"
id="namespaceprocess_html_a6c9cd01950a98038b2a6df3e5066418f"><div
class="ttname"><a
href="namespaceprocess.html#a6c9cd01950a98038b2a6df3e5066418f">process::initialize</a></div><div
class="ttdeci">bool initialize(const Option< std::string >
&delegate=None(), const Option< std::string >
&readwriteAuthenticationRealm=None(), const Option< std::string >
&readonlyAuthenticationRealm=None())</div><div class="ttdoc">Initialize the
library. </div></div>
<div class="ttc" id="include_2mesos_2mesos_8hpp_html"><div class="ttname"><a
href="include_2mesos_2mesos_8hpp.html">mesos.hpp</a></div></div>
<div class="ttc"
id="namespaceproc_html_a34396c6140a28f583dc13fee3c3c35d4"><div
class="ttname"><a
href="namespaceproc.html#a34396c6140a28f583dc13fee3c3c35d4">proc::status</a></div><div
class="ttdeci">Result< ProcessStatus > status(pid_t pid)</div><div
class="ttdef"><b>Definition:</b> proc.hpp:166</div></div>
-<div class="ttc" id="classmesos_1_1MesosSchedulerDriver_html"><div
class="ttname"><a
href="classmesos_1_1MesosSchedulerDriver.html">mesos::MesosSchedulerDriver</a></div><div
class="ttdef"><b>Definition:</b> scheduler.hpp:360</div></div>
+<div class="ttc" id="classmesos_1_1MesosSchedulerDriver_html"><div
class="ttname"><a
href="classmesos_1_1MesosSchedulerDriver.html">mesos::MesosSchedulerDriver</a></div><div
class="ttdef"><b>Definition:</b> scheduler.hpp:366</div></div>
<div class="ttc"
id="namespacepath_html_aa86b16a2171cec90bb3337930513ef0f"><div
class="ttname"><a
href="namespacepath.html#aa86b16a2171cec90bb3337930513ef0f">path::join</a></div><div
class="ttdeci">std::string join(const std::string &path1, const
std::string &path2, const char _separator=os::PATH_SEPARATOR)</div><div
class="ttdef"><b>Definition:</b> path.hpp:113</div></div>
<div class="ttc"
id="classmesos_1_1Scheduler_html_a902673315107e402ddab8563762780fe"><div
class="ttname"><a
href="classmesos_1_1Scheduler.html#a902673315107e402ddab8563762780fe">mesos::Scheduler::~Scheduler</a></div><div
class="ttdeci">virtual ~Scheduler()</div><div class="ttdef"><b>Definition:</b>
scheduler.hpp:73</div></div>
<div class="ttc"
id="namespacesystemd_1_1slices_html_a95aa197d8eed9f20dacb44f433b15f01"><div
class="ttname"><a
href="namespacesystemd_1_1slices.html#a95aa197d8eed9f20dacb44f433b15f01">systemd::slices::start</a></div><div
class="ttdeci">Try< Nothing > start(const std::string
&name)</div><div class="ttdoc">Starts the slice with the given name (via
&#39;systemctl start <name>&#39;). </div></div>
@@ -66,7 +66,7 @@
<div class="ttc" id="namespacemesos_html"><div class="ttname"><a
href="namespacemesos.html">mesos</a></div><div class="ttdef"><b>Definition:</b>
agent.hpp:25</div></div>
<div class="ttc" id="classmesos_1_1Scheduler_html"><div class="ttname"><a
href="classmesos_1_1Scheduler.html">mesos::Scheduler</a></div><div
class="ttdef"><b>Definition:</b> scheduler.hpp:69</div></div>
<div class="ttc"
id="namespaceprocess_html_a72c24f06ac3f91b9412de80c6252df25"><div
class="ttname"><a
href="namespaceprocess.html#a72c24f06ac3f91b9412de80c6252df25">process::run</a></div><div
class="ttdeci">Future< R > run(R(*method)())</div><div
class="ttdef"><b>Definition:</b> run.hpp:55</div></div>
-<div class="ttc"
id="classmesos_1_1MesosSchedulerDriver_html_a2016233e839dbe1bf9df5a4ada2a385f"><div
class="ttname"><a
href="classmesos_1_1MesosSchedulerDriver.html#a2016233e839dbe1bf9df5a4ada2a385f">mesos::MesosSchedulerDriver::detector</a></div><div
class="ttdeci">std::shared_ptr< master::detector::MasterDetector >
detector</div><div class="ttdef"><b>Definition:</b>
scheduler.hpp:472</div></div>
+<div class="ttc"
id="classmesos_1_1MesosSchedulerDriver_html_a2016233e839dbe1bf9df5a4ada2a385f"><div
class="ttname"><a
href="classmesos_1_1MesosSchedulerDriver.html#a2016233e839dbe1bf9df5a4ada2a385f">mesos::MesosSchedulerDriver::detector</a></div><div
class="ttdeci">std::shared_ptr< master::detector::MasterDetector >
detector</div><div class="ttdef"><b>Definition:</b>
scheduler.hpp:478</div></div>
<div class="ttc" id="namespaceos_html_ae19e4161a51b86a1f330f3bf1dc75389"><div
class="ttname"><a
href="namespaceos.html#ae19e4161a51b86a1f330f3bf1dc75389">os::process</a></div><div
class="ttdeci">Result< Process > process(pid_t pid)</div><div
class="ttdef"><b>Definition:</b> freebsd.hpp:30</div></div>
<div class="ttc" id="namespaceinternal_html"><div class="ttname"><a
href="namespaceinternal.html">internal</a></div><div
class="ttdef"><b>Definition:</b> attributes.hpp:24</div></div>
<div class="ttc"
id="namespacemesos_1_1internal_1_1slave_1_1cni_1_1spec_html_ae58e703656ab4a1bd5d9870441236727"><div
class="ttname"><a
href="namespacemesos_1_1internal_1_1slave_1_1cni_1_1spec.html#ae58e703656ab4a1bd5d9870441236727">mesos::internal::slave::cni::spec::error</a></div><div
class="ttdeci">std::string error(const std::string &msg, uint32_t
code)</div></div>
diff --git a/content/api/latest/c++/src_2tests_2mesos_8hpp_source.html
b/content/api/latest/c++/src_2tests_2mesos_8hpp_source.html
index 1d3824e..fab9953 100644
--- a/content/api/latest/c++/src_2tests_2mesos_8hpp_source.html
+++ b/content/api/latest/c++/src_2tests_2mesos_8hpp_source.html
@@ -115,7 +115,7 @@
<div class="ttc"
id="namespacemesos_1_1internal_1_1tests_1_1v1_html_ae1b6ee4dccb597157302b3c7c6ae3b43"><div
class="ttname"><a
href="namespacemesos_1_1internal_1_1tests_1_1v1.html#ae1b6ee4dccb597157302b3c7c6ae3b43">mesos::internal::tests::v1::RESERVE</a></div><div
class="ttdeci">mesos::v1::Offer::Operation RESERVE(Args
&&...args)</div><div class="ttdef"><b>Definition:</b>
mesos.hpp:2096</div></div>
<div class="ttc"
id="classmesos_1_1internal_1_1tests_1_1executor_1_1TestMesos_html"><div
class="ttname"><a
href="classmesos_1_1internal_1_1tests_1_1executor_1_1TestMesos.html">mesos::internal::tests::executor::TestMesos</a></div><div
class="ttdef"><b>Definition:</b> mesos.hpp:2910</div></div>
<div class="ttc"
id="classmesos_1_1internal_1_1tests_1_1resource__provider_1_1MockResourceProvider_html_a7de5d53d7b50331d65ba02f83586e890"><div
class="ttname"><a
href="classmesos_1_1internal_1_1tests_1_1resource__provider_1_1MockResourceProvider.html#a7de5d53d7b50331d65ba02f83586e890">mesos::internal::tests::resource_provider::MockResourceProvider::info</a></div><div
class="ttdeci">ResourceProviderInfo info</div><div
class="ttdef"><b>Definition:</b> mesos.hpp:3310</div></div>
-<div class="ttc" id="classmesos_1_1MesosSchedulerDriver_html"><div
class="ttname"><a
href="classmesos_1_1MesosSchedulerDriver.html">mesos::MesosSchedulerDriver</a></div><div
class="ttdef"><b>Definition:</b> scheduler.hpp:360</div></div>
+<div class="ttc" id="classmesos_1_1MesosSchedulerDriver_html"><div
class="ttname"><a
href="classmesos_1_1MesosSchedulerDriver.html">mesos::MesosSchedulerDriver</a></div><div
class="ttdef"><b>Definition:</b> scheduler.hpp:366</div></div>
<div class="ttc" id="none_8hpp_html"><div class="ttname"><a
href="none_8hpp.html">none.hpp</a></div></div>
<div class="ttc"
id="namespacebase64_html_a47c61bb5df3dae8cd38f44b6b69e5b4d"><div
class="ttname"><a
href="namespacebase64.html#a47c61bb5df3dae8cd38f44b6b69e5b4d">base64::encode</a></div><div
class="ttdeci">std::string encode(const std::string &s)</div><div
class="ttdoc">Encode a string to Base64 with the standard Base64 alphabet.
</div><div class="ttdef"><b>Definition:</b> base64.hpp:170</div></div>
<div class="ttc" id="slave_8hpp_html"><div class="ttname"><a
href="slave_8hpp.html">slave.hpp</a></div></div>
diff --git a/content/api/latest/java/index-all.html
b/content/api/latest/java/index-all.html
index 84e90e2..5b57d55 100644
--- a/content/api/latest/java/index-all.html
+++ b/content/api/latest/java/index-all.html
@@ -57858,6 +57858,12 @@
In this mode, a machine is behaving normally;
offering resources, executing tasks, etc.</div>
</dd>
+<dt><span class="memberNameLink"><a
href="org/apache/mesos/MesosSchedulerDriver.html#updateFramework-org.apache.mesos.Protos.FrameworkInfo-">updateFramework(Protos.FrameworkInfo)</a></span>
- Method in class org.apache.mesos.<a
href="org/apache/mesos/MesosSchedulerDriver.html" title="class in
org.apache.mesos">MesosSchedulerDriver</a></dt>
+<dd> </dd>
+<dt><span class="memberNameLink"><a
href="org/apache/mesos/SchedulerDriver.html#updateFramework-org.apache.mesos.Protos.FrameworkInfo-">updateFramework(Protos.FrameworkInfo)</a></span>
- Method in interface org.apache.mesos.<a
href="org/apache/mesos/SchedulerDriver.html" title="interface in
org.apache.mesos">SchedulerDriver</a></dt>
+<dd>
+<div class="block">Inform Mesos master about changes to the
`FrameworkInfo`.</div>
+</dd>
<dt><span class="memberNameLink"><a
href="org/apache/mesos/Protos.CommandInfo.html#URIS_FIELD_NUMBER">URIS_FIELD_NUMBER</a></span>
- Static variable in class org.apache.mesos.<a
href="org/apache/mesos/Protos.CommandInfo.html" title="class in
org.apache.mesos">Protos.CommandInfo</a></dt>
<dd> </dd>
<dt><span class="memberNameLink"><a
href="org/apache/mesos/Protos.InverseOffer.html#URL_FIELD_NUMBER">URL_FIELD_NUMBER</a></span>
- Static variable in class org.apache.mesos.<a
href="org/apache/mesos/Protos.InverseOffer.html" title="class in
org.apache.mesos">Protos.InverseOffer</a></dt>
diff --git a/content/api/latest/java/org/apache/mesos/MesosSchedulerDriver.html
b/content/api/latest/java/org/apache/mesos/MesosSchedulerDriver.html
index d6cf1c2..ad01f1a 100644
--- a/content/api/latest/java/org/apache/mesos/MesosSchedulerDriver.html
+++ b/content/api/latest/java/org/apache/mesos/MesosSchedulerDriver.html
@@ -17,7 +17,7 @@
catch(err) {
}
//-->
-var methods =
{"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10};
+var methods =
{"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance
Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
@@ -347,6 +347,12 @@ implements <a
href="../../../org/apache/mesos/SchedulerDriver.html" title="inter
<div class="block">Inform Mesos master to stop sending offers to the
framework.</div>
</td>
</tr>
+<tr id="i22" class="altColor">
+<td class="colFirst"><code><a
href="../../../org/apache/mesos/Protos.Status.html" title="enum in
org.apache.mesos">Protos.Status</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a
href="../../../org/apache/mesos/MesosSchedulerDriver.html#updateFramework-org.apache.mesos.Protos.FrameworkInfo-">updateFramework</a></span>(<a
href="../../../org/apache/mesos/Protos.FrameworkInfo.html" title="class in
org.apache.mesos">Protos.FrameworkInfo</a> frameworkInfo)</code>
+<div class="block">Inform Mesos master about changes to the
`FrameworkInfo`.</div>
+</td>
+</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
@@ -976,6 +982,41 @@ implements <a
href="../../../org/apache/mesos/SchedulerDriver.html" title="inter
</dl>
</li>
</ul>
+<a name="updateFramework-org.apache.mesos.Protos.FrameworkInfo-">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>updateFramework</h4>
+<pre>public <a href="../../../org/apache/mesos/Protos.Status.html"
title="enum in org.apache.mesos">Protos.Status</a> updateFramework(<a
href="../../../org/apache/mesos/Protos.FrameworkInfo.html" title="class in
org.apache.mesos">Protos.FrameworkInfo</a> frameworkInfo)</pre>
+<div class="block"><span class="descfrmTypeLabel">Description copied from
interface: <code><a
href="../../../org/apache/mesos/SchedulerDriver.html#updateFramework-org.apache.mesos.Protos.FrameworkInfo-">SchedulerDriver</a></code></span></div>
+<div class="block">Inform Mesos master about changes to the `FrameworkInfo`.
The
+ driver will store the new `FrameworkInfo` and all subsequent
+ re-registrations will use it.
+
+ NOTE: If the supplied info is invalid or fails authorization,
+ the `error()` callback will be invoked asynchronously (after
+ the master replies with a `FrameworkErrorMessage`).
+
+ NOTE: This must be called after initial registration with the
+ master completes and the `FrameworkID` is assigned. The assigned
+ `FrameworkID` must be set in `frameworkInfo`.
+
+ NOTE: The `FrameworkInfo.user` and `FrameworkInfo.hostname`
+ fields will be auto-populated using the same approach used
+ during driver initialization.</div>
+<dl>
+<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
+<dd><code><a
href="../../../org/apache/mesos/SchedulerDriver.html#updateFramework-org.apache.mesos.Protos.FrameworkInfo-">updateFramework</a></code> in
interface <code><a href="../../../org/apache/mesos/SchedulerDriver.html"
title="interface in org.apache.mesos">SchedulerDriver</a></code></dd>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>frameworkInfo</code> - The new FrameworkInfo.</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>The state of the driver after the call.</dd>
+<dt><span class="seeLabel">See Also:</span></dt>
+<dd><a href="../../../org/apache/mesos/Protos.FrameworkInfo.html" title="class
in org.apache.mesos"><code>Protos.FrameworkInfo</code></a></dd>
+</dl>
+</li>
+</ul>
<a name="initialize--">
<!-- -->
</a>
diff --git a/content/api/latest/java/org/apache/mesos/SchedulerDriver.html
b/content/api/latest/java/org/apache/mesos/SchedulerDriver.html
index 493c0e6..5fdd525 100644
--- a/content/api/latest/java/org/apache/mesos/SchedulerDriver.html
+++ b/content/api/latest/java/org/apache/mesos/SchedulerDriver.html
@@ -17,7 +17,7 @@
catch(err) {
}
//-->
-var methods =
{"i0":6,"i1":6,"i2":6,"i3":6,"i4":6,"i5":6,"i6":6,"i7":6,"i8":6,"i9":38,"i10":38,"i11":6,"i12":6,"i13":6,"i14":6,"i15":6,"i16":6,"i17":6,"i18":6,"i19":6};
+var methods =
{"i0":6,"i1":6,"i2":6,"i3":6,"i4":6,"i5":6,"i6":6,"i7":6,"i8":6,"i9":38,"i10":38,"i11":6,"i12":6,"i13":6,"i14":6,"i15":6,"i16":6,"i17":6,"i18":6,"i19":6,"i20":6};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance
Methods"],4:["t3","Abstract Methods"],32:["t6","Deprecated Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
@@ -270,6 +270,12 @@ var activeTableTab = "activeTableTab";
<div class="block">Inform Mesos master to stop sending offers to the
framework.</div>
</td>
</tr>
+<tr id="i20" class="altColor">
+<td class="colFirst"><code><a
href="../../../org/apache/mesos/Protos.Status.html" title="enum in
org.apache.mesos">Protos.Status</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a
href="../../../org/apache/mesos/SchedulerDriver.html#updateFramework-org.apache.mesos.Protos.FrameworkInfo-">updateFramework</a></span>(<a
href="../../../org/apache/mesos/Protos.FrameworkInfo.html" title="class in
org.apache.mesos">Protos.FrameworkInfo</a> frameworkInfo)</code>
+<div class="block">Inform Mesos master about changes to the
`FrameworkInfo`.</div>
+</td>
+</tr>
</table>
</li>
</ul>
@@ -698,7 +704,7 @@ var activeTableTab = "activeTableTab";
<a name="reconcileTasks-java.util.Collection-">
<!-- -->
</a>
-<ul class="blockListLast">
+<ul class="blockList">
<li class="blockList">
<h4>reconcileTasks</h4>
<pre><a href="../../../org/apache/mesos/Protos.Status.html" title="enum in
org.apache.mesos">Protos.Status</a> reconcileTasks(java.util.Collection<<a
href="../../../org/apache/mesos/Protos.TaskStatus.html" title="class in
org.apache.mesos">Protos.TaskStatus</a>> statuses)</pre>
@@ -719,6 +725,38 @@ var activeTableTab = "activeTableTab";
</dl>
</li>
</ul>
+<a name="updateFramework-org.apache.mesos.Protos.FrameworkInfo-">
+<!-- -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>updateFramework</h4>
+<pre><a href="../../../org/apache/mesos/Protos.Status.html" title="enum in
org.apache.mesos">Protos.Status</a> updateFramework(<a
href="../../../org/apache/mesos/Protos.FrameworkInfo.html" title="class in
org.apache.mesos">Protos.FrameworkInfo</a> frameworkInfo)</pre>
+<div class="block">Inform Mesos master about changes to the `FrameworkInfo`.
The
+ driver will store the new `FrameworkInfo` and all subsequent
+ re-registrations will use it.
+
+ NOTE: If the supplied info is invalid or fails authorization,
+ the `error()` callback will be invoked asynchronously (after
+ the master replies with a `FrameworkErrorMessage`).
+
+ NOTE: This must be called after initial registration with the
+ master completes and the `FrameworkID` is assigned. The assigned
+ `FrameworkID` must be set in `frameworkInfo`.
+
+ NOTE: The `FrameworkInfo.user` and `FrameworkInfo.hostname`
+ fields will be auto-populated using the same approach used
+ during driver initialization.</div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>frameworkInfo</code> - The new FrameworkInfo.</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>The state of the driver after the call.</dd>
+<dt><span class="seeLabel">See Also:</span></dt>
+<dd><a href="../../../org/apache/mesos/Protos.FrameworkInfo.html" title="class
in org.apache.mesos"><code>Protos.FrameworkInfo</code></a></dd>
+</dl>
+</li>
+</ul>
</li>
</ul>
</li>