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 a89ff4a Updated the website built from mesos SHA: 776b31c66.
a89ff4a is described below
commit a89ff4ad7cec85e1dd7efa819e73fd43510d6390
Author: jenkins <[email protected]>
AuthorDate: Fri Nov 1 19:55:23 2019 +0000
Updated the website built from mesos SHA: 776b31c66.
---
...rty_2stout_2include_2stout_2recordio_8hpp_source.html | 16 ++++++++--------
content/api/latest/c++/http__connection_8hpp_source.html | 2 +-
content/api/latest/c++/namespacerecordio.html | 3 ++-
.../latest/c++/src_2common_2recordio_8hpp_source.html | 4 ++--
4 files changed, 13 insertions(+), 12 deletions(-)
diff --git
a/content/api/latest/c++/3rdparty_2stout_2include_2stout_2recordio_8hpp_source.html
b/content/api/latest/c++/3rdparty_2stout_2include_2stout_2recordio_8hpp_source.html
index fd51c81..f0894e3 100644
---
a/content/api/latest/c++/3rdparty_2stout_2include_2stout_2recordio_8hpp_source.html
+++
b/content/api/latest/c++/3rdparty_2stout_2include_2stout_2recordio_8hpp_source.html
@@ -52,9 +52,9 @@
<div class="title">recordio.hpp</div> </div>
</div><!--header-->
<div class="contents">
-<a href="3rdparty_2stout_2include_2stout_2recordio_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 under the Apache License, Version 2.0 (the
"License");</span></div><div class="line"><a name="l00002"></a><span
class="lineno"> 2</span> <span class="comment">// you may not use this
file except in compliance with the License.</span></di [...]
+<a href="3rdparty_2stout_2include_2stout_2recordio_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 under the Apache License, Version 2.0 (the
"License");</span></div><div class="line"><a name="l00002"></a><span
class="lineno"> 2</span> <span class="comment">// you may not use this
file except in compliance with the License.</span></di [...]
<div class="ttc" id="classOption_html"><div class="ttname"><a
href="classOption.html">Option< size_t ></a></div></div>
-<div class="ttc" id="namespacerecordio_html"><div class="ttname"><a
href="namespacerecordio.html">recordio</a></div><div class="ttdoc">Provides
facilities for "Record-IO" encoding of data. </div><div
class="ttdef"><b>Definition:</b> recordio.hpp:50</div></div>
+<div class="ttc" id="namespacerecordio_html"><div class="ttname"><a
href="namespacerecordio.html">recordio</a></div><div class="ttdoc">Provides
facilities for "Record-IO" encoding of data. </div><div
class="ttdef"><b>Definition:</b> recordio.hpp:60</div></div>
<div class="ttc" id="classTry_html_a8bc7f43e75a47111ea18e9c83b007be5"><div
class="ttname"><a
href="classTry.html#a8bc7f43e75a47111ea18e9c83b007be5">Try::get</a></div><div
class="ttdeci">T & get()&</div><div class="ttdef"><b>Definition:</b>
try.hpp:80</div></div>
<div class="ttc" id="classTry_html"><div class="ttname"><a
href="classTry.html">Try</a></div><div class="ttdef"><b>Definition:</b>
check.hpp:33</div></div>
<div class="ttc" id="numify_8hpp_html"><div class="ttname"><a
href="numify_8hpp.html">numify.hpp</a></div></div>
@@ -62,19 +62,19 @@
<div class="ttc" id="numify_8hpp_html_a1ada38a2bf3389b131c6f50042634681"><div
class="ttname"><a
href="numify_8hpp.html#a1ada38a2bf3389b131c6f50042634681">numify</a></div><div
class="ttdeci">Try< T > numify(const std::string &s)</div><div
class="ttdef"><b>Definition:</b> numify.hpp:29</div></div>
<div class="ttc"
id="stout_2include_2stout_2check_8hpp_html_aee320e7c6e107071f4b85d4cc135a265"><div
class="ttname"><a
href="stout_2include_2stout_2check_8hpp.html#aee320e7c6e107071f4b85d4cc135a265">CHECK_SOME</a></div><div
class="ttdeci">#define CHECK_SOME(expression)</div><div
class="ttdef"><b>Definition:</b> check.hpp:50</div></div>
<div class="ttc"
id="namespacemesos_1_1internal_html_a33f3db27bdd318b29761985fe76e8255"><div
class="ttname"><a
href="namespacemesos_1_1internal.html#a33f3db27bdd318b29761985fe76e8255">mesos::internal::deserialize</a></div><div
class="ttdeci">Try< Message > deserialize(ContentType contentType, const
std::string &body)</div><div class="ttdef"><b>Definition:</b>
http.hpp:109</div></div>
-<div class="ttc"
id="classrecordio_1_1Encoder_html_a1ab4319875f0c4a59fe6c2283777e78c"><div
class="ttname"><a
href="classrecordio_1_1Encoder.html#a1ab4319875f0c4a59fe6c2283777e78c">recordio::Encoder::encode</a></div><div
class="ttdeci">std::string encode(const T &record) const </div><div
class="ttdoc">Returns the "Record-IO" encoded record. </div><div
class="ttdef"><b>Definition:</b> recordio.hpp:66</div></div>
+<div class="ttc"
id="classrecordio_1_1Encoder_html_a1ab4319875f0c4a59fe6c2283777e78c"><div
class="ttname"><a
href="classrecordio_1_1Encoder.html#a1ab4319875f0c4a59fe6c2283777e78c">recordio::Encoder::encode</a></div><div
class="ttdeci">std::string encode(const T &record) const </div><div
class="ttdoc">Returns the "Record-IO" encoded record. </div><div
class="ttdef"><b>Definition:</b> recordio.hpp:76</div></div>
<div class="ttc" id="option_8hpp_html"><div class="ttname"><a
href="option_8hpp.html">option.hpp</a></div></div>
<div class="ttc" id="classTry_html_aec4a11ddd3c036e889d90b7eb6258ba7"><div
class="ttname"><a
href="classTry.html#aec4a11ddd3c036e889d90b7eb6258ba7">Try::error</a></div><div
class="ttdeci">static Try error(const E &e)</div><div
class="ttdef"><b>Definition:</b> try.hpp:43</div></div>
<div class="ttc" id="foreach_8hpp_html"><div class="ttname"><a
href="foreach_8hpp.html">foreach.hpp</a></div></div>
<div class="ttc" id="classTry_html_a0b98f95163b8a38daafd1651b043a276"><div
class="ttname"><a
href="classTry.html#a0b98f95163b8a38daafd1651b043a276">Try::isError</a></div><div
class="ttdeci">bool isError() const </div><div
class="ttdef"><b>Definition:</b> try.hpp:78</div></div>
<div class="ttc" id="stringify_8hpp_html"><div class="ttname"><a
href="stringify_8hpp.html">stringify.hpp</a></div></div>
<div class="ttc" id="try_8hpp_html"><div class="ttname"><a
href="try_8hpp.html">try.hpp</a></div></div>
-<div class="ttc"
id="classrecordio_1_1Decoder_html_ae0bd491d2cd2cd5a3511c9d1462c6ffd"><div
class="ttname"><a
href="classrecordio_1_1Decoder.html#ae0bd491d2cd2cd5a3511c9d1462c6ffd">recordio::Decoder::decode</a></div><div
class="ttdeci">Try< std::deque< Try< T > > > decode(const
std::string &data)</div><div class="ttdoc">Decodes another chunk of data
from the "Record-IO" stream and returns the attempted decoding of any
a...</div><div class="ttdef"><b>Definit [...]
-<div class="ttc"
id="classrecordio_1_1Decoder_html_a73e362f6c4c9d24885b5934e8f1932c2"><div
class="ttname"><a
href="classrecordio_1_1Decoder.html#a73e362f6c4c9d24885b5934e8f1932c2">recordio::Decoder::Decoder</a></div><div
class="ttdeci">Decoder(std::function< Try< T >(const std::string
&)> _deserialize)</div><div class="ttdef"><b>Definition:</b>
recordio.hpp:85</div></div>
-<div class="ttc" id="classrecordio_1_1Encoder_html"><div class="ttname"><a
href="classrecordio_1_1Encoder.html">recordio::Encoder</a></div><div
class="ttdoc">Given an encoding function for individual records, this provides
encoding from typed records into "Re...</div><div
class="ttdef"><b>Definition:</b> recordio.hpp:57</div></div>
+<div class="ttc"
id="classrecordio_1_1Decoder_html_ae0bd491d2cd2cd5a3511c9d1462c6ffd"><div
class="ttname"><a
href="classrecordio_1_1Decoder.html#ae0bd491d2cd2cd5a3511c9d1462c6ffd">recordio::Decoder::decode</a></div><div
class="ttdeci">Try< std::deque< Try< T > > > decode(const
std::string &data)</div><div class="ttdoc">Decodes another chunk of data
from the "Record-IO" stream and returns the attempted decoding of any
a...</div><div class="ttdef"><b>Definit [...]
+<div class="ttc"
id="classrecordio_1_1Decoder_html_a73e362f6c4c9d24885b5934e8f1932c2"><div
class="ttname"><a
href="classrecordio_1_1Decoder.html#a73e362f6c4c9d24885b5934e8f1932c2">recordio::Decoder::Decoder</a></div><div
class="ttdeci">Decoder(std::function< Try< T >(const std::string
&)> _deserialize)</div><div class="ttdef"><b>Definition:</b>
recordio.hpp:95</div></div>
+<div class="ttc" id="classrecordio_1_1Encoder_html"><div class="ttname"><a
href="classrecordio_1_1Encoder.html">recordio::Encoder</a></div><div
class="ttdoc">Given an encoding function for individual records, this provides
encoding from typed records into "Re...</div><div
class="ttdef"><b>Definition:</b> recordio.hpp:67</div></div>
<div class="ttc" id="namespacens_html_a28116b46e6543597a11733424cd1aa20"><div
class="ttname"><a
href="namespacens.html#a28116b46e6543597a11733424cd1aa20">ns::stringify</a></div><div
class="ttdeci">std::string stringify(int flags)</div></div>
-<div class="ttc" id="classrecordio_1_1Decoder_html"><div class="ttname"><a
href="classrecordio_1_1Decoder.html">recordio::Decoder</a></div><div
class="ttdoc">Given a decoding function for individual records, this provides
decoding from "Record-IO" data into t...</div><div
class="ttdef"><b>Definition:</b> recordio.hpp:82</div></div>
-<div class="ttc"
id="classrecordio_1_1Encoder_html_a55b8327210168b08ccaf82d1a465037d"><div
class="ttname"><a
href="classrecordio_1_1Encoder.html#a55b8327210168b08ccaf82d1a465037d">recordio::Encoder::Encoder</a></div><div
class="ttdeci">Encoder(std::function< std::string(const T &)>
_serialize)</div><div class="ttdef"><b>Definition:</b>
recordio.hpp:60</div></div>
+<div class="ttc" id="classrecordio_1_1Decoder_html"><div class="ttname"><a
href="classrecordio_1_1Decoder.html">recordio::Decoder</a></div><div
class="ttdoc">Given a decoding function for individual records, this provides
decoding from "Record-IO" data into t...</div><div
class="ttdef"><b>Definition:</b> recordio.hpp:92</div></div>
+<div class="ttc"
id="classrecordio_1_1Encoder_html_a55b8327210168b08ccaf82d1a465037d"><div
class="ttname"><a
href="classrecordio_1_1Encoder.html#a55b8327210168b08ccaf82d1a465037d">recordio::Encoder::Encoder</a></div><div
class="ttdeci">Encoder(std::function< std::string(const T &)>
_serialize)</div><div class="ttdef"><b>Definition:</b>
recordio.hpp:70</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
diff --git a/content/api/latest/c++/http__connection_8hpp_source.html
b/content/api/latest/c++/http__connection_8hpp_source.html
index af28b5b..4d45635 100644
--- a/content/api/latest/c++/http__connection_8hpp_source.html
+++ b/content/api/latest/c++/http__connection_8hpp_source.html
@@ -150,7 +150,7 @@
<div class="ttc" id="classhashmap_html_ac142b3f8b73c76d5d4545bbd299007e5"><div
class="ttname"><a
href="classhashmap.html#ac142b3f8b73c76d5d4545bbd299007e5">hashmap::contains</a></div><div
class="ttdeci">bool contains(const Key &key) const </div><div
class="ttdef"><b>Definition:</b> hashmap.hpp:86</div></div>
<div class="ttc"
id="structid_1_1UUID_html_a51931642cf2febf1689357b40b376798"><div
class="ttname"><a
href="structid_1_1UUID.html#a51931642cf2febf1689357b40b376798">id::UUID::fromString</a></div><div
class="ttdeci">static Try< UUID > fromString(const std::string
&s)</div><div class="ttdef"><b>Definition:</b> uuid.hpp:67</div></div>
<div class="ttc" id="classprocess_1_1http_1_1Connection_html"><div
class="ttname"><a
href="classprocess_1_1http_1_1Connection.html">process::http::Connection</a></div><div
class="ttdoc">Represents a connection to an HTTP server. </div><div
class="ttdef"><b>Definition:</b> http.hpp:952</div></div>
-<div class="ttc" id="classrecordio_1_1Decoder_html"><div class="ttname"><a
href="classrecordio_1_1Decoder.html">recordio::Decoder</a></div><div
class="ttdoc">Given a decoding function for individual records, this provides
decoding from "Record-IO" data into t...</div><div
class="ttdef"><b>Definition:</b> recordio.hpp:82</div></div>
+<div class="ttc" id="classrecordio_1_1Decoder_html"><div class="ttname"><a
href="classrecordio_1_1Decoder.html">recordio::Decoder</a></div><div
class="ttdoc">Given a decoding function for individual records, this provides
decoding from "Record-IO" data into t...</div><div
class="ttdef"><b>Definition:</b> recordio.hpp:92</div></div>
<div class="ttc" id="libprocess_2include_2process_2process_8hpp_html"><div
class="ttname"><a
href="libprocess_2include_2process_2process_8hpp.html">process.hpp</a></div></div>
<div class="ttc" id="classprocess_1_1http_1_1Pipe_1_1Reader_html"><div
class="ttname"><a
href="classprocess_1_1http_1_1Pipe_1_1Reader.html">process::http::Pipe::Reader</a></div><div
class="ttdef"><b>Definition:</b> http.hpp:302</div></div>
<div class="ttc" id="unreachable_8hpp_html"><div class="ttname"><a
href="unreachable_8hpp.html">unreachable.hpp</a></div></div>
diff --git a/content/api/latest/c++/namespacerecordio.html
b/content/api/latest/c++/namespacerecordio.html
index 2c1b240..e2865ba 100644
--- a/content/api/latest/c++/namespacerecordio.html
+++ b/content/api/latest/c++/namespacerecordio.html
@@ -70,7 +70,8 @@ Classes</h2></td></tr>
hello 6<br />
world!</p>
<p>Note that this currently only supports record lengths encoded as base 10
integer values with newlines as a delimiter. This is to provide better language
portability portability: parsing a base 10 integer is simple. Most other
"Record-IO" implementations use a fixed-size header of 4 bytes to directly
encode an unsigned 32 bit length.</p>
-<p>TODO(bmahler): Move this to libprocess and support async consumption of
data. </p>
+<p>TODO(bmahler): Make the encoder and decoder non-templated. They can just
take records as bytes and let a wrapper at a higher level do what they like
with the bytes of each record.</p>
+<p>TODO(bmahler): Make the encoder and decoder zero-copy, once they're just
dealing with bytes. To make the encoder zero-copy, we need to make "writes"
directly to an output (e.g. call a callback with bytes to write, or write to a
provided "output stream" abstraction). For the decoder, we can provide a string
view into the input data of the record. </p>
</div></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
diff --git a/content/api/latest/c++/src_2common_2recordio_8hpp_source.html
b/content/api/latest/c++/src_2common_2recordio_8hpp_source.html
index 2b1f336..af63619 100644
--- a/content/api/latest/c++/src_2common_2recordio_8hpp_source.html
+++ b/content/api/latest/c++/src_2common_2recordio_8hpp_source.html
@@ -56,7 +56,7 @@
<div class="ttc"
id="namespaceprocess_1_1ID_html_aeb11a48c9def1da169d8455a30d0ee39"><div
class="ttname"><a
href="namespaceprocess_1_1ID.html#aeb11a48c9def1da169d8455a30d0ee39">process::ID::generate</a></div><div
class="ttdeci">std::string generate(const std::string
&prefix="")</div><div class="ttdoc">Returns
&#39;prefix(N)&#39; where N represents the number of instances where
the same prefix (wrt...</div></div>
<div class="ttc" id="classError_html"><div class="ttname"><a
href="classError.html">Error</a></div><div class="ttdef"><b>Definition:</b>
errorbase.hpp:36</div></div>
<div class="ttc" id="classOption_html"><div class="ttname"><a
href="classOption.html">Option< Error ></a></div></div>
-<div class="ttc" id="namespacerecordio_html"><div class="ttname"><a
href="namespacerecordio.html">recordio</a></div><div class="ttdoc">Provides
facilities for "Record-IO" encoding of data. </div><div
class="ttdef"><b>Definition:</b> recordio.hpp:50</div></div>
+<div class="ttc" id="namespacerecordio_html"><div class="ttname"><a
href="namespacerecordio.html">recordio</a></div><div class="ttdoc">Provides
facilities for "Record-IO" encoding of data. </div><div
class="ttdef"><b>Definition:</b> recordio.hpp:60</div></div>
<div class="ttc" id="classTry_html_a8bc7f43e75a47111ea18e9c83b007be5"><div
class="ttname"><a
href="classTry.html#a8bc7f43e75a47111ea18e9c83b007be5">Try::get</a></div><div
class="ttdeci">T & get()&</div><div class="ttdef"><b>Definition:</b>
try.hpp:80</div></div>
<div class="ttc"
id="classprocess_1_1Future_html_aa78977d3b585a5f5ccd682c1e9e2ddc4"><div
class="ttname"><a
href="classprocess_1_1Future.html#aa78977d3b585a5f5ccd682c1e9e2ddc4">process::Future::get</a></div><div
class="ttdeci">const T & get() const </div><div
class="ttdef"><b>Definition:</b> future.hpp:1294</div></div>
<div class="ttc"
id="namespaceprocess_html_a4beae62da50c26c6cb8afd14e385d0c8"><div
class="ttname"><a
href="namespaceprocess.html#a4beae62da50c26c6cb8afd14e385d0c8">process::Break</a></div><div
class="ttdeci">ControlFlow< typename std::decay< T >::type
>::Break Break(T &&t)</div><div class="ttdef"><b>Definition:</b>
loop.hpp:237</div></div>
@@ -109,7 +109,7 @@
<div class="ttc" id="defer_8hpp_html"><div class="ttname"><a
href="defer_8hpp.html">defer.hpp</a></div></div>
<div class="ttc"
id="namespaceprocess_html_a8b27a2ef76eb133bf0ce7a5eea4fb77c"><div
class="ttname"><a
href="namespaceprocess.html#a8b27a2ef76eb133bf0ce7a5eea4fb77c">process::defer</a></div><div
class="ttdeci">Deferred< void()> defer(const PID< T > &pid,
void(T::*method)())</div><div class="ttdef"><b>Definition:</b>
defer.hpp:35</div></div>
<div class="ttc"
id="classmesos_1_1internal_1_1recordio_1_1internal_1_1ReaderProcess_html_a11e21afb1b5e47b24074c9c8d7775e1e"><div
class="ttname"><a
href="classmesos_1_1internal_1_1recordio_1_1internal_1_1ReaderProcess.html#a11e21afb1b5e47b24074c9c8d7775e1e">mesos::internal::recordio::internal::ReaderProcess::ReaderProcess</a></div><div
class="ttdeci">ReaderProcess(::recordio::Decoder< T >
&&_decoder, process::http::Pipe::Reader _reader)</div><div
class="ttdef"><b>Definition [...]
-<div class="ttc" id="classrecordio_1_1Decoder_html"><div class="ttname"><a
href="classrecordio_1_1Decoder.html">recordio::Decoder</a></div><div
class="ttdoc">Given a decoding function for individual records, this provides
decoding from "Record-IO" data into t...</div><div
class="ttdef"><b>Definition:</b> recordio.hpp:82</div></div>
+<div class="ttc" id="classrecordio_1_1Decoder_html"><div class="ttname"><a
href="classrecordio_1_1Decoder.html">recordio::Decoder</a></div><div
class="ttdoc">Given a decoding function for individual records, this provides
decoding from "Record-IO" data into t...</div><div
class="ttdef"><b>Definition:</b> recordio.hpp:92</div></div>
<div class="ttc" id="libprocess_2include_2process_2process_8hpp_html"><div
class="ttname"><a
href="libprocess_2include_2process_2process_8hpp.html">process.hpp</a></div></div>
<div class="ttc" id="classprocess_1_1http_1_1Pipe_1_1Reader_html"><div
class="ttname"><a
href="classprocess_1_1http_1_1Pipe_1_1Reader.html">process::http::Pipe::Reader</a></div><div
class="ttdef"><b>Definition:</b> http.hpp:302</div></div>
<div class="ttc" id="classprocess_1_1ControlFlow_html"><div class="ttname"><a
href="classprocess_1_1ControlFlow.html">process::ControlFlow</a></div><div
class="ttdef"><b>Definition:</b> loop.hpp:163</div></div>