Repository: mesos-site Updated Branches: refs/heads/asf-site 0a0aa73e9 -> 805f4c5b1
http://git-wip-us.apache.org/repos/asf/mesos-site/blob/805f4c5b/content/api/latest/c++/structprocess_1_1grpc_1_1client_1_1internal_1_1MethodTraits_3_01std_1_1unique__ptr_3_1_1grpc_1_1b922a69900827d65b241714130bc07ca.html ---------------------------------------------------------------------- diff --git a/content/api/latest/c++/structprocess_1_1grpc_1_1client_1_1internal_1_1MethodTraits_3_01std_1_1unique__ptr_3_1_1grpc_1_1b922a69900827d65b241714130bc07ca.html b/content/api/latest/c++/structprocess_1_1grpc_1_1client_1_1internal_1_1MethodTraits_3_01std_1_1unique__ptr_3_1_1grpc_1_1b922a69900827d65b241714130bc07ca.html new file mode 100644 index 0000000..d34dc6f --- /dev/null +++ b/content/api/latest/c++/structprocess_1_1grpc_1_1client_1_1internal_1_1MethodTraits_3_01std_1_1unique__ptr_3_1_1grpc_1_1b922a69900827d65b241714130bc07ca.html @@ -0,0 +1,126 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> +<meta http-equiv="X-UA-Compatible" content="IE=9"/> +<meta name="generator" content="Doxygen 1.8.11"/> +<title>Apache Mesos: process::grpc::client::internal::MethodTraits< std::unique_ptr<::grpc::ClientAsyncResponseReader< Response > >(Stub::*)(::grpc::ClientContext *, const Request &,::grpc::CompletionQueue *)> Struct Template Reference</title> +<link href="tabs.css" rel="stylesheet" type="text/css"/> +<script type="text/javascript" src="jquery.js"></script> +<script type="text/javascript" src="dynsections.js"></script> +<link href="doxygen.css" rel="stylesheet" type="text/css" /> +</head> +<body> +<div id="top"><!-- do not remove this div, it is closed by doxygen! --> +<div id="titlearea"> +<table cellspacing="0" cellpadding="0"> + <tbody> + <tr style="height: 56px;"> + <td id="projectalign" style="padding-left: 0.5em;"> + <div id="projectname">Apache Mesos + </div> + </td> + </tr> + </tbody> +</table> +</div> +<!-- end header part --> +<!-- Generated by Doxygen 1.8.11 --> + <div id="navrow1" class="tabs"> + <ul class="tablist"> + <li><a href="index.html"><span>Main Page</span></a></li> + <li><a href="pages.html"><span>Related Pages</span></a></li> + <li><a href="namespaces.html"><span>Namespaces</span></a></li> + <li class="current"><a href="annotated.html"><span>Classes</span></a></li> + <li><a href="files.html"><span>Files</span></a></li> + <li><a href="examples.html"><span>Examples</span></a></li> + </ul> + </div> + <div id="navrow2" class="tabs2"> + <ul class="tablist"> + <li><a href="annotated.html"><span>Class List</span></a></li> + <li><a href="classes.html"><span>Class Index</span></a></li> + <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> + <li><a href="functions.html"><span>Class Members</span></a></li> + </ul> + </div> +<div id="nav-path" class="navpath"> + <ul> +<li class="navelem"><a class="el" href="namespaceprocess.html">process</a></li><li class="navelem"><a class="el" href="namespaceprocess_1_1grpc.html">grpc</a></li><li class="navelem"><a class="el" href="namespaceprocess_1_1grpc_1_1client.html">client</a></li><li class="navelem"><a class="el" href="namespaceprocess_1_1grpc_1_1client_1_1internal.html">internal</a></li><li class="navelem"><a class="el" href="structprocess_1_1grpc_1_1client_1_1internal_1_1MethodTraits_3_01std_1_1unique__ptr_3_1_1grpc_1_1b922a69900827d65b241714130bc07ca.html">MethodTraits< std::unique_ptr<::grpc::ClientAsyncResponseReader< Response > >(Stub::*)(::grpc::ClientContext *, const Request &,::grpc::CompletionQueue *)></a></li> </ul> +</div> +</div><!-- top --> +<div class="header"> + <div class="summary"> +<a href="#pub-types">Public Types</a> | +<a href="structprocess_1_1grpc_1_1client_1_1internal_1_1MethodTraits_3_01std_1_1unique__ptr_3_1_1grpc_1_19b770dc78e11f9f674179c48295eb8ff.html">List of all members</a> </div> + <div class="headertitle"> +<div class="title">process::grpc::client::internal::MethodTraits< std::unique_ptr<::grpc::ClientAsyncResponseReader< Response > >(Stub::*)(::grpc::ClientContext *, const Request &,::grpc::CompletionQueue *)> Struct Template Reference</div> </div> +</div><!--header--> +<div class="contents"> + +<p><code>#include <<a class="el" href="grpc_8hpp_source.html">grpc.hpp</a>></code></p> +<table class="memberdecls"> +<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a> +Public Types</h2></td></tr> +<tr class="memitem:af96bd68c2ee624f2bade6bb587726897"><td class="memItemLeft" align="right" valign="top">typedef Stub </td><td class="memItemRight" valign="bottom"><a class="el" href="structprocess_1_1grpc_1_1client_1_1internal_1_1MethodTraits_3_01std_1_1unique__ptr_3_1_1grpc_1_1b922a69900827d65b241714130bc07ca.html#af96bd68c2ee624f2bade6bb587726897">stub_type</a></td></tr> +<tr class="separator:af96bd68c2ee624f2bade6bb587726897"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:adcf2f58a91926bbfbbf3f9aa4979cd38"><td class="memItemLeft" align="right" valign="top">typedef Request </td><td class="memItemRight" valign="bottom"><a class="el" href="structprocess_1_1grpc_1_1client_1_1internal_1_1MethodTraits_3_01std_1_1unique__ptr_3_1_1grpc_1_1b922a69900827d65b241714130bc07ca.html#adcf2f58a91926bbfbbf3f9aa4979cd38">request_type</a></td></tr> +<tr class="separator:adcf2f58a91926bbfbbf3f9aa4979cd38"><td class="memSeparator" colspan="2"> </td></tr> +<tr class="memitem:a39b26e8b5b508708af0b6468a31dcab5"><td class="memItemLeft" align="right" valign="top">typedef Response </td><td class="memItemRight" valign="bottom"><a class="el" href="structprocess_1_1grpc_1_1client_1_1internal_1_1MethodTraits_3_01std_1_1unique__ptr_3_1_1grpc_1_1b922a69900827d65b241714130bc07ca.html#a39b26e8b5b508708af0b6468a31dcab5">response_type</a></td></tr> +<tr class="separator:a39b26e8b5b508708af0b6468a31dcab5"><td class="memSeparator" colspan="2"> </td></tr> +</table> +<h2 class="groupheader">Member Typedef Documentation</h2> +<a class="anchor" id="adcf2f58a91926bbfbbf3f9aa4979cd38"></a> +<div class="memitem"> +<div class="memproto"> +<div class="memtemplate"> +template<typename Stub , typename Request , typename Response > </div> + <table class="memname"> + <tr> + <td class="memname">typedef Request <a class="el" href="structprocess_1_1grpc_1_1client_1_1internal_1_1MethodTraits.html">process::grpc::client::internal::MethodTraits</a>< std::unique_ptr<::grpc::ClientAsyncResponseReader< Response > >(Stub::*)(::grpc::ClientContext *, const Request &,::grpc::CompletionQueue *)>::<a class="el" href="structprocess_1_1grpc_1_1client_1_1internal_1_1MethodTraits_3_01std_1_1unique__ptr_3_1_1grpc_1_1b922a69900827d65b241714130bc07ca.html#adcf2f58a91926bbfbbf3f9aa4979cd38">request_type</a></td> + </tr> + </table> +</div><div class="memdoc"> + +</div> +</div> +<a class="anchor" id="a39b26e8b5b508708af0b6468a31dcab5"></a> +<div class="memitem"> +<div class="memproto"> +<div class="memtemplate"> +template<typename Stub , typename Request , typename Response > </div> + <table class="memname"> + <tr> + <td class="memname">typedef Response <a class="el" href="structprocess_1_1grpc_1_1client_1_1internal_1_1MethodTraits.html">process::grpc::client::internal::MethodTraits</a>< std::unique_ptr<::grpc::ClientAsyncResponseReader< Response > >(Stub::*)(::grpc::ClientContext *, const Request &,::grpc::CompletionQueue *)>::<a class="el" href="structprocess_1_1grpc_1_1client_1_1internal_1_1MethodTraits_3_01std_1_1unique__ptr_3_1_1grpc_1_1b922a69900827d65b241714130bc07ca.html#a39b26e8b5b508708af0b6468a31dcab5">response_type</a></td> + </tr> + </table> +</div><div class="memdoc"> + +</div> +</div> +<a class="anchor" id="af96bd68c2ee624f2bade6bb587726897"></a> +<div class="memitem"> +<div class="memproto"> +<div class="memtemplate"> +template<typename Stub , typename Request , typename Response > </div> + <table class="memname"> + <tr> + <td class="memname">typedef Stub <a class="el" href="structprocess_1_1grpc_1_1client_1_1internal_1_1MethodTraits.html">process::grpc::client::internal::MethodTraits</a>< std::unique_ptr<::grpc::ClientAsyncResponseReader< Response > >(Stub::*)(::grpc::ClientContext *, const Request &,::grpc::CompletionQueue *)>::<a class="el" href="structprocess_1_1grpc_1_1client_1_1internal_1_1MethodTraits_3_01std_1_1unique__ptr_3_1_1grpc_1_1b922a69900827d65b241714130bc07ca.html#af96bd68c2ee624f2bade6bb587726897">stub_type</a></td> + </tr> + </table> +</div><div class="memdoc"> + +</div> +</div> +<hr/>The documentation for this struct was generated from the following file:<ul> +<li>3rdparty/libprocess/include/process/<a class="el" href="grpc_8hpp_source.html">grpc.hpp</a></li> +</ul> +</div><!-- contents --> +<!-- start footer part --> +<hr class="footer"/><address class="footer"><small> +Generated by  <a href="http://www.doxygen.org/index.html"> +<img class="footer" src="doxygen.png" alt="doxygen"/> +</a> 1.8.11 +</small></address> +</body> +</html> http://git-wip-us.apache.org/repos/asf/mesos-site/blob/805f4c5b/content/api/latest/c++/subprocess_8hpp_source.html ---------------------------------------------------------------------- diff --git a/content/api/latest/c++/subprocess_8hpp_source.html b/content/api/latest/c++/subprocess_8hpp_source.html index 5727842..c32b0b5 100644 --- a/content/api/latest/c++/subprocess_8hpp_source.html +++ b/content/api/latest/c++/subprocess_8hpp_source.html @@ -103,7 +103,7 @@ <div class="ttc" id="namespaceos_1_1Shell_html_acfe16ef2b1146ad49a8651c0a457ce46"><div class="ttname"><a href="namespaceos_1_1Shell.html#acfe16ef2b1146ad49a8651c0a457ce46">os::Shell::name</a></div><div class="ttdeci">constexpr const char * name</div><div class="ttdef"><b>Definition:</b> shell.hpp:43</div></div> <div class="ttc" id="classprocess_1_1Subprocess_html_a3946c31d16c0625ea554d5216cd4fa3b"><div class="ttname"><a href="classprocess_1_1Subprocess.html#a3946c31d16c0625ea554d5216cd4fa3b">process::Subprocess::status</a></div><div class="ttdeci">Future< Option< int > > status() const </div><div class="ttdoc">Exit status of this subprocess captured as a Future (completed when the subprocess exits)...</div><div class="ttdef"><b>Definition:</b> subprocess.hpp:294</div></div> <div class="ttc" id="classprocess_1_1Subprocess_1_1ChildHook_html_ae9a996c6b3aa1113709a3d5ceba37f2c"><div class="ttname"><a href="classprocess_1_1Subprocess_1_1ChildHook.html#ae9a996c6b3aa1113709a3d5ceba37f2c">process::Subprocess::ChildHook::operator()</a></div><div class="ttdeci">Try< Nothing > operator()() const </div><div class="ttdef"><b>Definition:</b> subprocess.hpp:225</div></div> -<div class="ttc" id="classprocess_1_1Future_html"><div class="ttname"><a href="classprocess_1_1Future.html">process::Future</a></div><div class="ttdef"><b>Definition:</b> future.hpp:57</div></div> +<div class="ttc" id="classprocess_1_1Future_html"><div class="ttname"><a href="classprocess_1_1Future.html">process::Future</a></div><div class="ttdef"><b>Definition:</b> future.hpp:58</div></div> </div><!-- fragment --></div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> http://git-wip-us.apache.org/repos/asf/mesos-site/blob/805f4c5b/content/api/latest/c++/switchboard_8hpp_source.html ---------------------------------------------------------------------- diff --git a/content/api/latest/c++/switchboard_8hpp_source.html b/content/api/latest/c++/switchboard_8hpp_source.html index 81d38ef..5c6352d 100644 --- a/content/api/latest/c++/switchboard_8hpp_source.html +++ b/content/api/latest/c++/switchboard_8hpp_source.html @@ -86,7 +86,7 @@ <div class="ttc" id="classmesos_1_1internal_1_1slave_1_1MesosIsolatorProcess_html"><div class="ttname"><a href="classmesos_1_1internal_1_1slave_1_1MesosIsolatorProcess.html">mesos::internal::slave::MesosIsolatorProcess</a></div><div class="ttdef"><b>Definition:</b> isolator.hpp:80</div></div> <div class="ttc" id="future_8hpp_html"><div class="ttname"><a href="future_8hpp.html">future.hpp</a></div></div> <div class="ttc" id="structmesos_1_1internal_1_1slave_1_1IOSwitchboardServer_1_1Flags_html_a2e6dec0912f5dba98ea388cd01097c95"><div class="ttname"><a href="structmesos_1_1internal_1_1slave_1_1IOSwitchboardServer_1_1Flags.html#a2e6dec0912f5dba98ea388cd01097c95">mesos::internal::slave::IOSwitchboardServer::Flags::stderr_to_fd</a></div><div class="ttdeci">Option< int > stderr_to_fd</div><div class="ttdef"><b>Definition:</b> switchboard.hpp:230</div></div> -<div class="ttc" id="namespaceprocess_1_1internal_html_a4c8e1d1a64b9ebccdd0c2bdf34233212"><div class="ttname"><a href="namespaceprocess_1_1internal.html#a4c8e1d1a64b9ebccdd0c2bdf34233212">process::internal::run</a></div><div class="ttdeci">void run(std::vector< C > &&callbacks, Arguments &&...arguments)</div><div class="ttdef"><b>Definition:</b> future.hpp:618</div></div> +<div class="ttc" id="namespaceprocess_1_1internal_html_a4c8e1d1a64b9ebccdd0c2bdf34233212"><div class="ttname"><a href="namespaceprocess_1_1internal.html#a4c8e1d1a64b9ebccdd0c2bdf34233212">process::internal::run</a></div><div class="ttdeci">void run(std::vector< C > &&callbacks, Arguments &&...arguments)</div><div class="ttdef"><b>Definition:</b> future.hpp:621</div></div> <div class="ttc" id="structmesos_1_1internal_1_1slave_1_1IOSwitchboardServer_1_1Flags_html_a9ba1cc27c2d698c02272691cd71011ca"><div class="ttname"><a href="structmesos_1_1internal_1_1slave_1_1IOSwitchboardServer_1_1Flags.html#a9ba1cc27c2d698c02272691cd71011ca">mesos::internal::slave::IOSwitchboardServer::Flags::Flags</a></div><div class="ttdeci">Flags()</div><div class="ttdef"><b>Definition:</b> switchboard.hpp:163</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="classmesos_1_1internal_1_1slave_1_1IOSwitchboard_html_a12117c45cfd218537f0c5f562542c4f1"><div class="ttname"><a href="classmesos_1_1internal_1_1slave_1_1IOSwitchboard.html#a12117c45cfd218537f0c5f562542c4f1">mesos::internal::slave::IOSwitchboard::extractContainerIO</a></div><div class="ttdeci">process::Future< Option< mesos::slave::ContainerIO > > extractContainerIO(const ContainerID &containerID)</div></div> http://git-wip-us.apache.org/repos/asf/mesos-site/blob/805f4c5b/content/api/latest/c++/system_8hpp_source.html ---------------------------------------------------------------------- diff --git a/content/api/latest/c++/system_8hpp_source.html b/content/api/latest/c++/system_8hpp_source.html index 785ab44..bd2dd61 100644 --- a/content/api/latest/c++/system_8hpp_source.html +++ b/content/api/latest/c++/system_8hpp_source.html @@ -60,7 +60,7 @@ <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="3rdparty_2libprocess_2include_2process_2metrics_2metrics_8hpp_html"><div class="ttname"><a href="3rdparty_2libprocess_2include_2process_2metrics_2metrics_8hpp.html">metrics.hpp</a></div></div> <div class="ttc" id="classprocess_1_1System_html_ac64aa6bb6638963782932ebfc140c952"><div class="ttname"><a href="classprocess_1_1System.html#ac64aa6bb6638963782932ebfc140c952">process::System::finalize</a></div><div class="ttdeci">virtual void finalize()</div><div class="ttdoc">Invoked when a process is terminated. </div><div class="ttdef"><b>Definition:</b> system.hpp:73</div></div> -<div class="ttc" id="structprocess_1_1Failure_html"><div class="ttname"><a href="structprocess_1_1Failure.html">process::Failure</a></div><div class="ttdef"><b>Definition:</b> future.hpp:665</div></div> +<div class="ttc" id="structprocess_1_1Failure_html"><div class="ttname"><a href="structprocess_1_1Failure.html">process::Failure</a></div><div class="ttdef"><b>Definition:</b> future.hpp:668</div></div> <div class="ttc" id="os_8hpp_html"><div class="ttname"><a href="os_8hpp.html">os.hpp</a></div></div> <div class="ttc" id="namespaceid_html"><div class="ttname"><a href="namespaceid.html">id</a></div><div class="ttdef"><b>Definition:</b> uuid.hpp:33</div></div> <div class="ttc" id="classprocess_1_1ProcessBase_html"><div class="ttname"><a href="classprocess_1_1ProcessBase.html">process::ProcessBase</a></div><div class="ttdef"><b>Definition:</b> process.hpp:72</div></div> @@ -98,7 +98,7 @@ <div class="ttc" id="classhashmap_html_a41f14039c11b5a1ab6c81add74192c9a"><div class="ttname"><a href="classhashmap.html#a41f14039c11b5a1ab6c81add74192c9a">hashmap::get</a></div><div class="ttdeci">Option< Value > get(const Key &key) const </div><div class="ttdef"><b>Definition:</b> hashmap.hpp:121</div></div> <div class="ttc" id="structos_1_1Load_html_ac65d8819bbf8201cfa6975d853061e93"><div class="ttname"><a href="structos_1_1Load.html#ac65d8819bbf8201cfa6975d853061e93">os::Load::one</a></div><div class="ttdeci">double one</div><div class="ttdef"><b>Definition:</b> os.hpp:26</div></div> <div class="ttc" id="namespaceprocess_html_ac77710abb3ca0716be1856035c78cb89"><div class="ttname"><a href="namespaceprocess.html#ac77710abb3ca0716be1856035c78cb89">process::DESCRIPTION</a></div><div class="ttdeci">std::string DESCRIPTION(T &&...args)</div><div class="ttdef"><b>Definition:</b> help.hpp:76</div></div> -<div class="ttc" id="classprocess_1_1Future_html"><div class="ttname"><a href="classprocess_1_1Future.html">process::Future</a></div><div class="ttdef"><b>Definition:</b> future.hpp:57</div></div> +<div class="ttc" id="classprocess_1_1Future_html"><div class="ttname"><a href="classprocess_1_1Future.html">process::Future</a></div><div class="ttdef"><b>Definition:</b> future.hpp:58</div></div> </div><!-- fragment --></div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> http://git-wip-us.apache.org/repos/asf/mesos-site/blob/805f4c5b/content/api/latest/c++/tests_2containerizer_2launcher_8hpp_source.html ---------------------------------------------------------------------- diff --git a/content/api/latest/c++/tests_2containerizer_2launcher_8hpp_source.html b/content/api/latest/c++/tests_2containerizer_2launcher_8hpp_source.html index e34915c..7c3050f 100644 --- a/content/api/latest/c++/tests_2containerizer_2launcher_8hpp_source.html +++ b/content/api/latest/c++/tests_2containerizer_2launcher_8hpp_source.html @@ -83,7 +83,7 @@ <div class="ttc" id="classprocess_1_1Owned_html"><div class="ttname"><a href="classprocess_1_1Owned.html">process::Owned< slave::Launcher ></a></div></div> <div class="ttc" id="classmesos_1_1internal_1_1slave_1_1Launcher_html_af6c5246e61f3959d393d06f4abf23b45"><div class="ttname"><a href="classmesos_1_1internal_1_1slave_1_1Launcher.html#af6c5246e61f3959d393d06f4abf23b45">mesos::internal::slave::Launcher::fork</a></div><div class="ttdeci">virtual Try< pid_t > fork(const ContainerID &containerId, const std::string &path, const std::vector< std::string > &argv, const process::Subprocess::IO &in, const process::Subprocess::IO &out, const process::Subprocess::IO &err, const flags::FlagsBase *flags, const Option< std::map< std::string, std::string >> &environment, const Option< int > &enterNamespaces, const Option< int > &cloneNamespaces)=0</div></div> <div class="ttc" id="namespaceflags_html"><div class="ttname"><a href="namespaceflags.html">flags</a></div><div class="ttdef"><b>Definition:</b> parse.hpp:33</div></div> -<div class="ttc" id="classprocess_1_1Future_html"><div class="ttname"><a href="classprocess_1_1Future.html">process::Future</a></div><div class="ttdef"><b>Definition:</b> future.hpp:57</div></div> +<div class="ttc" id="classprocess_1_1Future_html"><div class="ttname"><a href="classprocess_1_1Future.html">process::Future</a></div><div class="ttdef"><b>Definition:</b> future.hpp:58</div></div> </div><!-- fragment --></div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> http://git-wip-us.apache.org/repos/asf/mesos-site/blob/805f4c5b/content/api/latest/c++/tests_2containerizer_2store_8hpp_source.html ---------------------------------------------------------------------- diff --git a/content/api/latest/c++/tests_2containerizer_2store_8hpp_source.html b/content/api/latest/c++/tests_2containerizer_2store_8hpp_source.html index 78819e8..86d1686 100644 --- a/content/api/latest/c++/tests_2containerizer_2store_8hpp_source.html +++ b/content/api/latest/c++/tests_2containerizer_2store_8hpp_source.html @@ -56,7 +56,7 @@ <div class="ttc" id="structNothing_html"><div class="ttname"><a href="structNothing.html">Nothing</a></div><div class="ttdef"><b>Definition:</b> nothing.hpp:16</div></div> <div class="ttc" id="classOption_html"><div class="ttname"><a href="classOption.html">Option</a></div><div class="ttdef"><b>Definition:</b> option.hpp:28</div></div> <div class="ttc" id="classmesos_1_1internal_1_1tests_1_1TestStore_html_a6457a676979d26e445c9994fe5cd2f75"><div class="ttname"><a href="classmesos_1_1internal_1_1tests_1_1TestStore.html#a6457a676979d26e445c9994fe5cd2f75">mesos::internal::tests::TestStore::TestStore</a></div><div class="ttdeci">TestStore(const hashmap< std::string, process::Shared< Rootfs >> &_rootfses)</div><div class="ttdef"><b>Definition:</b> store.hpp:38</div></div> -<div class="ttc" id="structprocess_1_1Failure_html"><div class="ttname"><a href="structprocess_1_1Failure.html">process::Failure</a></div><div class="ttdef"><b>Definition:</b> future.hpp:665</div></div> +<div class="ttc" id="structprocess_1_1Failure_html"><div class="ttname"><a href="structprocess_1_1Failure.html">process::Failure</a></div><div class="ttdef"><b>Definition:</b> future.hpp:668</div></div> <div class="ttc" id="slave_2containerizer_2mesos_2provisioner_2store_8hpp_html"><div class="ttname"><a href="slave_2containerizer_2mesos_2provisioner_2store_8hpp.html">store.hpp</a></div></div> <div class="ttc" id="classmesos_1_1internal_1_1tests_1_1TestStore_html_a7ceb58dfb88a61deed514d1612796df5"><div class="ttname"><a href="classmesos_1_1internal_1_1tests_1_1TestStore.html#a7ceb58dfb88a61deed514d1612796df5">mesos::internal::tests::TestStore::MOCK_METHOD1</a></div><div class="ttdeci">MOCK_METHOD1(get, process::Future< slave::ImageInfo >(const Image &image, const std::string &backend))</div></div> <div class="ttc" id="classmesos_1_1internal_1_1tests_1_1TestStore_html_a5d9ea4a180526cd59a073cbcc124beb8"><div class="ttname"><a href="classmesos_1_1internal_1_1tests_1_1TestStore.html#a5d9ea4a180526cd59a073cbcc124beb8">mesos::internal::tests::TestStore::unmocked_recover</a></div><div class="ttdeci">process::Future< Nothing > unmocked_recover()</div><div class="ttdef"><b>Definition:</b> store.hpp:66</div></div> http://git-wip-us.apache.org/repos/asf/mesos-site/blob/805f4c5b/content/api/latest/c++/time_8hpp_source.html ---------------------------------------------------------------------- diff --git a/content/api/latest/c++/time_8hpp_source.html b/content/api/latest/c++/time_8hpp_source.html index 2f7aab7..1ab4a06 100644 --- a/content/api/latest/c++/time_8hpp_source.html +++ b/content/api/latest/c++/time_8hpp_source.html @@ -53,7 +53,7 @@ </div><!--header--> <div class="contents"> <a href="time_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></div><div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment">// You may obtain a copy of the License at</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment">//</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment">// http://www.apache.org/licenses/LICENSE-2.0</span></div><div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment">//</span ></div><div class="line"><a name="l00007"></a><span class="lineno"> >7</span> <span class="comment">// Unless required by applicable law or >agreed to in writing, software</span></div><div class="line"><a >name="l00008"></a><span class="lineno"> 8</span> <span >class="comment">// distributed under the License is distributed on an >"AS IS" BASIS,</span></div><div class="line"><a >name="l00009"></a><span class="lineno"> 9</span> <span >class="comment">// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either >express or implied.</span></div><div class="line"><a name="l00010"></a><span >class="lineno"> 10</span> <span class="comment">// See the License for >the specific language governing permissions and</span></div><div >class="line"><a name="l00011"></a><span class="lineno"> >11</span> <span class="comment">// limitations under the >License</span></div><div class="line"><a name="l00012"></a><span >class="lineno"> 12</span> </div><div class="line "><a name="l00013"></a><span class="lineno"> 13</span> <span class="preprocessor">#ifndef __PROCESS_TIME_HPP__</span></div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="preprocessor">#define __PROCESS_TIME_HPP__</span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span> </div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="preprocessor">#include <iomanip></span></div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span> </div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="preprocessor">#include <<a class="code" href="duration_8hpp.html">stout/duration.hpp</a>></span></div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span> </div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="keyword">namespace </span><a class="c ode" href="namespaceprocess.html">process</a> {</div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span> </div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="comment">// Represents an instant in time.</span></div><div class="line"><a name="l00023"></a><span class="lineno"><a class="line" href="classprocess_1_1Time.html"> 23</a></span> <span class="keyword">class </span><a class="code" href="classprocess_1_1Time.html">Time</a></div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span> {</div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="keyword">public</span>:</div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span>  <span class="comment">// Constructs a time at the Epoch. It is needed because collections</span></div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span>  <span class="comme nt">// (e.g., std::map) require a default constructor to construct</span></div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span>  <span class="comment">// empty values.</span></div><div class="line"><a name="l00029"></a><span class="lineno"><a class="line" href="classprocess_1_1Time.html#a556f4005b624bc2ea40dd313634c3de1"> 29</a></span>  <a class="code" href="classprocess_1_1Time.html#a556f4005b624bc2ea40dd313634c3de1">Time</a>() : sinceEpoch(<a class="code" href="classDuration.html">Duration</a>::zero()) {}</div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span> </div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span>  <span class="keyword">static</span> <a class="code" href="classprocess_1_1Time.html">Time</a> <a class="code" href="classprocess_1_1Time.html#adaf82d5f3d8c886ce04dd87fdd639959">epoch</a>();</div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span>  <s pan class="keyword">static</span> <a class="code" href="classprocess_1_1Time.html">Time</a> <a class="code" href="classprocess_1_1Time.html#a45c081fba8c8a6c2e0d6c30580d95645">max</a>();</div><div class="line"><a name="l00033"></a><span class="lineno"> 33</span> </div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span>  <span class="keyword">static</span> <a class="code" href="classTry.html">Try<Time></a> <a class="code" href="classprocess_1_1Time.html#a7fa791510b349cfadefe26460730cc2a">create</a>(<span class="keywordtype">double</span> seconds);</div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span> </div><div class="line"><a name="l00036"></a><span class="lineno"><a class="line" href="classprocess_1_1Time.html#a526a30c9b274aed438ee67e7bf732739"> 36</a></span>  <a class="code" href="classDuration.html">Duration</a> <a class="code" href="classprocess_1_1Time.html#a526a30c9b274aed438ee67e7bf732739">duration</a >()<span class="keyword"> const </span>{ <span >class="keywordflow">return</span> sinceEpoch; }</div><div class="line"><a >name="l00037"></a><span class="lineno"> 37</span> </div><div >class="line"><a name="l00038"></a><span class="lineno"><a class="line" >href="classprocess_1_1Time.html#ad53332e484f20346b0373178a08779f0"> >38</a></span>  <span class="keywordtype">double</span> <a class="code" >href="classprocess_1_1Time.html#ad53332e484f20346b0373178a08779f0">secs</a>()<span > class="keyword"> const </span>{ <span class="keywordflow">return</span> >sinceEpoch.<a class="code" >href="classDuration.html#a31ebb8d92dc93914cb830d70753d802b">secs</a>(); >}</div><div class="line"><a name="l00039"></a><span class="lineno"> >39</span> </div><div class="line"><a name="l00040"></a><span >class="lineno"><a class="line" >href="classprocess_1_1Time.html#ae8ee1051fa658d66a8965f408490397a"> >40</a></span>  <span class="keywordtype">bool</span> <a class="code" >href="classprocess_1_1Ti me.html#ae8ee1051fa658d66a8965f408490397a">operator<</a>(<span class="keyword">const</span> <a class="code" href="classprocess_1_1Time.html">Time</a>& t)<span class="keyword"> const </span>{ <span class="keywordflow">return</span> sinceEpoch < t.sinceEpoch; }</div><div class="line"><a name="l00041"></a><span class="lineno"><a class="line" href="classprocess_1_1Time.html#a0bce2dc99a413504dd66a56fa834360f"> 41</a></span>  <span class="keywordtype">bool</span> <a class="code" href="classprocess_1_1Time.html#a0bce2dc99a413504dd66a56fa834360f">operator<=</a>(<span class="keyword">const</span> <a class="code" href="classprocess_1_1Time.html">Time</a>& t)<span class="keyword"> const </span>{ <span class="keywordflow">return</span> sinceEpoch <= t.sinceEpoch; }</div><div class="line"><a name="l00042"></a><span class="lineno"><a class="line" href="classprocess_1_1Time.html#a2082db6e45ef09c154db1e06df68a4e9"> 42</a></span>  <span class="keywordtype">bool</s pan> <a class="code" href="classprocess_1_1Time.html#a2082db6e45ef09c154db1e06df68a4e9">operator></a>(<span class="keyword">const</span> <a class="code" href="classprocess_1_1Time.html">Time</a>& t)<span class="keyword"> const </span>{ <span class="keywordflow">return</span> sinceEpoch > t.sinceEpoch; }</div><div class="line"><a name="l00043"></a><span class="lineno"><a class="line" href="classprocess_1_1Time.html#a86b53a660603271a4a840f559ea7b79c"> 43</a></span>  <span class="keywordtype">bool</span> <a class="code" href="classprocess_1_1Time.html#a86b53a660603271a4a840f559ea7b79c">operator>=</a>(<span class="keyword">const</span> <a class="code" href="classprocess_1_1Time.html">Time</a>& t)<span class="keyword"> const </span>{ <span class="keywordflow">return</span> sinceEpoch >= t.sinceEpoch; }</div><div class="line"><a name="l00044"></a><span class="lineno"><a class="line" href="classprocess_1_1Time.html#a4ab86bc8f1fa04c645e2cd5e6a6d9aa8"> 44</a></s pan>  <span class="keywordtype">bool</span> <a class="code" href="classprocess_1_1Time.html#a4ab86bc8f1fa04c645e2cd5e6a6d9aa8">operator==</a>(<span class="keyword">const</span> <a class="code" href="classprocess_1_1Time.html">Time</a>& t)<span class="keyword"> const </span>{ <span class="keywordflow">return</span> sinceEpoch == t.sinceEpoch; }</div><div class="line"><a name="l00045"></a><span class="lineno"><a class="line" href="classprocess_1_1Time.html#a2adc49ac4fcc65aa1773f32615c0c92e"> 45</a></span>  <span class="keywordtype">bool</span> <a class="code" href="classprocess_1_1Time.html#a2adc49ac4fcc65aa1773f32615c0c92e">operator!=</a>(<span class="keyword">const</span> <a class="code" href="classprocess_1_1Time.html">Time</a>& t)<span class="keyword"> const </span>{ <span class="keywordflow">return</span> sinceEpoch != t.sinceEpoch; }</div><div class="line"><a name="l00046"></a><span class="lineno"> 46</span> </div><div class="line"><a name="l00047">< /a><span class="lineno"><a class="line" href="classprocess_1_1Time.html#af2abb64c154a7b00612af4351d90c89d"> 47</a></span>  <a class="code" href="classprocess_1_1Time.html">Time</a>& <a class="code" href="classprocess_1_1Time.html#af2abb64c154a7b00612af4351d90c89d">operator+=</a>(<span class="keyword">const</span> <a class="code" href="classDuration.html">Duration</a>& d)</div><div class="line"><a name="l00048"></a><span class="lineno"> 48</span>  {</div><div class="line"><a name="l00049"></a><span class="lineno"> 49</span>  sinceEpoch += d;</div><div class="line"><a name="l00050"></a><span class="lineno"> 50</span>  <span class="keywordflow">return</span> *<span class="keyword">this</span>;</div><div class="line"><a name="l00051"></a><span class="lineno"> 51</span>  }</div><div class="line"><a name="l00052"></a><span class="lineno"> 52</span> </div><div class="line"><a name="l00053"></a><span class="lineno"><a class="line" h ref="classprocess_1_1Time.html#aa0a23d5b519d3dfe65e880e94f75013f"> 53</a></span>  <a class="code" href="classprocess_1_1Time.html">Time</a>& <a class="code" href="classprocess_1_1Time.html#aa0a23d5b519d3dfe65e880e94f75013f">operator-=</a>(<span class="keyword">const</span> <a class="code" href="classDuration.html">Duration</a>& d)</div><div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  {</div><div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  sinceEpoch -= d;</div><div class="line"><a name="l00056"></a><span class="lineno"> 56</span>  <span class="keywordflow">return</span> *<span class="keyword">this</span>;</div><div class="line"><a name="l00057"></a><span class="lineno"> 57</span>  }</div><div class="line"><a name="l00058"></a><span class="lineno"> 58</span> </div><div class="line"><a name="l00059"></a><span class="lineno"><a class="line" href="classprocess_1_1Time.html#a79f49b5c0 4b7fb2fecd63951ebbfea84"> 59</a></span>  <a class="code" href="classDuration.html">Duration</a> <a class="code" href="classprocess_1_1Time.html#a79f49b5c04b7fb2fecd63951ebbfea84">operator-</a>(<span class="keyword">const</span> <a class="code" href="classprocess_1_1Time.html">Time</a>& that)<span class="keyword"> const</span></div><div class="line"><a name="l00060"></a><span class="lineno"> 60</span> <span class="keyword"> </span>{</div><div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  <span class="keywordflow">return</span> sinceEpoch - that.sinceEpoch;</div><div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  }</div><div class="line"><a name="l00063"></a><span class="lineno"> 63</span> </div><div class="line"><a name="l00064"></a><span class="lineno"><a class="line" href="classprocess_1_1Time.html#aa0bbaf68198e68e7839727ed95b4c176"> 64</a></span>  <a class="code" href="classprocess_1_1Tim e.html">Time</a> <a class="code" href="classprocess_1_1Time.html#aa0bbaf68198e68e7839727ed95b4c176">operator+</a>(<span class="keyword">const</span> <a class="code" href="classDuration.html">Duration</a>& <a class="code" href="classprocess_1_1Time.html#a526a30c9b274aed438ee67e7bf732739">duration</a>)<span class="keyword"> const</span></div><div class="line"><a name="l00065"></a><span class="lineno"> 65</span> <span class="keyword"> </span>{</div><div class="line"><a name="l00066"></a><span class="lineno"> 66</span>  <a class="code" href="classprocess_1_1Time.html">Time</a> new_ = *<span class="keyword">this</span>;</div><div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  new_ += <a class="code" href="classprocess_1_1Time.html#a526a30c9b274aed438ee67e7bf732739">duration</a>;</div><div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  <span class="keywordflow">return</span> new_;</div><div class="line"><a n ame="l00069"></a><span class="lineno"> 69</span>  }</div><div class="line"><a name="l00070"></a><span class="lineno"> 70</span> </div><div class="line"><a name="l00071"></a><span class="lineno"><a class="line" href="classprocess_1_1Time.html#a58892120c356c9d7c405477f602930e0"> 71</a></span>  <a class="code" href="classprocess_1_1Time.html">Time</a> <a class="code" href="classprocess_1_1Time.html#a58892120c356c9d7c405477f602930e0">operator-</a>(<span class="keyword">const</span> <a class="code" href="classDuration.html">Duration</a>& <a class="code" href="classprocess_1_1Time.html#a526a30c9b274aed438ee67e7bf732739">duration</a>)<span class="keyword"> const</span></div><div class="line"><a name="l00072"></a><span class="lineno"> 72</span> <span class="keyword"> </span>{</div><div class="line"><a name="l00073"></a><span class="lineno"> 73</span>  <a class="code" href="classprocess_1_1Time.html">Time</a> new_ = *<span class="keyword">this</sp an>;</div><div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  new_ -= <a class="code" href="classprocess_1_1Time.html#a526a30c9b274aed438ee67e7bf732739">duration</a>;</div><div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  <span class="keywordflow">return</span> new_;</div><div class="line"><a name="l00076"></a><span class="lineno"> 76</span>  }</div><div class="line"><a name="l00077"></a><span class="lineno"> 77</span> </div><div class="line"><a name="l00078"></a><span class="lineno"> 78</span> <span class="keyword">private</span>:</div><div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  <a class="code" href="classDuration.html">Duration</a> sinceEpoch;</div><div class="line"><a name="l00080"></a><span class="lineno"> 80</span> </div><div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  <span class="comment">// Made it private to avoid the confusion between Time and Duration.</span></div><div class="line"><a name="l00082"></a><span class="lineno"> 82</span>  <span class="comment">// Users should explicitly use Clock::now() and Time::create() to</span></div><div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  <span class="comment">// create a new time instance.</span></div><div class="line"><a name="l00084"></a><span class="lineno"> 84</span>  <span class="keyword">explicit</span> <a class="code" href="classprocess_1_1Time.html#a556f4005b624bc2ea40dd313634c3de1">Time</a>(<span class="keyword">const</span> <a class="code" href="classDuration.html">Duration</a>& _sinceEpoch) : sinceEpoch(_sinceEpoch) {}</div><div class="line"><a name="l00085"></a><span class="lineno"> 85</span> };</div><div class="line"><a name="l00086"></a><span class="lineno"> 86</span> </div><div class="line"><a name="l00087"></a><span class="lineno"><a class="line" href="classprocess_1_1Tim e.html#adaf82d5f3d8c886ce04dd87fdd639959"> 87</a></span> <span class="keyword">inline</span> <a class="code" href="classprocess_1_1Time.html">Time</a> <a class="code" href="classprocess_1_1Time.html#adaf82d5f3d8c886ce04dd87fdd639959">Time::epoch</a>() { <span class="keywordflow">return</span> <a class="code" href="classprocess_1_1Time.html#a556f4005b624bc2ea40dd313634c3de1">Time</a>(<a class="code" href="classDuration.html#a3c45d1cc69ecf64cd63180ea2b1eddae">Duration::zero</a>()); }</div><div class="line"><a name="l00088"></a><span class="lineno"><a class="line" href="classprocess_1_1Time.html#a45c081fba8c8a6c2e0d6c30580d95645"> 88</a></span> <span class="keyword">inline</span> <a class="code" href="classprocess_1_1Time.html">Time</a> <a class="code" href="classprocess_1_1Time.html#a45c081fba8c8a6c2e0d6c30580d95645">Time::max</a>() { <span class="keywordflow">return</span> <a class="code" href="classprocess_1_1Time.html#a556f4005b624bc2ea40dd313634c3de1">Time</a>(<a cla ss="code" href="classDuration.html#ad25211d061e6002a5093eab4514fc1f5">Duration::max</a>()); }</div><div class="line"><a name="l00089"></a><span class="lineno"> 89</span> </div><div class="line"><a name="l00090"></a><span class="lineno"> 90</span> </div><div class="line"><a name="l00091"></a><span class="lineno"> 91</span> <span class="comment">// Stream manipulator class which serializes Time objects in RFC 1123</span></div><div class="line"><a name="l00092"></a><span class="lineno"> 92</span> <span class="comment">// format (Also known as HTTP Date format).</span></div><div class="line"><a name="l00093"></a><span class="lineno"> 93</span> <span class="comment">// The serialization is independent from the locale and ready to be</span></div><div class="line"><a name="l00094"></a><span class="lineno"> 94</span> <span class="comment">// used in HTTP Headers.</span></div><div class="line"><a name="l00095"></a><span class="lineno"> 95</span> 60;<span class="comment">// Example: Wed, 15 Nov 1995 04:58:08 GMT</span></div><div class="line"><a name="l00096"></a><span class="lineno"> 96</span> <span class="comment">// See http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html</span></div><div class="line"><a name="l00097"></a><span class="lineno"> 97</span> <span class="comment">// section 14.18.</span></div><div class="line"><a name="l00098"></a><span class="lineno"> 98</span> <span class="comment">// See https://www.ietf.org/rfc/rfc1123.txt section 5.2.14</span></div><div class="line"><a name="l00099"></a><span class="lineno"><a class="line" href="classprocess_1_1RFC1123.html"> 99</a></span> <span class="keyword">class </span><a class="code" href="classprocess_1_1RFC1123.html">RFC1123</a></div><div class="line"><a name="l00100"></a><span class="lineno"> 100</span> {</div><div class="line"><a name="l00101"></a><span class="lineno"> 101</span> <span class="keyword">public</span>:</div> <div class="line"><a name="l00102"></a><span class="lineno"><a class="line" href="classprocess_1_1RFC1123.html#ad69302937223e8c4ccf7191cff44cb1d"> 102</a></span>  <span class="keyword">explicit</span> <a class="code" href="classprocess_1_1RFC1123.html#ad69302937223e8c4ccf7191cff44cb1d">RFC1123</a>(<span class="keyword">const</span> <a class="code" href="classprocess_1_1Time.html">Time</a>& _time) : <a class="code" href="namespacecgroups_1_1blkio_1_1cfq.html#abe4d7d69fdf7ca70fb30c6cd34a953e4">time</a>(_time) {}</div><div class="line"><a name="l00103"></a><span class="lineno"> 103</span> </div><div class="line"><a name="l00104"></a><span class="lineno"> 104</span> <span class="keyword">private</span>:</div><div class="line"><a name="l00105"></a><span class="lineno"> 105</span>  <span class="keyword">friend</span> std::ostream& <a class="code" href="namespaceprocess.html#a1f0b8b2ea7d75c3b9d8d4781689f731b">operator<<</a>(</div><div class="line"><a name="l00106"></a><span class="lineno"> 106</span>  std::ostream& stream,</div><div class="line"><a name="l00107"></a><span class="lineno"> 107</span>  <span class="keyword">const</span> <a class="code" href="classprocess_1_1RFC1123.html">RFC1123</a>& formatter);</div><div class="line"><a name="l00108"></a><span class="lineno"> 108</span> </div><div class="line"><a name="l00109"></a><span class="lineno"> 109</span>  <span class="keyword">const</span> <a class="code" href="classprocess_1_1Time.html">Time</a> <a class="code" href="namespacecgroups_1_1blkio_1_1cfq.html#abe4d7d69fdf7ca70fb30c6cd34a953e4">time</a>;</div><div class="line"><a name="l00110"></a><span class="lineno"> 110</span> };</div><div class="line"><a name="l00111"></a><span class="lineno"> 111</span> </div><div class="line"><a name="l00112"></a><span class="lineno"> 112</span> </div><div class="line"><a name="l00113"></a><span class="lineno"> 113</span> 0;std::ostream& <a class="code" href="namespaceprocess.html#a1f0b8b2ea7d75c3b9d8d4781689f731b">operator<<</a>(std::ostream& stream, <span class="keyword">const</span> <a class="code" href="classprocess_1_1RFC1123.html">RFC1123</a>& formatter);</div><div class="line"><a name="l00114"></a><span class="lineno"> 114</span> </div><div class="line"><a name="l00115"></a><span class="lineno"> 115</span> </div><div class="line"><a name="l00116"></a><span class="lineno"> 116</span> <span class="comment">// Stream manipulator class which serializes Time objects in RFC 3339</span></div><div class="line"><a name="l00117"></a><span class="lineno"> 117</span> <span class="comment">// format.</span></div><div class="line"><a name="l00118"></a><span class="lineno"> 118</span> <span class="comment">// Example: 1996-12-19T16:39:57-08:00,234</span></div><div class="line"><a name="l00119"></a><span class="lineno"><a class="line" href="classprocess_1_1RFC33 39.html"> 119</a></span> <span class="keyword">class </span><a class="code" href="classprocess_1_1RFC3339.html">RFC3339</a></div><div class="line"><a name="l00120"></a><span class="lineno"> 120</span> {</div><div class="line"><a name="l00121"></a><span class="lineno"> 121</span> <span class="keyword">public</span>:</div><div class="line"><a name="l00122"></a><span class="lineno"><a class="line" href="classprocess_1_1RFC3339.html#aecb9fc8fa8996dd683a1c8d33ec95c7a"> 122</a></span>  <span class="keyword">explicit</span> <a class="code" href="classprocess_1_1RFC3339.html#aecb9fc8fa8996dd683a1c8d33ec95c7a">RFC3339</a>(<span class="keyword">const</span> <a class="code" href="classprocess_1_1Time.html">Time</a>& _time) : <a class="code" href="namespacecgroups_1_1blkio_1_1cfq.html#abe4d7d69fdf7ca70fb30c6cd34a953e4">time</a>(_time) {}</div><div class="line"><a name="l00123"></a><span class="lineno"> 123</span> </div><div class="line"><a name="l00124"></a><s pan class="lineno"> 124</span> <span class="keyword">private</span>:</div><div class="line"><a name="l00125"></a><span class="lineno"> 125</span>  <span class="keyword">friend</span> std::ostream& <a class="code" href="namespaceprocess.html#a1f0b8b2ea7d75c3b9d8d4781689f731b">operator<<</a>(std::ostream& stream, <span class="keyword">const</span> <a class="code" href="classprocess_1_1RFC3339.html">RFC3339</a>& <a class="code" href="namespacestrings_1_1internal.html#a870e2db270d980f83de20525ec414d2a">format</a>);</div><div class="line"><a name="l00126"></a><span class="lineno"> 126</span> </div><div class="line"><a name="l00127"></a><span class="lineno"> 127</span>  <span class="keyword">const</span> <a class="code" href="classprocess_1_1Time.html">Time</a> <a class="code" href="namespacecgroups_1_1blkio_1_1cfq.html#abe4d7d69fdf7ca70fb30c6cd34a953e4">time</a>;</div><div class="line"><a name="l00128"></a><span class="lineno"> 128</span>  ;};</div><div class="line"><a name="l00129"></a><span class="lineno"> 129</span> </div><div class="line"><a name="l00130"></a><span class="lineno"> 130</span> </div><div class="line"><a name="l00131"></a><span class="lineno"> 131</span> std::ostream& <a class="code" href="namespaceprocess.html#a1f0b8b2ea7d75c3b9d8d4781689f731b">operator<<</a>(std::ostream& stream, <span class="keyword">const</span> <a class="code" href="classprocess_1_1RFC3339.html">RFC3339</a>& formatter);</div><div class="line"><a name="l00132"></a><span class="lineno"> 132</span> </div><div class="line"><a name="l00133"></a><span class="lineno"> 133</span> </div><div class="line"><a name="l00134"></a><span class="lineno"> 134</span> <span class="comment">// Outputs the time in RFC 3339 Format.</span></div><div class="line"><a name="l00135"></a><span class="lineno"><a class="line" href="namespaceprocess.html#a549e763d44bfc037bbfcf9558c72aa50"> 135</a></span>&# 160;<span class="keyword">inline</span> std::ostream& <a class="code" href="namespaceprocess.html#a1f0b8b2ea7d75c3b9d8d4781689f731b">operator<<</a>(std::ostream& stream, <span class="keyword">const</span> <a class="code" href="classprocess_1_1Time.html">Time</a>& <a class="code" href="namespacecgroups_1_1blkio_1_1cfq.html#abe4d7d69fdf7ca70fb30c6cd34a953e4">time</a>)</div><div class="line"><a name="l00136"></a><span class="lineno"> 136</span> {</div><div class="line"><a name="l00137"></a><span class="lineno"> 137</span>  stream << <a class="code" href="classprocess_1_1RFC3339.html">RFC3339</a>(time);</div><div class="line"><a name="l00138"></a><span class="lineno"> 138</span>  <span class="keywordflow">return</span> stream;</div><div class="line"><a name="l00139"></a><span class="lineno"> 139</span> }</div><div class="line"><a name="l00140"></a><span class="lineno"> 140</span> </div><div class="line"><a name="l00141"></a><span c lass="lineno"> 141</span> } <span class="comment">// namespace process {</span></div><div class="line"><a name="l00142"></a><span class="lineno"> 142</span> </div><div class="line"><a name="l00143"></a><span class="lineno"> 143</span> <span class="preprocessor">#endif // __PROCESS_TIME_HPP__</span></div><div class="ttc" id="classprocess_1_1Time_html_ae8ee1051fa658d66a8965f408490397a"><div class="ttname"><a href="classprocess_1_1Time.html#ae8ee1051fa658d66a8965f408490397a">process::Time::operator<</a></div><div class="ttdeci">bool operator<(const Time &t) const </div><div class="ttdef"><b>Definition:</b> time.hpp:40</div></div> -<div class="ttc" id="namespaceprocess_html_a1f0b8b2ea7d75c3b9d8d4781689f731b"><div class="ttname"><a href="namespaceprocess.html#a1f0b8b2ea7d75c3b9d8d4781689f731b">process::operator<<</a></div><div class="ttdeci">std::ostream & operator<<(std::ostream &stream, const Future< T > &future)</div><div class="ttdef"><b>Definition:</b> future.hpp:1831</div></div> +<div class="ttc" id="namespaceprocess_html_a1f0b8b2ea7d75c3b9d8d4781689f731b"><div class="ttname"><a href="namespaceprocess.html#a1f0b8b2ea7d75c3b9d8d4781689f731b">process::operator<<</a></div><div class="ttdeci">std::ostream & operator<<(std::ostream &stream, const Future< T > &future)</div><div class="ttdef"><b>Definition:</b> future.hpp:1838</div></div> <div class="ttc" id="classprocess_1_1Time_html_a58892120c356c9d7c405477f602930e0"><div class="ttname"><a href="classprocess_1_1Time.html#a58892120c356c9d7c405477f602930e0">process::Time::operator-</a></div><div class="ttdeci">Time operator-(const Duration &duration) const </div><div class="ttdef"><b>Definition:</b> time.hpp:71</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="classprocess_1_1Time_html_a2082db6e45ef09c154db1e06df68a4e9"><div class="ttname"><a href="classprocess_1_1Time.html#a2082db6e45ef09c154db1e06df68a4e9">process::Time::operator></a></div><div class="ttdeci">bool operator>(const Time &t) const </div><div class="ttdef"><b>Definition:</b> time.hpp:42</div></div> http://git-wip-us.apache.org/repos/asf/mesos-site/blob/805f4c5b/content/api/latest/c++/timeseries_8hpp_source.html ---------------------------------------------------------------------- diff --git a/content/api/latest/c++/timeseries_8hpp_source.html b/content/api/latest/c++/timeseries_8hpp_source.html index 4990062..4e9b2d9 100644 --- a/content/api/latest/c++/timeseries_8hpp_source.html +++ b/content/api/latest/c++/timeseries_8hpp_source.html @@ -57,7 +57,7 @@ <div class="ttc" id="structprocess_1_1TimeSeries_html_a8fd91415653d305e8793416f8c4ff797"><div class="ttname"><a href="structprocess_1_1TimeSeries.html#a8fd91415653d305e8793416f8c4ff797">process::TimeSeries::TimeSeries</a></div><div class="ttdeci">TimeSeries(const Duration &_window=TIME_SERIES_WINDOW, size_t _capacity=TIME_SERIES_CAPACITY)</div><div class="ttdef"><b>Definition:</b> timeseries.hpp:59</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="namespacestd_html"><div class="ttname"><a href="namespacestd.html">std</a></div><div class="ttdef"><b>Definition:</b> type_utils.hpp:510</div></div> -<div class="ttc" id="namespaceprocess_1_1internal_html_a64e590c9a40c4ead4b969d6a64cd8181"><div class="ttname"><a href="namespaceprocess_1_1internal.html#a64e590c9a40c4ead4b969d6a64cd8181">process::internal::expired</a></div><div class="ttdeci">void expired(const std::shared_ptr< lambda::CallableOnce< Future< T >(const Future< T > &)>> &f, const std::shared_ptr< Latch > &latch, const std::shared_ptr< Promise< T >> &promise, const std::shared_ptr< Option< Timer >> &timer, const Future< T > &future)</div><div class="ttdef"><b>Definition:</b> future.hpp:1526</div></div> +<div class="ttc" id="namespaceprocess_1_1internal_html_a64e590c9a40c4ead4b969d6a64cd8181"><div class="ttname"><a href="namespaceprocess_1_1internal.html#a64e590c9a40c4ead4b969d6a64cd8181">process::internal::expired</a></div><div class="ttdeci">void expired(const std::shared_ptr< lambda::CallableOnce< Future< T >(const Future< T > &)>> &f, const std::shared_ptr< Latch > &latch, const std::shared_ptr< Promise< T >> &promise, const std::shared_ptr< Option< Timer >> &timer, const Future< T > &future)</div><div class="ttdef"><b>Definition:</b> future.hpp:1533</div></div> <div class="ttc" id="structprocess_1_1TimeSeries_1_1Value_html_aa79af31717d87775443d28f7534159e6"><div class="ttname"><a href="structprocess_1_1TimeSeries_1_1Value.html#aa79af31717d87775443d28f7534159e6">process::TimeSeries::Value::Value</a></div><div class="ttdeci">Value(const Time &_time, const T &_data)</div><div class="ttdef"><b>Definition:</b> timeseries.hpp:67</div></div> <div class="ttc" id="classDuration_html"><div class="ttname"><a href="classDuration.html">Duration</a></div><div class="ttdef"><b>Definition:</b> duration.hpp:32</div></div> <div class="ttc" id="namespaceprocess_html_a1865c52e226d6f280d63dd80884dd959"><div class="ttname"><a href="namespaceprocess.html#a1865c52e226d6f280d63dd80884dd959">process::TIME_SERIES_WINDOW</a></div><div class="ttdeci">const Duration TIME_SERIES_WINDOW</div></div> http://git-wip-us.apache.org/repos/asf/mesos-site/blob/805f4c5b/content/api/latest/c++/uri__disk__profile__adaptor_8hpp_source.html ---------------------------------------------------------------------- diff --git a/content/api/latest/c++/uri__disk__profile__adaptor_8hpp_source.html b/content/api/latest/c++/uri__disk__profile__adaptor_8hpp_source.html index 5c3fea5..9bfe1ac 100644 --- a/content/api/latest/c++/uri__disk__profile__adaptor_8hpp_source.html +++ b/content/api/latest/c++/uri__disk__profile__adaptor_8hpp_source.html @@ -105,7 +105,7 @@ <div class="ttc" id="3rdparty_2libprocess_2include_2process_2ssl_2flags_8hpp_html"><div class="ttname"><a href="3rdparty_2libprocess_2include_2process_2ssl_2flags_8hpp.html">flags.hpp</a></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="strings_8hpp_html"><div class="ttname"><a href="strings_8hpp.html">strings.hpp</a></div></div> -<div class="ttc" id="classprocess_1_1Future_html"><div class="ttname"><a href="classprocess_1_1Future.html">process::Future</a></div><div class="ttdef"><b>Definition:</b> future.hpp:57</div></div> +<div class="ttc" id="classprocess_1_1Future_html"><div class="ttname"><a href="classprocess_1_1Future.html">process::Future</a></div><div class="ttdef"><b>Definition:</b> future.hpp:58</div></div> </div><!-- fragment --></div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> http://git-wip-us.apache.org/repos/asf/mesos-site/blob/805f4c5b/content/api/latest/c++/v1_2scheduler_8hpp_source.html ---------------------------------------------------------------------- diff --git a/content/api/latest/c++/v1_2scheduler_8hpp_source.html b/content/api/latest/c++/v1_2scheduler_8hpp_source.html index 5df97b7..9688015 100644 --- a/content/api/latest/c++/v1_2scheduler_8hpp_source.html +++ b/content/api/latest/c++/v1_2scheduler_8hpp_source.html @@ -68,7 +68,7 @@ <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="classmesos_1_1v1_1_1scheduler_1_1MesosBase_html_ae3ae5afeb5f3dbe81fb1f68107e2c361"><div class="ttname"><a href="classmesos_1_1v1_1_1scheduler_1_1MesosBase.html#ae3ae5afeb5f3dbe81fb1f68107e2c361">mesos::v1::scheduler::MesosBase::~MesosBase</a></div><div class="ttdeci">virtual ~MesosBase()</div><div class="ttdef"><b>Definition:</b> scheduler.hpp:53</div></div> <div class="ttc" id="include_2mesos_2v1_2mesos_8hpp_html"><div class="ttname"><a href="include_2mesos_2v1_2mesos_8hpp.html">mesos.hpp</a></div></div> -<div class="ttc" id="classprocess_1_1Future_html"><div class="ttname"><a href="classprocess_1_1Future.html">process::Future</a></div><div class="ttdef"><b>Definition:</b> future.hpp:57</div></div> +<div class="ttc" id="classprocess_1_1Future_html"><div class="ttname"><a href="classprocess_1_1Future.html">process::Future</a></div><div class="ttdef"><b>Definition:</b> future.hpp:58</div></div> </div><!-- fragment --></div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> http://git-wip-us.apache.org/repos/asf/mesos-site/blob/805f4c5b/content/api/latest/c++/watcher_8hpp_source.html ---------------------------------------------------------------------- diff --git a/content/api/latest/c++/watcher_8hpp_source.html b/content/api/latest/c++/watcher_8hpp_source.html index 79b908b..8631d14 100644 --- a/content/api/latest/c++/watcher_8hpp_source.html +++ b/content/api/latest/c++/watcher_8hpp_source.html @@ -53,7 +53,7 @@ </div><!--header--> <div class="contents"> <a href="watcher_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 class="lineno"> 3</span> <span class="comment">// distributed with this work for additional information</span></div><div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment">// regarding copyright ownership. The ASF licenses this file</span></div><div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment">// to you under the Apache License, Version 2.0 (the</span></div><div class="line"><a name="l00006"></a><span cla ss="lineno"> 6</span> <span class="comment">// "License"); you may not use this file except in compliance</span></div><div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment">// with the License. You may obtain a copy of the License at</span></div><div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment">//</span></div><div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment">// http://www.apache.org/licenses/LICENSE-2.0</span></div><div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment">//</span></div><div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment">// Unless required by applicable law or agreed to in writing, software</span></div><div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="comment">// distribut ed under the License is distributed on an "AS IS" BASIS,</span></div><div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="comment">// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</span></div><div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="comment">// See the License for the specific language governing permissions and</span></div><div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="comment">// limitations under the License</span></div><div class="line"><a name="l00016"></a><span class="lineno"> 16</span> </div><div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="preprocessor">#ifndef __MESOS_ZOOKEEPER_WATCHER_HPP__</span></div><div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="preprocessor">#define __MESOS_ZOOKEEPER_WATCHER_HPP__</span></div><div class="line"><a name="l00019"></a><span class="lineno"> 19</span> </div><div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="preprocessor">#include <stdint.h></span></div><div class="line"><a name="l00021"></a><span class="lineno"> 21</span> </div><div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="preprocessor">#include <glog/logging.h></span></div><div class="line"><a name="l00023"></a><span class="lineno"> 23</span> </div><div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="preprocessor">#include <<a class="code" href="include_2mesos_2zookeeper_2zookeeper_8hpp.html">mesos/zookeeper/zookeeper.hpp</a>></span></div><div class="line"><a name="l00025"></a><span class="lineno"> 25</span> </div><div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="preprocessor">#include <<a class="code" h ref="dispatch_8hpp.html">process/dispatch.hpp</a>></span></div><div class="line"><a name="l00027"></a><span class="lineno"> 27</span> </div><div class="line"><a name="l00028"></a><span class="lineno"> 28</span> </div><div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="comment">// A watcher which dispatches events to a process. Note that it is</span></div><div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="comment">// only "safe" to reuse an instance across ZooKeeper instances after a</span></div><div class="line"><a name="l00031"></a><span class="lineno"> 31</span> <span class="comment">// session expiration. TODO(benh): Add a 'reset/initialize' to the</span></div><div class="line"><a name="l00032"></a><span class="lineno"> 32</span> <span class="comment">// Watcher so that a single instance can be reused.</span></div><div class="line"><a name="l00033"></a>< span class="lineno"> 33</span> <span class="comment">// NOTE: By the time the dispatched events are processed by 'pid',</span></div><div class="line"><a name="l00034"></a><span class="lineno"> 34</span> <span class="comment">// its session ID may have changed! Therefore, we pass the session ID</span></div><div class="line"><a name="l00035"></a><span class="lineno"> 35</span> <span class="comment">// for the event to allow the 'pid' Process to check for staleness.</span></div><div class="line"><a name="l00036"></a><span class="lineno"> 36</span> <span class="keyword">template</span> <<span class="keyword">typename</span> T></div><div class="line"><a name="l00037"></a><span class="lineno"><a class="line" href="classProcessWatcher.html"> 37</a></span> <span class="keyword">class </span><a class="code" href="classProcessWatcher.html">ProcessWatcher</a> : <span class="keyword">public</span> <a class="code" href="classWatcher.html"> Watcher</a></div><div class="line"><a name="l00038"></a><span class="lineno"> 38</span> {</div><div class="line"><a name="l00039"></a><span class="lineno"> 39</span> <span class="keyword">public</span>:</div><div class="line"><a name="l00040"></a><span class="lineno"><a class="line" href="classProcessWatcher.html#ae6f5acc4af4d936adca882e2274e6491"> 40</a></span>  <span class="keyword">explicit</span> <a class="code" href="classProcessWatcher.html#ae6f5acc4af4d936adca882e2274e6491">ProcessWatcher</a>(<span class="keyword">const</span> <a class="code" href="structprocess_1_1PID.html">process::PID<T></a>& _pid)</div><div class="line"><a name="l00041"></a><span class="lineno"> 41</span>  : pid(_pid), reconnect(false) {}</div><div class="line"><a name="l00042"></a><span class="lineno"> 42</span> </div><div class="line"><a name="l00043"></a><span class="lineno"><a class="line" href="classProcessWatcher.html#a8858c74f313c22f72836beabb73e7c27 "> 43</a></span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classProcessWatcher.html#a8858c74f313c22f72836beabb73e7c27">process</a>(</div><div class="line"><a name="l00044"></a><span class="lineno"> 44</span>  <span class="keywordtype">int</span> <a class="code" href="namespacemesos_1_1internal_1_1fs.html#a2343e2642db514496ba8380776487fba">type</a>,</div><div class="line"><a name="l00045"></a><span class="lineno"> 45</span>  <span class="keywordtype">int</span> state,</div><div class="line"><a name="l00046"></a><span class="lineno"> 46</span>  int64_t sessionId,</div><div class="line"><a name="l00047"></a><span class="lineno"> 47</span>  <span class="keyword">const</span> std::string& <a class="code" href="namespacepath.html">path</a>)</div><div class="line"><a name="l00048"></a><span class="lineno"> 48</span>  {</div><div class="line"><a name="l00049"></a><span class="lineno"> 49</span>  <span class="keywordflow">if</span> (type == ZOO_SESSION_EVENT) {</div><div class="line"><a name="l00050"></a><span class="lineno"> 50</span>  <span class="keywordflow">if</span> (state == ZOO_CONNECTED_STATE) {</div><div class="line"><a name="l00051"></a><span class="lineno"> 51</span>  <span class="comment">// Connected (initial or reconnect).</span></div><div class="line"><a name="l00052"></a><span class="lineno"> 52</span>  <a class="code" href="namespaceprocess.html#acfbc29404bc653268289691b0dd59e22">process::dispatch</a>(pid, &T::connected, sessionId, reconnect);</div><div class="line"><a name="l00053"></a><span class="lineno"> 53</span>  <span class="comment">// If this watcher gets reused then the next connected</span></div><div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  <span class="comment">// event shouldn't be perceived as a reconnect. </span></div><div class="line"><a name="l00055"></a><span class="lineno"> 55</span>  reconnect = <span class="keyword">false</span>;</div><div class="line"><a name="l00056"></a><span class="lineno"> 56</span>  } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (state == ZOO_CONNECTING_STATE) {</div><div class="line"><a name="l00057"></a><span class="lineno"> 57</span>  <span class="comment">// The client library automatically reconnects, taking</span></div><div class="line"><a name="l00058"></a><span class="lineno"> 58</span>  <span class="comment">// into account failed servers in the connection string,</span></div><div class="line"><a name="l00059"></a><span class="lineno"> 59</span>  <span class="comment">// appropriately handling the "herd effect", etc.</span></div><div class="line"><a name="l00060"></a><span class="lineno"> 60</span>  <a class="code" href="namesp aceprocess.html#acfbc29404bc653268289691b0dd59e22">process::dispatch</a>(pid, &T::reconnecting, sessionId);</div><div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  <span class="comment">// TODO(benh): If this watcher gets reused then the next</span></div><div class="line"><a name="l00062"></a><span class="lineno"> 62</span>  <span class="comment">// connected event will be perceived as a reconnect, but it</span></div><div class="line"><a name="l00063"></a><span class="lineno"> 63</span>  <span class="comment">// should not.</span></div><div class="line"><a name="l00064"></a><span class="lineno"> 64</span>  reconnect = <span class="keyword">true</span>;</div><div class="line"><a name="l00065"></a><span class="lineno"> 65</span>  } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (state == ZOO_EXPIRED_SESSION_STATE) {</div><div class="line"><a name="l00066"></a><span c lass="lineno"> 66</span>  <a class="code" href="namespaceprocess.html#acfbc29404bc653268289691b0dd59e22">process::dispatch</a>(pid, &<a class="code" href="namespaceprocess_1_1internal.html#a64e590c9a40c4ead4b969d6a64cd8181">T::expired</a>, sessionId);</div><div class="line"><a name="l00067"></a><span class="lineno"> 67</span>  <span class="comment">// If this watcher gets reused then the next connected</span></div><div class="line"><a name="l00068"></a><span class="lineno"> 68</span>  <span class="comment">// event shouldn't be perceived as a reconnect.</span></div><div class="line"><a name="l00069"></a><span class="lineno"> 69</span>  reconnect = <span class="keyword">false</span>;</div><div class="line"><a name="l00070"></a><span class="lineno"> 70</span>  } <span class="keywordflow">else</span> {</div><div class="line"><a name="l00071"></a><span class="lineno"> 71</span>  LOG(FATAL) << <span class="stringliteral">"Unhandled ZooKeeper state ("</span> << state << <span class="stringliteral">")"</span></div><div class="line"><a name="l00072"></a><span class="lineno"> 72</span>  << <span class="stringliteral">" for ZOO_SESSION_EVENT"</span>;</div><div class="line"><a name="l00073"></a><span class="lineno"> 73</span>  }</div><div class="line"><a name="l00074"></a><span class="lineno"> 74</span>  } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (type == ZOO_CHILD_EVENT) {</div><div class="line"><a name="l00075"></a><span class="lineno"> 75</span>  <a class="code" href="namespaceprocess.html#acfbc29404bc653268289691b0dd59e22">process::dispatch</a>(pid, &T::updated, sessionId, path);</div><div class="line"><a name="l00076"></a><span class="lineno"> 76</span>  } <span class="keywordflow">else</span> <span class="keywordflow">i f</span> (type == ZOO_CHANGED_EVENT) {</div><div class="line"><a name="l00077"></a><span class="lineno"> 77</span>  <a class="code" href="namespaceprocess.html#acfbc29404bc653268289691b0dd59e22">process::dispatch</a>(pid, &T::updated, sessionId, path);</div><div class="line"><a name="l00078"></a><span class="lineno"> 78</span>  } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (type == ZOO_CREATED_EVENT) {</div><div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  <a class="code" href="namespaceprocess.html#acfbc29404bc653268289691b0dd59e22">process::dispatch</a>(pid, &T::created, sessionId, path);</div><div class="line"><a name="l00080"></a><span class="lineno"> 80</span>  } <span class="keywordflow">else</span> <span class="keywordflow">if</span> (type == ZOO_DELETED_EVENT) {</div><div class="line"><a name="l00081"></a><span class="lineno"> 81</span>  <a class="code" href="n amespaceprocess.html#acfbc29404bc653268289691b0dd59e22">process::dispatch</a>(pid, &T::deleted, sessionId, path);</div><div class="line"><a name="l00082"></a><span class="lineno"> 82</span>  } <span class="keywordflow">else</span> {</div><div class="line"><a name="l00083"></a><span class="lineno"> 83</span>  LOG(FATAL) << <span class="stringliteral">"Unhandled ZooKeeper event ("</span> << type << <span class="stringliteral">")"</span></div><div class="line"><a name="l00084"></a><span class="lineno"> 84</span>  << <span class="stringliteral">" in state ("</span> << state << <span class="stringliteral">")"</span>;</div><div class="line"><a name="l00085"></a><span class="lineno"> 85</span>  }</div><div class="line"><a name="l00086"></a><span class="lineno"> 86</span>  }</div><div class="line"><a name="l00087"></a><span class="lineno"> 87</span > </div><div class="line"><a name="l00088"></a><span class="lineno"> >88</span> <span class="keyword">private</span>:</div><div >class="line"><a name="l00089"></a><span class="lineno"> 89</span>  ><span class="keyword">const</span> <a class="code" >href="structprocess_1_1PID.html">process::PID<T></a> pid;</div><div >class="line"><a name="l00090"></a><span class="lineno"> 90</span>  ><span class="keywordtype">bool</span> reconnect;</div><div class="line"><a >name="l00091"></a><span class="lineno"> 91</span> };</div><div >class="line"><a name="l00092"></a><span class="lineno"> >92</span> </div><div class="line"><a name="l00093"></a><span >class="lineno"> 93</span> <span class="preprocessor">#endif // >__MESOS_ZOOKEEPER_WATCHER_HPP__</span></div><div class="ttc" >id="namespacepath_html"><div class="ttname"><a >href="namespacepath.html">path</a></div><div class="ttdef"><b>Definition:</b> >path.hpp:26</div></div> -<div class="ttc" id="namespaceprocess_1_1internal_html_a64e590c9a40c4ead4b969d6a64cd8181"><div class="ttname"><a href="namespaceprocess_1_1internal.html#a64e590c9a40c4ead4b969d6a64cd8181">process::internal::expired</a></div><div class="ttdeci">void expired(const std::shared_ptr< lambda::CallableOnce< Future< T >(const Future< T > &)>> &f, const std::shared_ptr< Latch > &latch, const std::shared_ptr< Promise< T >> &promise, const std::shared_ptr< Option< Timer >> &timer, const Future< T > &future)</div><div class="ttdef"><b>Definition:</b> future.hpp:1526</div></div> +<div class="ttc" id="namespaceprocess_1_1internal_html_a64e590c9a40c4ead4b969d6a64cd8181"><div class="ttname"><a href="namespaceprocess_1_1internal.html#a64e590c9a40c4ead4b969d6a64cd8181">process::internal::expired</a></div><div class="ttdeci">void expired(const std::shared_ptr< lambda::CallableOnce< Future< T >(const Future< T > &)>> &f, const std::shared_ptr< Latch > &latch, const std::shared_ptr< Promise< T >> &promise, const std::shared_ptr< Option< Timer >> &timer, const Future< T > &future)</div><div class="ttdef"><b>Definition:</b> future.hpp:1533</div></div> <div class="ttc" id="dispatch_8hpp_html"><div class="ttname"><a href="dispatch_8hpp.html">dispatch.hpp</a></div></div> <div class="ttc" id="classProcessWatcher_html_a8858c74f313c22f72836beabb73e7c27"><div class="ttname"><a href="classProcessWatcher.html#a8858c74f313c22f72836beabb73e7c27">ProcessWatcher::process</a></div><div class="ttdeci">virtual void process(int type, int state, int64_t sessionId, const std::string &path)</div><div class="ttdef"><b>Definition:</b> watcher.hpp:43</div></div> <div class="ttc" id="namespaceprocess_html_acfbc29404bc653268289691b0dd59e22"><div class="ttname"><a href="namespaceprocess.html#acfbc29404bc653268289691b0dd59e22">process::dispatch</a></div><div class="ttdeci">void dispatch(const PID< T > &pid, void(T::*method)())</div><div class="ttdef"><b>Definition:</b> dispatch.hpp:174</div></div> http://git-wip-us.apache.org/repos/asf/mesos-site/blob/805f4c5b/content/api/latest/c++/zookeeper_2contender_8hpp_source.html ---------------------------------------------------------------------- diff --git a/content/api/latest/c++/zookeeper_2contender_8hpp_source.html b/content/api/latest/c++/zookeeper_2contender_8hpp_source.html index acd7e11..a2e87de 100644 --- a/content/api/latest/c++/zookeeper_2contender_8hpp_source.html +++ b/content/api/latest/c++/zookeeper_2contender_8hpp_source.html @@ -66,7 +66,7 @@ <div class="ttc" id="namespaceprocess_html"><div class="ttname"><a href="namespaceprocess.html">process</a></div><div class="ttdef"><b>Definition:</b> executor.hpp:47</div></div> <div class="ttc" id="group_8hpp_html"><div class="ttname"><a href="group_8hpp.html">group.hpp</a></div></div> <div class="ttc" id="classzookeeper_1_1LeaderContender_html_aa52205da4ebdeab17047f9be409d1292"><div class="ttname"><a href="classzookeeper_1_1LeaderContender.html#aa52205da4ebdeab17047f9be409d1292">zookeeper::LeaderContender::LeaderContender</a></div><div class="ttdeci">LeaderContender(Group *group, const std::string &data, const Option< std::string > &label)</div></div> -<div class="ttc" id="classprocess_1_1Future_html"><div class="ttname"><a href="classprocess_1_1Future.html">process::Future</a></div><div class="ttdef"><b>Definition:</b> future.hpp:57</div></div> +<div class="ttc" id="classprocess_1_1Future_html"><div class="ttname"><a href="classprocess_1_1Future.html">process::Future</a></div><div class="ttdef"><b>Definition:</b> future.hpp:58</div></div> </div><!-- fragment --></div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> http://git-wip-us.apache.org/repos/asf/mesos-site/blob/805f4c5b/content/sitemap.xml ---------------------------------------------------------------------- diff --git a/content/sitemap.xml b/content/sitemap.xml index e16e3a3..f9b20e1 100644 --- a/content/sitemap.xml +++ b/content/sitemap.xml @@ -1753,10 +1753,6 @@ <lastmod>2018-05-23T00:00:00+00:00</lastmod> </url> <url> - <loc>http://mesos.apache.org/api/latest/c++/classprocess_1_1grpc_1_1Channel-members.html</loc> - <lastmod>2018-05-23T00:00:00+00:00</lastmod> - </url> - <url> <loc>http://mesos.apache.org/api/latest/c++/classmesos_1_1resource__provider_1_1RemoveResourceProvider-members.html</loc> <lastmod>2018-05-23T00:00:00+00:00</lastmod> </url> @@ -4173,6 +4169,10 @@ <lastmod>2018-05-23T00:00:00+00:00</lastmod> </url> <url> + <loc>http://mesos.apache.org/api/latest/c++/classprocess_1_1grpc_1_1client_1_1Connection-members.html</loc> + <lastmod>2018-05-23T00:00:00+00:00</lastmod> + </url> + <url> <loc>http://mesos.apache.org/api/latest/c++/classmesos_1_1internal_1_1tests_1_1MockFetcherProcess-members.html</loc> <lastmod>2018-05-23T00:00:00+00:00</lastmod> </url> @@ -4561,6 +4561,10 @@ <lastmod>2018-05-23T00:00:00+00:00</lastmod> </url> <url> + <loc>http://mesos.apache.org/api/latest/c++/namespaceprocess_1_1grpc_1_1client_1_1internal.html</loc> + <lastmod>2018-05-23T00:00:00+00:00</lastmod> + </url> + <url> <loc>http://mesos.apache.org/api/latest/c++/namespacemesos_1_1internal_1_1slave_1_1compatibility.html</loc> <lastmod>2018-05-23T00:00:00+00:00</lastmod> </url> @@ -7921,10 +7925,6 @@ <lastmod>2018-05-23T00:00:00+00:00</lastmod> </url> <url> - <loc>http://mesos.apache.org/api/latest/c++/classprocess_1_1grpc_1_1Channel.html</loc> - <lastmod>2018-05-23T00:00:00+00:00</lastmod> - </url> - <url> <loc>http://mesos.apache.org/api/latest/c++/structmesos_1_1csi_1_1paths_1_1VolumePath-members.html</loc> <lastmod>2018-05-23T00:00:00+00:00</lastmod> </url> @@ -8281,6 +8281,10 @@ <lastmod>2018-05-23T00:00:00+00:00</lastmod> </url> <url> + <loc>http://mesos.apache.org/api/latest/c++/structprocess_1_1grpc_1_1client_1_1internal_1_1MethodTraits_3_01std_1_1unique__ptr_3_1_1grpc_1_19b770dc78e11f9f674179c48295eb8ff.html</loc> + <lastmod>2018-05-23T00:00:00+00:00</lastmod> + </url> + <url> <loc>http://mesos.apache.org/api/latest/c++/convert_8hpp.html</loc> <lastmod>2018-05-23T00:00:00+00:00</lastmod> </url> @@ -8553,6 +8557,10 @@ <lastmod>2018-05-23T00:00:00+00:00</lastmod> </url> <url> + <loc>http://mesos.apache.org/api/latest/c++/classprocess_1_1grpc_1_1StatusError-members.html</loc> + <lastmod>2018-05-23T00:00:00+00:00</lastmod> + </url> + <url> <loc>http://mesos.apache.org/api/latest/c++/include_2mesos_2values_8hpp.html</loc> <lastmod>2018-05-23T00:00:00+00:00</lastmod> </url> @@ -8689,6 +8697,10 @@ <lastmod>2018-05-23T00:00:00+00:00</lastmod> </url> <url> + <loc>http://mesos.apache.org/api/latest/c++/classprocess_1_1grpc_1_1client_1_1Connection.html</loc> + <lastmod>2018-05-23T00:00:00+00:00</lastmod> + </url> + <url> <loc>http://mesos.apache.org/api/latest/c++/classprocess_1_1RateLimiterProcess.html</loc> <lastmod>2018-05-23T00:00:00+00:00</lastmod> </url> @@ -11377,10 +11389,6 @@ <lastmod>2018-05-23T00:00:00+00:00</lastmod> </url> <url> - <loc>http://mesos.apache.org/api/latest/c++/structprocess_1_1grpc_1_1RpcResult-members.html</loc> - <lastmod>2018-05-23T00:00:00+00:00</lastmod> - </url> - <url> <loc>http://mesos.apache.org/api/latest/c++/classmesos_1_1uri_1_1DockerFetcherPlugin-members.html</loc> <lastmod>2018-05-23T00:00:00+00:00</lastmod> </url> @@ -11497,6 +11505,10 @@ <lastmod>2018-05-23T00:00:00+00:00</lastmod> </url> <url> + <loc>http://mesos.apache.org/api/latest/c++/structprocess_1_1grpc_1_1client_1_1internal_1_1MethodTraits.html</loc> + <lastmod>2018-05-23T00:00:00+00:00</lastmod> + </url> + <url> <loc>http://mesos.apache.org/api/latest/c++/classrouting_1_1filter_1_1ip_1_1PortRange.html</loc> <lastmod>2018-05-23T00:00:00+00:00</lastmod> </url> @@ -11581,6 +11593,10 @@ <lastmod>2018-05-23T00:00:00+00:00</lastmod> </url> <url> + <loc>http://mesos.apache.org/api/latest/c++/classprocess_1_1grpc_1_1StatusError.html</loc> + <lastmod>2018-05-23T00:00:00+00:00</lastmod> + </url> + <url> <loc>http://mesos.apache.org/api/latest/c++/classmesos_1_1internal_1_1log_1_1LogWriterProcess-members.html</loc> <lastmod>2018-05-23T00:00:00+00:00</lastmod> </url> @@ -11593,6 +11609,10 @@ <lastmod>2018-05-23T00:00:00+00:00</lastmod> </url> <url> + <loc>http://mesos.apache.org/api/latest/c++/structprocess_1_1grpc_1_1client_1_1internal_1_1MethodTraits_3_01std_1_1unique__ptr_3_1_1grpc_1_1b922a69900827d65b241714130bc07ca.html</loc> + <lastmod>2018-05-23T00:00:00+00:00</lastmod> + </url> + <url> <loc>http://mesos.apache.org/api/latest/c++/jwt__secret__generator_8hpp.html</loc> <lastmod>2018-05-23T00:00:00+00:00</lastmod> </url> @@ -12401,10 +12421,6 @@ <lastmod>2018-05-23T00:00:00+00:00</lastmod> </url> <url> - <loc>http://mesos.apache.org/api/latest/c++/structprocess_1_1grpc_1_1RpcResult.html</loc> - <lastmod>2018-05-23T00:00:00+00:00</lastmod> - </url> - <url> <loc>http://mesos.apache.org/api/latest/c++/classmesos_1_1state_1_1LogStorage.html</loc> <lastmod>2018-05-23T00:00:00+00:00</lastmod> </url>
