arrow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From w...@apache.org
Subject [30/51] [partial] arrow-site git commit: Add Ray serialization blog post, update API docs
Date Mon, 16 Oct 2017 14:10:45 GMT
http://git-wip-us.apache.org/repos/asf/arrow-site/blob/8673db8b/docs/cpp/events_8h_source.html
----------------------------------------------------------------------
diff --git a/docs/cpp/events_8h_source.html b/docs/cpp/events_8h_source.html
index 2098551..bc481b4 100644
--- a/docs/cpp/events_8h_source.html
+++ b/docs/cpp/events_8h_source.html
@@ -5,7 +5,7 @@
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.13"/>
 <meta name="viewport" content="width=device-width, initial-scale=1"/>
-<title>Apache Arrow (C++): /home/wesm/code/arrow/cpp/src/plasma/events.h Source File</title>
+<title>Apache Arrow (C++): /apache-arrow/arrow/cpp/src/plasma/events.h Source File</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>
@@ -67,7 +67,7 @@ $(function() {
 <div class="title">events.h</div>  </div>
 </div><!--header-->
 <div class="contents">
-<a href="events_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<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>&#160;<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>&#160;<span class="comment">// distributed with this work for additional information</span></div><div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<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>&#160;<span class="comment">// to you under the Apache License, Version 2.0 (the</span></div><div class="line"><a name="l00006"></a><span class=
 "lineno">    6</span>&#160;<span class="comment">// &quot;License&quot;); you may not use this file except in compliance</span></div><div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<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>&#160;<span class="comment">//</span></div><div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<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>&#160;<span class="comment">//</span></div><div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="comment">// Unless required by applicable law or agreed to in writing,</span></div><div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="comment">// software distributed un
 der the License is distributed on an</span></div><div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="comment">// &quot;AS IS&quot; BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY</span></div><div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="comment">// KIND, either express or implied.  See the License for the</span></div><div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="comment">// specific language governing permissions and limitations</span></div><div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="comment">// under the License.</span></div><div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;</div><div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="preprocessor">#ifndef PLASMA_EVENTS</span></div><div class="line"><a name="l00019"></a><span class="lineno">   19</
 span>&#160;<span class="preprocessor">#define PLASMA_EVENTS</span></div><div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;</div><div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="preprocessor">#include &lt;functional&gt;</span></div><div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="preprocessor">#include &lt;memory&gt;</span></div><div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;<span class="preprocessor">#include &lt;unordered_map&gt;</span></div><div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;</div><div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;<span class="keyword">extern</span> <span class="stringliteral">&quot;C&quot;</span> {</div><div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="ae_8h.html"
 >ae/ae.h</a>&quot;</span></div><div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;}</div><div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;</div><div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespaceplasma.html">plasma</a> {</div><div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;</div><div class="line"><a name="l00032"></a><span class="lineno"><a class="line" href="namespaceplasma.html#aa25f7f9aa7f8808dd0d42553b16cf31b">   32</a></span>&#160;constexpr <span class="keywordtype">int</span> <a class="code" href="namespaceplasma.html#aa25f7f9aa7f8808dd0d42553b16cf31b">kEventLoopTimerDone</a> = <a class="code" href="ae_8h.html#a51464410d1f951b043b6d881574e4a4a">AE_NOMORE</a>;</div><div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;</div><div class="line"><a name="l00035"></a><span class=
 "lineno"><a class="line" href="namespaceplasma.html#ae84cd1d6c21a08a2bedf3d1f308a371d">   35</a></span>&#160;constexpr <span class="keywordtype">int</span> <a class="code" href="namespaceplasma.html#ae84cd1d6c21a08a2bedf3d1f308a371d">kEventLoopRead</a> = <a class="code" href="ae_8h.html#a7a9a2162d007d09739955b4e55c65bf3">AE_READABLE</a>;</div><div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;</div><div class="line"><a name="l00038"></a><span class="lineno"><a class="line" href="namespaceplasma.html#aa384c4e46a42a377972561a3cbafb472">   38</a></span>&#160;constexpr <span class="keywordtype">int</span> <a class="code" href="namespaceplasma.html#aa384c4e46a42a377972561a3cbafb472">kEventLoopWrite</a> = <a class="code" href="ae_8h.html#ab6bfb0366ccb6277112d132c2a2bf500">AE_WRITABLE</a>;</div><div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;</div><div class="line"><a name="l00040"></a><span class="lineno"><a class="line" href="names
 paceplasma.html#a62f124d2399362309e83ba8344cd155b">   40</a></span>&#160;<span class="keyword">typedef</span> <span class="keywordtype">long</span> <span class="keywordtype">long</span> <a class="code" href="namespaceplasma.html#a62f124d2399362309e83ba8344cd155b">TimerID</a>;  <span class="comment">// NOLINT</span></div><div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;</div><div class="line"><a name="l00042"></a><span class="lineno"><a class="line" href="classplasma_1_1_event_loop.html">   42</a></span>&#160;<span class="keyword">class </span><a class="code" href="classplasma_1_1_event_loop.html">EventLoop</a> {</div><div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160; <span class="keyword">public</span>:</div><div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;  <span class="comment">// Signature of the handler that will be called when there is a new event</span></div><div class="line"><a name="l00045"
 ></a><span class="lineno">   45</span>&#160;  <span class="comment">// on the file descriptor that this handler has been registered for.</span></div><div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;  <span class="comment">//</span></div><div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;  <span class="comment">// The arguments are the event flags (read or write).</span></div><div class="line"><a name="l00048"></a><span class="lineno"><a class="line" href="classplasma_1_1_event_loop.html#afb1f64d30a1d3bb9de511f8126583aae">   48</a></span>&#160;  <span class="keyword">using</span> <a class="code" href="classplasma_1_1_event_loop.html#afb1f64d30a1d3bb9de511f8126583aae">FileCallback</a> = std::function&lt;void(int)&gt;;</div><div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;</div><div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;  <span class="comment">// This handler will be 
 called when a timer times out. The timer id is</span></div><div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;  <span class="comment">// passed as an argument. The return is the number of milliseconds the timer</span></div><div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;  <span class="comment">// shall be reset to or kEventLoopTimerDone if the timer shall not be</span></div><div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;  <span class="comment">// triggered again.</span></div><div class="line"><a name="l00054"></a><span class="lineno"><a class="line" href="classplasma_1_1_event_loop.html#a11ef4f6b6c35526f9813190d86ad3093">   54</a></span>&#160;  <span class="keyword">using</span> <a class="code" href="classplasma_1_1_event_loop.html#a11ef4f6b6c35526f9813190d86ad3093">TimerCallback</a> = std::function&lt;int(int64_t)&gt;;</div><div class="line"><a name="l00055"></a><span class="lineno">   55</span>
 &#160;</div><div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;  <a class="code" href="classplasma_1_1_event_loop.html#a7e9f4a50545e3cc50e380bf75114b45b">EventLoop</a>();</div><div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;</div><div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;  <span class="keywordtype">bool</span> <a class="code" href="classplasma_1_1_event_loop.html#ac7c31f1048cae6bdcee2c9fdf7ca66a0">AddFileEvent</a>(<span class="keywordtype">int</span> fd, <span class="keywordtype">int</span> events, <span class="keyword">const</span> <a class="code" href="classplasma_1_1_event_loop.html#afb1f64d30a1d3bb9de511f8126583aae">FileCallback</a>&amp; callback);</div><div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;</div><div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classplasma_1_
 1_event_loop.html#a217ecc428989208ef94a226be196cc7f">RemoveFileEvent</a>(<span class="keywordtype">int</span> fd);</div><div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;</div><div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;  int64_t <a class="code" href="classplasma_1_1_event_loop.html#aedbad19a51209f3faa68e00cbde087da">AddTimer</a>(int64_t timeout, <span class="keyword">const</span> <a class="code" href="classplasma_1_1_event_loop.html#a11ef4f6b6c35526f9813190d86ad3093">TimerCallback</a>&amp; callback);</div><div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;</div><div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;  <span class="keywordtype">int</span> <a class="code" href="classplasma_1_1_event_loop.html#afbf8709d3d559e14494b950fff59d6f3">RemoveTimer</a>(int64_t timer_id);</div><div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;</div><div clas
 s="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classplasma_1_1_event_loop.html#a0165bb6fa7ca0753e7f2408f6d586c12">Start</a>();</div><div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;</div><div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classplasma_1_1_event_loop.html#a3136943dd0f8dc3680b7801267d2c2e6">Stop</a>();</div><div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;</div><div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160; <span class="keyword">private</span>:</div><div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;  <span class="keyword">static</span> <span class="keywordtype">void</span> FileEventCallback(<a class="code" href="structae_event_loop.html">aeEventLoop</a>* loop, <span class="keywordtype
 ">int</span> fd, <span class="keywordtype">void</span>* context, <span class="keywordtype">int</span> events);</div><div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;</div><div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;  <span class="keyword">static</span> <span class="keywordtype">int</span> TimerEventCallback(<a class="code" href="structae_event_loop.html">aeEventLoop</a>* loop, TimerID timer_id, <span class="keywordtype">void</span>* context);</div><div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;</div><div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;  <a class="code" href="structae_event_loop.html">aeEventLoop</a>* loop_;</div><div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;  std::unordered_map&lt;int, std::unique_ptr&lt;FileCallback&gt;&gt; file_callbacks_;</div><div class="line"><a name="l00101"></a><span class="lineno">  101</span>
 &#160;  std::unordered_map&lt;int64_t, std::unique_ptr&lt;TimerCallback&gt;&gt; timer_callbacks_;</div><div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;};</div><div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;</div><div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160;}  <span class="comment">// namespace plasma</span></div><div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160;</div><div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160;<span class="preprocessor">#endif  // PLASMA_EVENTS</span></div><div class="ttc" id="classplasma_1_1_event_loop_html_aedbad19a51209f3faa68e00cbde087da"><div class="ttname"><a href="classplasma_1_1_event_loop.html#aedbad19a51209f3faa68e00cbde087da">plasma::EventLoop::AddTimer</a></div><div class="ttdeci">int64_t AddTimer(int64_t timeout, const TimerCallback &amp;callback)</div><div class="ttdoc">Register a handler that will 
 be called after a time slice of &quot;timeout&quot; milliseconds. </div></div>
+<a href="events_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<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>&#160;<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>&#160;<span class="comment">// distributed with this work for additional information</span></div><div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<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>&#160;<span class="comment">// to you under the Apache License, Version 2.0 (the</span></div><div class="line"><a name="l00006"></a><span class=
 "lineno">    6</span>&#160;<span class="comment">// &quot;License&quot;); you may not use this file except in compliance</span></div><div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<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>&#160;<span class="comment">//</span></div><div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<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>&#160;<span class="comment">//</span></div><div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="comment">// Unless required by applicable law or agreed to in writing,</span></div><div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="comment">// software distributed un
 der the License is distributed on an</span></div><div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="comment">// &quot;AS IS&quot; BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY</span></div><div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="comment">// KIND, either express or implied.  See the License for the</span></div><div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="comment">// specific language governing permissions and limitations</span></div><div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="comment">// under the License.</span></div><div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;</div><div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="preprocessor">#ifndef PLASMA_EVENTS</span></div><div class="line"><a name="l00019"></a><span class="lineno">   19</
 span>&#160;<span class="preprocessor">#define PLASMA_EVENTS</span></div><div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;</div><div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="preprocessor">#include &lt;functional&gt;</span></div><div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="preprocessor">#include &lt;memory&gt;</span></div><div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;<span class="preprocessor">#include &lt;unordered_map&gt;</span></div><div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;</div><div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;<span class="keyword">extern</span> <span class="stringliteral">&quot;C&quot;</span> {</div><div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="ae_8h.html"
 >ae/ae.h</a>&quot;</span></div><div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;}</div><div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;</div><div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespaceplasma.html">plasma</a> {</div><div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;</div><div class="line"><a name="l00032"></a><span class="lineno"><a class="line" href="namespaceplasma.html#aa25f7f9aa7f8808dd0d42553b16cf31b">   32</a></span>&#160;constexpr <span class="keywordtype">int</span> <a class="code" href="namespaceplasma.html#aa25f7f9aa7f8808dd0d42553b16cf31b">kEventLoopTimerDone</a> = <a class="code" href="ae_8h.html#a51464410d1f951b043b6d881574e4a4a">AE_NOMORE</a>;</div><div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;</div><div class="line"><a name="l00035"></a><span class=
 "lineno"><a class="line" href="namespaceplasma.html#ae84cd1d6c21a08a2bedf3d1f308a371d">   35</a></span>&#160;constexpr <span class="keywordtype">int</span> <a class="code" href="namespaceplasma.html#ae84cd1d6c21a08a2bedf3d1f308a371d">kEventLoopRead</a> = <a class="code" href="ae_8h.html#a7a9a2162d007d09739955b4e55c65bf3">AE_READABLE</a>;</div><div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;</div><div class="line"><a name="l00038"></a><span class="lineno"><a class="line" href="namespaceplasma.html#aa384c4e46a42a377972561a3cbafb472">   38</a></span>&#160;constexpr <span class="keywordtype">int</span> <a class="code" href="namespaceplasma.html#aa384c4e46a42a377972561a3cbafb472">kEventLoopWrite</a> = <a class="code" href="ae_8h.html#ab6bfb0366ccb6277112d132c2a2bf500">AE_WRITABLE</a>;</div><div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;</div><div class="line"><a name="l00040"></a><span class="lineno"><a class="line" href="names
 paceplasma.html#a62f124d2399362309e83ba8344cd155b">   40</a></span>&#160;<span class="keyword">typedef</span> <span class="keywordtype">long</span> <span class="keywordtype">long</span> <a class="code" href="namespaceplasma.html#a62f124d2399362309e83ba8344cd155b">TimerID</a>;  <span class="comment">// NOLINT</span></div><div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;</div><div class="line"><a name="l00042"></a><span class="lineno"><a class="line" href="classplasma_1_1_event_loop.html">   42</a></span>&#160;<span class="keyword">class </span><a class="code" href="classplasma_1_1_event_loop.html">EventLoop</a> {</div><div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160; <span class="keyword">public</span>:</div><div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;  <span class="comment">// Signature of the handler that will be called when there is a new event</span></div><div class="line"><a name="l00045"
 ></a><span class="lineno">   45</span>&#160;  <span class="comment">// on the file descriptor that this handler has been registered for.</span></div><div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;  <span class="comment">//</span></div><div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;  <span class="comment">// The arguments are the event flags (read or write).</span></div><div class="line"><a name="l00048"></a><span class="lineno"><a class="line" href="classplasma_1_1_event_loop.html#afb1f64d30a1d3bb9de511f8126583aae">   48</a></span>&#160;  <span class="keyword">using</span> <a class="code" href="classplasma_1_1_event_loop.html#afb1f64d30a1d3bb9de511f8126583aae">FileCallback</a> = std::function&lt;void(int)&gt;;</div><div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160;</div><div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;  <span class="comment">// This handler will be 
 called when a timer times out. The timer id is</span></div><div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;  <span class="comment">// passed as an argument. The return is the number of milliseconds the timer</span></div><div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;  <span class="comment">// shall be reset to or kEventLoopTimerDone if the timer shall not be</span></div><div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;  <span class="comment">// triggered again.</span></div><div class="line"><a name="l00054"></a><span class="lineno"><a class="line" href="classplasma_1_1_event_loop.html#a11ef4f6b6c35526f9813190d86ad3093">   54</a></span>&#160;  <span class="keyword">using</span> <a class="code" href="classplasma_1_1_event_loop.html#a11ef4f6b6c35526f9813190d86ad3093">TimerCallback</a> = std::function&lt;int(int64_t)&gt;;</div><div class="line"><a name="l00055"></a><span class="lineno">   55</span>
 &#160;</div><div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;  <a class="code" href="classplasma_1_1_event_loop.html#a7e9f4a50545e3cc50e380bf75114b45b">EventLoop</a>();</div><div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;</div><div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;  <span class="keywordtype">bool</span> <a class="code" href="classplasma_1_1_event_loop.html#ac7c31f1048cae6bdcee2c9fdf7ca66a0">AddFileEvent</a>(<span class="keywordtype">int</span> fd, <span class="keywordtype">int</span> events, <span class="keyword">const</span> <a class="code" href="classplasma_1_1_event_loop.html#afb1f64d30a1d3bb9de511f8126583aae">FileCallback</a>&amp; callback);</div><div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;</div><div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classplasma_1_
 1_event_loop.html#a217ecc428989208ef94a226be196cc7f">RemoveFileEvent</a>(<span class="keywordtype">int</span> fd);</div><div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;</div><div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;  int64_t <a class="code" href="classplasma_1_1_event_loop.html#aedbad19a51209f3faa68e00cbde087da">AddTimer</a>(int64_t timeout, <span class="keyword">const</span> <a class="code" href="classplasma_1_1_event_loop.html#a11ef4f6b6c35526f9813190d86ad3093">TimerCallback</a>&amp; callback);</div><div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;</div><div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;  <span class="keywordtype">int</span> <a class="code" href="classplasma_1_1_event_loop.html#afbf8709d3d559e14494b950fff59d6f3">RemoveTimer</a>(int64_t timer_id);</div><div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;</div><div clas
 s="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classplasma_1_1_event_loop.html#a0165bb6fa7ca0753e7f2408f6d586c12">Start</a>();</div><div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;</div><div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classplasma_1_1_event_loop.html#a3136943dd0f8dc3680b7801267d2c2e6">Stop</a>();</div><div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;</div><div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160; <span class="keyword">private</span>:</div><div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;  <span class="keyword">static</span> <span class="keywordtype">void</span> FileEventCallback(<a class="code" href="structae_event_loop.html">aeEventLoop</a>* loop, <span class="keywordtype
 ">int</span> fd, <span class="keywordtype">void</span>* context, <span class="keywordtype">int</span> events);</div><div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;</div><div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;  <span class="keyword">static</span> <span class="keywordtype">int</span> TimerEventCallback(<a class="code" href="structae_event_loop.html">aeEventLoop</a>* loop, TimerID timer_id, <span class="keywordtype">void</span>* context);</div><div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;</div><div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;  <a class="code" href="structae_event_loop.html">aeEventLoop</a>* loop_;</div><div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;  std::unordered_map&lt;int, std::unique_ptr&lt;FileCallback&gt;&gt; file_callbacks_;</div><div class="line"><a name="l00098"></a><span class="lineno">   98</span>
 &#160;  std::unordered_map&lt;int64_t, std::unique_ptr&lt;TimerCallback&gt;&gt; timer_callbacks_;</div><div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;};</div><div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;</div><div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;}  <span class="comment">// namespace plasma</span></div><div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;</div><div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;<span class="preprocessor">#endif  // PLASMA_EVENTS</span></div><div class="ttc" id="classplasma_1_1_event_loop_html_aedbad19a51209f3faa68e00cbde087da"><div class="ttname"><a href="classplasma_1_1_event_loop.html#aedbad19a51209f3faa68e00cbde087da">plasma::EventLoop::AddTimer</a></div><div class="ttdeci">int64_t AddTimer(int64_t timeout, const TimerCallback &amp;callback)</div><div class="ttdoc">Register a handler that will 
 be called after a time slice of &quot;timeout&quot; milliseconds. </div></div>
 <div class="ttc" id="classplasma_1_1_event_loop_html_a0165bb6fa7ca0753e7f2408f6d586c12"><div class="ttname"><a href="classplasma_1_1_event_loop.html#a0165bb6fa7ca0753e7f2408f6d586c12">plasma::EventLoop::Start</a></div><div class="ttdeci">void Start()</div><div class="ttdoc">Run the event loop. </div></div>
 <div class="ttc" id="namespaceplasma_html_a62f124d2399362309e83ba8344cd155b"><div class="ttname"><a href="namespaceplasma.html#a62f124d2399362309e83ba8344cd155b">plasma::TimerID</a></div><div class="ttdeci">long long TimerID</div><div class="ttdef"><b>Definition:</b> events.h:40</div></div>
 <div class="ttc" id="namespaceplasma_html_aa384c4e46a42a377972561a3cbafb472"><div class="ttname"><a href="namespaceplasma.html#aa384c4e46a42a377972561a3cbafb472">plasma::kEventLoopWrite</a></div><div class="ttdeci">constexpr int kEventLoopWrite</div><div class="ttdoc">Write event on the file descriptor. </div><div class="ttdef"><b>Definition:</b> events.h:38</div></div>

http://git-wip-us.apache.org/repos/asf/arrow-site/blob/8673db8b/docs/cpp/eviction__policy_8h.html
----------------------------------------------------------------------
diff --git a/docs/cpp/eviction__policy_8h.html b/docs/cpp/eviction__policy_8h.html
index 16ff92a..cac1db3 100644
--- a/docs/cpp/eviction__policy_8h.html
+++ b/docs/cpp/eviction__policy_8h.html
@@ -5,7 +5,7 @@
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.13"/>
 <meta name="viewport" content="width=device-width, initial-scale=1"/>
-<title>Apache Arrow (C++): /home/wesm/code/arrow/cpp/src/plasma/eviction_policy.h File Reference</title>
+<title>Apache Arrow (C++): /apache-arrow/arrow/cpp/src/plasma/eviction_policy.h File 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>

http://git-wip-us.apache.org/repos/asf/arrow-site/blob/8673db8b/docs/cpp/eviction__policy_8h_source.html
----------------------------------------------------------------------
diff --git a/docs/cpp/eviction__policy_8h_source.html b/docs/cpp/eviction__policy_8h_source.html
index 679639f..2d71b42 100644
--- a/docs/cpp/eviction__policy_8h_source.html
+++ b/docs/cpp/eviction__policy_8h_source.html
@@ -5,7 +5,7 @@
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.13"/>
 <meta name="viewport" content="width=device-width, initial-scale=1"/>
-<title>Apache Arrow (C++): /home/wesm/code/arrow/cpp/src/plasma/eviction_policy.h Source File</title>
+<title>Apache Arrow (C++): /apache-arrow/arrow/cpp/src/plasma/eviction_policy.h Source File</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>
@@ -67,11 +67,11 @@ $(function() {
 <div class="title">eviction_policy.h</div>  </div>
 </div><!--header-->
 <div class="contents">
-<a href="eviction__policy_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<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>&#160;<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>&#160;<span class="comment">// distributed with this work for additional information</span></div><div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<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>&#160;<span class="comment">// to you under the Apache License, Version 2.0 (the</span></div><div class="line"><a name="l00006"></a><s
 pan class="lineno">    6</span>&#160;<span class="comment">// &quot;License&quot;); you may not use this file except in compliance</span></div><div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<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>&#160;<span class="comment">//</span></div><div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<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>&#160;<span class="comment">//</span></div><div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="comment">// Unless required by applicable law or agreed to in writing,</span></div><div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="comment">// software dist
 ributed under the License is distributed on an</span></div><div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="comment">// &quot;AS IS&quot; BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY</span></div><div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="comment">// KIND, either express or implied.  See the License for the</span></div><div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="comment">// specific language governing permissions and limitations</span></div><div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="comment">// under the License.</span></div><div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;</div><div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="preprocessor">#ifndef PLASMA_EVICTION_POLICY_H</span></div><div class="line"><a name="l00019"></a><span c
 lass="lineno">   19</span>&#160;<span class="preprocessor">#define PLASMA_EVICTION_POLICY_H</span></div><div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;</div><div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="preprocessor">#include &lt;list&gt;</span></div><div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="preprocessor">#include &lt;unordered_map&gt;</span></div><div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;<span class="preprocessor">#include &lt;utility&gt;</span></div><div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;<span class="preprocessor">#include &lt;vector&gt;</span></div><div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;</div><div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="plasma_2commo
 n_8h.html">plasma/common.h</a>&quot;</span></div><div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="plasma_8h.html">plasma/plasma.h</a>&quot;</span></div><div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;</div><div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespaceplasma.html">plasma</a> {</div><div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;</div><div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;<span class="comment">// ==== The eviction policy ====</span></div><div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;<span class="comment">//</span></div><div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;<span class="comment">// This file contains declaration for all fun
 ctions and data structures that</span></div><div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;<span class="comment">// need to be provided if you want to implement a new eviction algorithm for the</span></div><div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;<span class="comment">// Plasma store.</span></div><div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;</div><div class="line"><a name="l00037"></a><span class="lineno"><a class="line" href="classplasma_1_1_l_r_u_cache.html">   37</a></span>&#160;<span class="keyword">class </span><a class="code" href="classplasma_1_1_l_r_u_cache.html">LRUCache</a> {</div><div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160; <span class="keyword">public</span>:</div><div class="line"><a name="l00039"></a><span class="lineno"><a class="line" href="classplasma_1_1_l_r_u_cache.html#ac408d1951ed1e281ddf660b3c17b2666">   39</a></span>&#160;  <a 
 class="code" href="classplasma_1_1_l_r_u_cache.html#ac408d1951ed1e281ddf660b3c17b2666">LRUCache</a>() {}</div><div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;</div><div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classplasma_1_1_l_r_u_cache.html#aff2d8e87282c250873959d686d3f0a2d">add</a>(<span class="keyword">const</span> <a class="code" href="classplasma_1_1_unique_i_d.html">ObjectID</a>&amp; key, int64_t size);</div><div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;</div><div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;  <span class="keywordtype">void</span> <span class="keyword">remove</span>(<span class="keyword">const</span> <a class="code" href="classplasma_1_1_unique_i_d.html">ObjectID</a>&amp; key);</div><div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;</div><div class="l
 ine"><a name="l00045"></a><span class="lineno">   45</span>&#160;  int64_t <a class="code" href="classplasma_1_1_l_r_u_cache.html#a6bc364975eda1e4ea40be316be083e04">choose_objects_to_evict</a>(int64_t num_bytes_required,</div><div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;                                  std::vector&lt;ObjectID&gt;* objects_to_evict);</div><div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;</div><div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160; <span class="keyword">private</span>:</div><div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;  <span class="keyword">typedef</span> std::list&lt;std::pair&lt;ObjectID, int64_t&gt;&gt; ItemList;</div><div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;  ItemList item_list_;</div><div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;  std::unordered_map&lt;ObjectID
 , ItemList::iterator, UniqueIDHasher&gt; item_map_;</div><div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;};</div><div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;</div><div class="line"><a name="l00059"></a><span class="lineno"><a class="line" href="classplasma_1_1_eviction_policy.html">   59</a></span>&#160;<span class="keyword">class </span><a class="code" href="classplasma_1_1_eviction_policy.html">EvictionPolicy</a> {</div><div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160; <span class="keyword">public</span>:</div><div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;  <span class="keyword">explicit</span> <a class="code" href="classplasma_1_1_eviction_policy.html">EvictionPolicy</a>(<a class="code" href="structplasma_1_1_plasma_store_info.html">PlasmaStoreInfo</a>* store_info);</div><div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;</div><di
 v class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;  <span class="keywordtype">void</span> object_created(<span class="keyword">const</span> <a class="code" href="classplasma_1_1_unique_i_d.html">ObjectID</a>&amp; object_id);</div><div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;</div><div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;  <span class="keywordtype">bool</span> require_space(int64_t size, std::vector&lt;ObjectID&gt;* objects_to_evict);</div><div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;</div><div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;  <span class="keywordtype">void</span> begin_object_access(<span class="keyword">const</span> <a class="code" href="classplasma_1_1_unique_i_d.html">ObjectID</a>&amp; object_id,</div><div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;                           std::vec
 tor&lt;ObjectID&gt;* objects_to_evict);</div><div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;</div><div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160;  <span class="keywordtype">void</span> end_object_access(<span class="keyword">const</span> <a class="code" href="classplasma_1_1_unique_i_d.html">ObjectID</a>&amp; object_id,</div><div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;                         std::vector&lt;ObjectID&gt;* objects_to_evict);</div><div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;</div><div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;  int64_t <a class="code" href="classplasma_1_1_l_r_u_cache.html#a6bc364975eda1e4ea40be316be083e04">choose_objects_to_evict</a>(int64_t num_bytes_required,</div><div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;                                  std::vector&lt;Ob
 jectID&gt;* objects_to_evict);</div><div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160;</div><div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160; <span class="keyword">private</span>:</div><div class="line"><a name="l00129"></a><span class="lineno">  129</span>&#160;  int64_t memory_used_;</div><div class="line"><a name="l00131"></a><span class="lineno">  131</span>&#160;  <a class="code" href="structplasma_1_1_plasma_store_info.html">PlasmaStoreInfo</a>* store_info_;</div><div class="line"><a name="l00133"></a><span class="lineno">  133</span>&#160;  <a class="code" href="classplasma_1_1_l_r_u_cache.html">LRUCache</a> cache_;</div><div class="line"><a name="l00134"></a><span class="lineno">  134</span>&#160;};</div><div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160;</div><div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160;}  <span class="comment">// namespace plasma</span></div
 ><div class="line"><a name="l00137"></a><span class="lineno">  137</span>&#160;</div><div class="line"><a name="l00138"></a><span class="lineno">  138</span>&#160;<span class="preprocessor">#endif  // PLASMA_EVICTION_POLICY_H</span></div><div class="ttc" id="classplasma_1_1_l_r_u_cache_html"><div class="ttname"><a href="classplasma_1_1_l_r_u_cache.html">plasma::LRUCache</a></div><div class="ttdef"><b>Definition:</b> eviction_policy.h:37</div></div>
-<div class="ttc" id="structplasma_1_1_plasma_store_info_html"><div class="ttname"><a href="structplasma_1_1_plasma_store_info.html">plasma::PlasmaStoreInfo</a></div><div class="ttdoc">The plasma store information that is exposed to the eviction policy. </div><div class="ttdef"><b>Definition:</b> plasma.h:127</div></div>
+<a href="eviction__policy_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<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>&#160;<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>&#160;<span class="comment">// distributed with this work for additional information</span></div><div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<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>&#160;<span class="comment">// to you under the Apache License, Version 2.0 (the</span></div><div class="line"><a name="l00006"></a><s
 pan class="lineno">    6</span>&#160;<span class="comment">// &quot;License&quot;); you may not use this file except in compliance</span></div><div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<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>&#160;<span class="comment">//</span></div><div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<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>&#160;<span class="comment">//</span></div><div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="comment">// Unless required by applicable law or agreed to in writing,</span></div><div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="comment">// software dist
 ributed under the License is distributed on an</span></div><div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="comment">// &quot;AS IS&quot; BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY</span></div><div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="comment">// KIND, either express or implied.  See the License for the</span></div><div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="comment">// specific language governing permissions and limitations</span></div><div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="comment">// under the License.</span></div><div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;</div><div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="preprocessor">#ifndef PLASMA_EVICTION_POLICY_H</span></div><div class="line"><a name="l00019"></a><span c
 lass="lineno">   19</span>&#160;<span class="preprocessor">#define PLASMA_EVICTION_POLICY_H</span></div><div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;</div><div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="preprocessor">#include &lt;list&gt;</span></div><div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="preprocessor">#include &lt;unordered_map&gt;</span></div><div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;<span class="preprocessor">#include &lt;utility&gt;</span></div><div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;<span class="preprocessor">#include &lt;vector&gt;</span></div><div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;</div><div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="plasma_2commo
 n_8h.html">plasma/common.h</a>&quot;</span></div><div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="plasma_8h.html">plasma/plasma.h</a>&quot;</span></div><div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;</div><div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespaceplasma.html">plasma</a> {</div><div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;</div><div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;<span class="comment">// ==== The eviction policy ====</span></div><div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;<span class="comment">//</span></div><div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;<span class="comment">// This file contains declaration for all fun
 ctions and data structures that</span></div><div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;<span class="comment">// need to be provided if you want to implement a new eviction algorithm for the</span></div><div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;<span class="comment">// Plasma store.</span></div><div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;</div><div class="line"><a name="l00037"></a><span class="lineno"><a class="line" href="classplasma_1_1_l_r_u_cache.html">   37</a></span>&#160;<span class="keyword">class </span><a class="code" href="classplasma_1_1_l_r_u_cache.html">LRUCache</a> {</div><div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160; <span class="keyword">public</span>:</div><div class="line"><a name="l00039"></a><span class="lineno"><a class="line" href="classplasma_1_1_l_r_u_cache.html#ac408d1951ed1e281ddf660b3c17b2666">   39</a></span>&#160;  <a 
 class="code" href="classplasma_1_1_l_r_u_cache.html#ac408d1951ed1e281ddf660b3c17b2666">LRUCache</a>() {}</div><div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;</div><div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;  <span class="keywordtype">void</span> <a class="code" href="classplasma_1_1_l_r_u_cache.html#aff2d8e87282c250873959d686d3f0a2d">add</a>(<span class="keyword">const</span> <a class="code" href="classplasma_1_1_unique_i_d.html">ObjectID</a>&amp; key, int64_t size);</div><div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;</div><div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;  <span class="keywordtype">void</span> <span class="keyword">remove</span>(<span class="keyword">const</span> <a class="code" href="classplasma_1_1_unique_i_d.html">ObjectID</a>&amp; key);</div><div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;</div><div class="l
 ine"><a name="l00045"></a><span class="lineno">   45</span>&#160;  int64_t <a class="code" href="classplasma_1_1_l_r_u_cache.html#a6bc364975eda1e4ea40be316be083e04">choose_objects_to_evict</a>(int64_t num_bytes_required,</div><div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;                                  std::vector&lt;ObjectID&gt;* objects_to_evict);</div><div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;</div><div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160; <span class="keyword">private</span>:</div><div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;  <span class="keyword">typedef</span> std::list&lt;std::pair&lt;ObjectID, int64_t&gt;&gt; ItemList;</div><div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;  ItemList item_list_;</div><div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;  std::unordered_map&lt;ObjectID
 , ItemList::iterator, UniqueIDHasher&gt; item_map_;</div><div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;};</div><div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;</div><div class="line"><a name="l00059"></a><span class="lineno"><a class="line" href="classplasma_1_1_eviction_policy.html">   59</a></span>&#160;<span class="keyword">class </span><a class="code" href="classplasma_1_1_eviction_policy.html">EvictionPolicy</a> {</div><div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160; <span class="keyword">public</span>:</div><div class="line"><a name="l00065"></a><span class="lineno">   65</span>&#160;  <span class="keyword">explicit</span> <a class="code" href="classplasma_1_1_eviction_policy.html">EvictionPolicy</a>(<a class="code" href="structplasma_1_1_plasma_store_info.html">PlasmaStoreInfo</a>* store_info);</div><div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;</div><di
 v class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;  <span class="keywordtype">void</span> object_created(<span class="keyword">const</span> <a class="code" href="classplasma_1_1_unique_i_d.html">ObjectID</a>&amp; object_id);</div><div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;</div><div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;  <span class="keywordtype">bool</span> require_space(int64_t size, std::vector&lt;ObjectID&gt;* objects_to_evict);</div><div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;</div><div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;  <span class="keywordtype">void</span> begin_object_access(<span class="keyword">const</span> <a class="code" href="classplasma_1_1_unique_i_d.html">ObjectID</a>&amp; object_id,</div><div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;                           std::vec
 tor&lt;ObjectID&gt;* objects_to_evict);</div><div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;</div><div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;  <span class="keywordtype">void</span> end_object_access(<span class="keyword">const</span> <a class="code" href="classplasma_1_1_unique_i_d.html">ObjectID</a>&amp; object_id,</div><div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;                         std::vector&lt;ObjectID&gt;* objects_to_evict);</div><div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;</div><div class="line"><a name="l00121"></a><span class="lineno">  121</span>&#160;  int64_t <a class="code" href="classplasma_1_1_l_r_u_cache.html#a6bc364975eda1e4ea40be316be083e04">choose_objects_to_evict</a>(int64_t num_bytes_required,</div><div class="line"><a name="l00122"></a><span class="lineno">  122</span>&#160;                                  std::vector&lt;Ob
 jectID&gt;* objects_to_evict);</div><div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160;</div><div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160; <span class="keyword">private</span>:</div><div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160;  int64_t memory_used_;</div><div class="line"><a name="l00128"></a><span class="lineno">  128</span>&#160;  <a class="code" href="structplasma_1_1_plasma_store_info.html">PlasmaStoreInfo</a>* store_info_;</div><div class="line"><a name="l00130"></a><span class="lineno">  130</span>&#160;  <a class="code" href="classplasma_1_1_l_r_u_cache.html">LRUCache</a> cache_;</div><div class="line"><a name="l00131"></a><span class="lineno">  131</span>&#160;};</div><div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160;</div><div class="line"><a name="l00133"></a><span class="lineno">  133</span>&#160;}  <span class="comment">// namespace plasma</span></div
 ><div class="line"><a name="l00134"></a><span class="lineno">  134</span>&#160;</div><div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160;<span class="preprocessor">#endif  // PLASMA_EVICTION_POLICY_H</span></div><div class="ttc" id="classplasma_1_1_l_r_u_cache_html"><div class="ttname"><a href="classplasma_1_1_l_r_u_cache.html">plasma::LRUCache</a></div><div class="ttdef"><b>Definition:</b> eviction_policy.h:37</div></div>
+<div class="ttc" id="structplasma_1_1_plasma_store_info_html"><div class="ttname"><a href="structplasma_1_1_plasma_store_info.html">plasma::PlasmaStoreInfo</a></div><div class="ttdoc">The plasma store information that is exposed to the eviction policy. </div><div class="ttdef"><b>Definition:</b> plasma.h:129</div></div>
 <div class="ttc" id="classplasma_1_1_l_r_u_cache_html_ac408d1951ed1e281ddf660b3c17b2666"><div class="ttname"><a href="classplasma_1_1_l_r_u_cache.html#ac408d1951ed1e281ddf660b3c17b2666">plasma::LRUCache::LRUCache</a></div><div class="ttdeci">LRUCache()</div><div class="ttdef"><b>Definition:</b> eviction_policy.h:39</div></div>
 <div class="ttc" id="classplasma_1_1_l_r_u_cache_html_a6bc364975eda1e4ea40be316be083e04"><div class="ttname"><a href="classplasma_1_1_l_r_u_cache.html#a6bc364975eda1e4ea40be316be083e04">plasma::LRUCache::choose_objects_to_evict</a></div><div class="ttdeci">int64_t choose_objects_to_evict(int64_t num_bytes_required, std::vector&lt; ObjectID &gt; *objects_to_evict)</div></div>
-<div class="ttc" id="classplasma_1_1_unique_i_d_html"><div class="ttname"><a href="classplasma_1_1_unique_i_d.html">plasma::UniqueID</a></div><div class="ttdef"><b>Definition:</b> common.h:36</div></div>
+<div class="ttc" id="classplasma_1_1_unique_i_d_html"><div class="ttname"><a href="classplasma_1_1_unique_i_d.html">plasma::UniqueID</a></div><div class="ttdef"><b>Definition:</b> common.h:38</div></div>
 <div class="ttc" id="plasma_2common_8h_html"><div class="ttname"><a href="plasma_2common_8h.html">common.h</a></div></div>
 <div class="ttc" id="classplasma_1_1_l_r_u_cache_html_aff2d8e87282c250873959d686d3f0a2d"><div class="ttname"><a href="classplasma_1_1_l_r_u_cache.html#aff2d8e87282c250873959d686d3f0a2d">plasma::LRUCache::add</a></div><div class="ttdeci">void add(const ObjectID &amp;key, int64_t size)</div></div>
 <div class="ttc" id="namespaceplasma_html"><div class="ttname"><a href="namespaceplasma.html">plasma</a></div><div class="ttdef"><b>Definition:</b> client.h:35</div></div>

http://git-wip-us.apache.org/repos/asf/arrow-site/blob/8673db8b/docs/cpp/feather-internal_8h.html
----------------------------------------------------------------------
diff --git a/docs/cpp/feather-internal_8h.html b/docs/cpp/feather-internal_8h.html
index f5951f7..c421e19 100644
--- a/docs/cpp/feather-internal_8h.html
+++ b/docs/cpp/feather-internal_8h.html
@@ -5,7 +5,7 @@
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.13"/>
 <meta name="viewport" content="width=device-width, initial-scale=1"/>
-<title>Apache Arrow (C++): /home/wesm/code/arrow/cpp/src/arrow/ipc/feather-internal.h File Reference</title>
+<title>Apache Arrow (C++): /apache-arrow/arrow/cpp/src/arrow/ipc/feather-internal.h File 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>

http://git-wip-us.apache.org/repos/asf/arrow-site/blob/8673db8b/docs/cpp/feather-internal_8h_source.html
----------------------------------------------------------------------
diff --git a/docs/cpp/feather-internal_8h_source.html b/docs/cpp/feather-internal_8h_source.html
index 7371d84..4313b76 100644
--- a/docs/cpp/feather-internal_8h_source.html
+++ b/docs/cpp/feather-internal_8h_source.html
@@ -5,7 +5,7 @@
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.13"/>
 <meta name="viewport" content="width=device-width, initial-scale=1"/>
-<title>Apache Arrow (C++): /home/wesm/code/arrow/cpp/src/arrow/ipc/feather-internal.h Source File</title>
+<title>Apache Arrow (C++): /apache-arrow/arrow/cpp/src/arrow/ipc/feather-internal.h Source File</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>
@@ -78,7 +78,7 @@ $(function() {
 <div class="ttc" id="classarrow_1_1ipc_1_1feather_1_1_table_builder_html"><div class="ttname"><a href="classarrow_1_1ipc_1_1feather_1_1_table_builder.html">arrow::ipc::feather::TableBuilder</a></div><div class="ttdef"><b>Definition:</b> feather-internal.h:95</div></div>
 <div class="ttc" id="structarrow_1_1ipc_1_1feather_1_1_array_metadata_html"><div class="ttname"><a href="structarrow_1_1ipc_1_1feather_1_1_array_metadata.html">arrow::ipc::feather::ArrayMetadata</a></div><div class="ttdef"><b>Definition:</b> feather-internal.h:49</div></div>
 <div class="ttc" id="classarrow_1_1_status_html"><div class="ttname"><a href="classarrow_1_1_status.html">arrow::Status</a></div><div class="ttdef"><b>Definition:</b> status.h:106</div></div>
-<div class="ttc" id="structarrow_1_1_time_unit_html_a561ef51c3755bd873f8f86f5bc4ec1ff"><div class="ttname"><a href="structarrow_1_1_time_unit.html#a561ef51c3755bd873f8f86f5bc4ec1ff">arrow::TimeUnit::type</a></div><div class="ttdeci">type</div><div class="ttdef"><b>Definition:</b> type.h:572</div></div>
+<div class="ttc" id="structarrow_1_1_time_unit_html_a561ef51c3755bd873f8f86f5bc4ec1ff"><div class="ttname"><a href="structarrow_1_1_time_unit.html#a561ef51c3755bd873f8f86f5bc4ec1ff">arrow::TimeUnit::type</a></div><div class="ttdeci">type</div><div class="ttdef"><b>Definition:</b> type.h:574</div></div>
 <div class="ttc" id="namespacearrow_1_1ipc_1_1feather_html_ae925e8930c1f14b693a618b01200c05a"><div class="ttname"><a href="namespacearrow_1_1ipc_1_1feather.html#ae925e8930c1f14b693a618b01200c05a">arrow::ipc::feather::FBB</a></div><div class="ttdeci">flatbuffers::FlatBufferBuilder FBB</div><div class="ttdef"><b>Definition:</b> feather-internal.h:42</div></div>
 <div class="ttc" id="classarrow_1_1ipc_1_1feather_1_1_table_metadata_html"><div class="ttname"><a href="classarrow_1_1ipc_1_1feather_1_1_table_metadata.html">arrow::ipc::feather::TableMetadata</a></div><div class="ttdef"><b>Definition:</b> feather-internal.h:120</div></div>
 <div class="ttc" id="structarrow_1_1ipc_1_1feather_1_1_timestamp_metadata_html_a890ed856d56872c8f1c25936e7597adf"><div class="ttname"><a href="structarrow_1_1ipc_1_1feather_1_1_timestamp_metadata.html#a890ed856d56872c8f1c25936e7597adf">arrow::ipc::feather::TimestampMetadata::unit</a></div><div class="ttdeci">TimeUnit::type unit</div><div class="ttdef"><b>Definition:</b> feather-internal.h:79</div></div>

http://git-wip-us.apache.org/repos/asf/arrow-site/blob/8673db8b/docs/cpp/feather_8h.html
----------------------------------------------------------------------
diff --git a/docs/cpp/feather_8h.html b/docs/cpp/feather_8h.html
index c53ba2b..d6ac625 100644
--- a/docs/cpp/feather_8h.html
+++ b/docs/cpp/feather_8h.html
@@ -5,7 +5,7 @@
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.13"/>
 <meta name="viewport" content="width=device-width, initial-scale=1"/>
-<title>Apache Arrow (C++): /home/wesm/code/arrow/cpp/src/arrow/ipc/feather.h File Reference</title>
+<title>Apache Arrow (C++): /apache-arrow/arrow/cpp/src/arrow/ipc/feather.h File 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>

http://git-wip-us.apache.org/repos/asf/arrow-site/blob/8673db8b/docs/cpp/feather_8h_source.html
----------------------------------------------------------------------
diff --git a/docs/cpp/feather_8h_source.html b/docs/cpp/feather_8h_source.html
index 83569b8..209b8a1 100644
--- a/docs/cpp/feather_8h_source.html
+++ b/docs/cpp/feather_8h_source.html
@@ -5,7 +5,7 @@
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.13"/>
 <meta name="viewport" content="width=device-width, initial-scale=1"/>
-<title>Apache Arrow (C++): /home/wesm/code/arrow/cpp/src/arrow/ipc/feather.h Source File</title>
+<title>Apache Arrow (C++): /apache-arrow/arrow/cpp/src/arrow/ipc/feather.h Source File</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>

http://git-wip-us.apache.org/repos/asf/arrow-site/blob/8673db8b/docs/cpp/file_8h.html
----------------------------------------------------------------------
diff --git a/docs/cpp/file_8h.html b/docs/cpp/file_8h.html
index 04bcde5..f47d541 100644
--- a/docs/cpp/file_8h.html
+++ b/docs/cpp/file_8h.html
@@ -5,7 +5,7 @@
 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
 <meta name="generator" content="Doxygen 1.8.13"/>
 <meta name="viewport" content="width=device-width, initial-scale=1"/>
-<title>Apache Arrow (C++): /home/wesm/code/arrow/cpp/src/arrow/io/file.h File Reference</title>
+<title>Apache Arrow (C++): /apache-arrow/arrow/cpp/src/arrow/io/file.h File 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>


Mime
View raw message