Repository: hbase-site Updated Branches: refs/heads/asf-site e035de3e9 -> 545b969cc
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/545b969c/devapidocs/src-html/org/apache/hadoop/hbase/io/hfile/bucket/ByteBufferIOEngine.html ---------------------------------------------------------------------- diff --git a/devapidocs/src-html/org/apache/hadoop/hbase/io/hfile/bucket/ByteBufferIOEngine.html b/devapidocs/src-html/org/apache/hadoop/hbase/io/hfile/bucket/ByteBufferIOEngine.html index b509e8a..cf79e11 100644 --- a/devapidocs/src-html/org/apache/hadoop/hbase/io/hfile/bucket/ByteBufferIOEngine.html +++ b/devapidocs/src-html/org/apache/hadoop/hbase/io/hfile/bucket/ByteBufferIOEngine.html @@ -111,56 +111,61 @@ <span class="sourceLineNo">103</span> }<a name="line.103"></a> <span class="sourceLineNo">104</span><a name="line.104"></a> <span class="sourceLineNo">105</span> @Override<a name="line.105"></a> -<span class="sourceLineNo">106</span> public Cacheable read(long offset, int length, CacheableDeserializer<Cacheable> deserializer)<a name="line.106"></a> -<span class="sourceLineNo">107</span> throws IOException {<a name="line.107"></a> -<span class="sourceLineNo">108</span> ByteBuff dstBuffer = bufferArray.asSubByteBuff(offset, length);<a name="line.108"></a> -<span class="sourceLineNo">109</span> // Here the buffer that is created directly refers to the buffer in the actual buckets.<a name="line.109"></a> -<span class="sourceLineNo">110</span> // When any cell is referring to the blocks created out of these buckets then it means that<a name="line.110"></a> -<span class="sourceLineNo">111</span> // those cells are referring to a shared memory area which if evicted by the BucketCache would<a name="line.111"></a> -<span class="sourceLineNo">112</span> // lead to corruption of results. Hence we set the type of the buffer as SHARED_MEMORY<a name="line.112"></a> -<span class="sourceLineNo">113</span> // so that the readers using this block are aware of this fact and do the necessary action<a name="line.113"></a> -<span class="sourceLineNo">114</span> // to prevent eviction till the results are either consumed or copied<a name="line.114"></a> -<span class="sourceLineNo">115</span> return deserializer.deserialize(dstBuffer, true, MemoryType.SHARED);<a name="line.115"></a> -<span class="sourceLineNo">116</span> }<a name="line.116"></a> -<span class="sourceLineNo">117</span><a name="line.117"></a> -<span class="sourceLineNo">118</span> /**<a name="line.118"></a> -<span class="sourceLineNo">119</span> * Transfers data from the given byte buffer to the buffer array<a name="line.119"></a> -<span class="sourceLineNo">120</span> * @param srcBuffer the given byte buffer from which bytes are to be read<a name="line.120"></a> -<span class="sourceLineNo">121</span> * @param offset The offset in the ByteBufferArray of the first byte to be<a name="line.121"></a> -<span class="sourceLineNo">122</span> * written<a name="line.122"></a> -<span class="sourceLineNo">123</span> * @throws IOException throws IOException if writing to the array throws exception<a name="line.123"></a> -<span class="sourceLineNo">124</span> */<a name="line.124"></a> -<span class="sourceLineNo">125</span> @Override<a name="line.125"></a> -<span class="sourceLineNo">126</span> public void write(ByteBuffer srcBuffer, long offset) throws IOException {<a name="line.126"></a> -<span class="sourceLineNo">127</span> assert srcBuffer.hasArray();<a name="line.127"></a> -<span class="sourceLineNo">128</span> bufferArray.putMultiple(offset, srcBuffer.remaining(), srcBuffer.array(),<a name="line.128"></a> -<span class="sourceLineNo">129</span> srcBuffer.arrayOffset());<a name="line.129"></a> -<span class="sourceLineNo">130</span> }<a name="line.130"></a> -<span class="sourceLineNo">131</span><a name="line.131"></a> -<span class="sourceLineNo">132</span> @Override<a name="line.132"></a> -<span class="sourceLineNo">133</span> public void write(ByteBuff srcBuffer, long offset) throws IOException {<a name="line.133"></a> -<span class="sourceLineNo">134</span> // When caching block into BucketCache there will be single buffer backing for this HFileBlock.<a name="line.134"></a> -<span class="sourceLineNo">135</span> // This will work for now. But from the DFS itself if we get DBB then this may not hold true.<a name="line.135"></a> -<span class="sourceLineNo">136</span> assert srcBuffer.hasArray();<a name="line.136"></a> -<span class="sourceLineNo">137</span> bufferArray.putMultiple(offset, srcBuffer.remaining(), srcBuffer.array(),<a name="line.137"></a> -<span class="sourceLineNo">138</span> srcBuffer.arrayOffset());<a name="line.138"></a> -<span class="sourceLineNo">139</span> }<a name="line.139"></a> -<span class="sourceLineNo">140</span> /**<a name="line.140"></a> -<span class="sourceLineNo">141</span> * No operation for the sync in the memory IO engine<a name="line.141"></a> -<span class="sourceLineNo">142</span> */<a name="line.142"></a> -<span class="sourceLineNo">143</span> @Override<a name="line.143"></a> -<span class="sourceLineNo">144</span> public void sync() {<a name="line.144"></a> -<span class="sourceLineNo">145</span> // Nothing to do.<a name="line.145"></a> -<span class="sourceLineNo">146</span> }<a name="line.146"></a> -<span class="sourceLineNo">147</span><a name="line.147"></a> -<span class="sourceLineNo">148</span> /**<a name="line.148"></a> -<span class="sourceLineNo">149</span> * No operation for the shutdown in the memory IO engine<a name="line.149"></a> -<span class="sourceLineNo">150</span> */<a name="line.150"></a> -<span class="sourceLineNo">151</span> @Override<a name="line.151"></a> -<span class="sourceLineNo">152</span> public void shutdown() {<a name="line.152"></a> -<span class="sourceLineNo">153</span> // Nothing to do.<a name="line.153"></a> -<span class="sourceLineNo">154</span> }<a name="line.154"></a> -<span class="sourceLineNo">155</span>}<a name="line.155"></a> +<span class="sourceLineNo">106</span> public boolean usesSharedMemory() {<a name="line.106"></a> +<span class="sourceLineNo">107</span> return true;<a name="line.107"></a> +<span class="sourceLineNo">108</span> }<a name="line.108"></a> +<span class="sourceLineNo">109</span><a name="line.109"></a> +<span class="sourceLineNo">110</span> @Override<a name="line.110"></a> +<span class="sourceLineNo">111</span> public Cacheable read(long offset, int length, CacheableDeserializer<Cacheable> deserializer)<a name="line.111"></a> +<span class="sourceLineNo">112</span> throws IOException {<a name="line.112"></a> +<span class="sourceLineNo">113</span> ByteBuff dstBuffer = bufferArray.asSubByteBuff(offset, length);<a name="line.113"></a> +<span class="sourceLineNo">114</span> // Here the buffer that is created directly refers to the buffer in the actual buckets.<a name="line.114"></a> +<span class="sourceLineNo">115</span> // When any cell is referring to the blocks created out of these buckets then it means that<a name="line.115"></a> +<span class="sourceLineNo">116</span> // those cells are referring to a shared memory area which if evicted by the BucketCache would<a name="line.116"></a> +<span class="sourceLineNo">117</span> // lead to corruption of results. Hence we set the type of the buffer as SHARED_MEMORY<a name="line.117"></a> +<span class="sourceLineNo">118</span> // so that the readers using this block are aware of this fact and do the necessary action<a name="line.118"></a> +<span class="sourceLineNo">119</span> // to prevent eviction till the results are either consumed or copied<a name="line.119"></a> +<span class="sourceLineNo">120</span> return deserializer.deserialize(dstBuffer, true, MemoryType.SHARED);<a name="line.120"></a> +<span class="sourceLineNo">121</span> }<a name="line.121"></a> +<span class="sourceLineNo">122</span><a name="line.122"></a> +<span class="sourceLineNo">123</span> /**<a name="line.123"></a> +<span class="sourceLineNo">124</span> * Transfers data from the given byte buffer to the buffer array<a name="line.124"></a> +<span class="sourceLineNo">125</span> * @param srcBuffer the given byte buffer from which bytes are to be read<a name="line.125"></a> +<span class="sourceLineNo">126</span> * @param offset The offset in the ByteBufferArray of the first byte to be<a name="line.126"></a> +<span class="sourceLineNo">127</span> * written<a name="line.127"></a> +<span class="sourceLineNo">128</span> * @throws IOException throws IOException if writing to the array throws exception<a name="line.128"></a> +<span class="sourceLineNo">129</span> */<a name="line.129"></a> +<span class="sourceLineNo">130</span> @Override<a name="line.130"></a> +<span class="sourceLineNo">131</span> public void write(ByteBuffer srcBuffer, long offset) throws IOException {<a name="line.131"></a> +<span class="sourceLineNo">132</span> assert srcBuffer.hasArray();<a name="line.132"></a> +<span class="sourceLineNo">133</span> bufferArray.putMultiple(offset, srcBuffer.remaining(), srcBuffer.array(),<a name="line.133"></a> +<span class="sourceLineNo">134</span> srcBuffer.arrayOffset());<a name="line.134"></a> +<span class="sourceLineNo">135</span> }<a name="line.135"></a> +<span class="sourceLineNo">136</span><a name="line.136"></a> +<span class="sourceLineNo">137</span> @Override<a name="line.137"></a> +<span class="sourceLineNo">138</span> public void write(ByteBuff srcBuffer, long offset) throws IOException {<a name="line.138"></a> +<span class="sourceLineNo">139</span> // When caching block into BucketCache there will be single buffer backing for this HFileBlock.<a name="line.139"></a> +<span class="sourceLineNo">140</span> // This will work for now. But from the DFS itself if we get DBB then this may not hold true.<a name="line.140"></a> +<span class="sourceLineNo">141</span> assert srcBuffer.hasArray();<a name="line.141"></a> +<span class="sourceLineNo">142</span> bufferArray.putMultiple(offset, srcBuffer.remaining(), srcBuffer.array(),<a name="line.142"></a> +<span class="sourceLineNo">143</span> srcBuffer.arrayOffset());<a name="line.143"></a> +<span class="sourceLineNo">144</span> }<a name="line.144"></a> +<span class="sourceLineNo">145</span> /**<a name="line.145"></a> +<span class="sourceLineNo">146</span> * No operation for the sync in the memory IO engine<a name="line.146"></a> +<span class="sourceLineNo">147</span> */<a name="line.147"></a> +<span class="sourceLineNo">148</span> @Override<a name="line.148"></a> +<span class="sourceLineNo">149</span> public void sync() {<a name="line.149"></a> +<span class="sourceLineNo">150</span> // Nothing to do.<a name="line.150"></a> +<span class="sourceLineNo">151</span> }<a name="line.151"></a> +<span class="sourceLineNo">152</span><a name="line.152"></a> +<span class="sourceLineNo">153</span> /**<a name="line.153"></a> +<span class="sourceLineNo">154</span> * No operation for the shutdown in the memory IO engine<a name="line.154"></a> +<span class="sourceLineNo">155</span> */<a name="line.155"></a> +<span class="sourceLineNo">156</span> @Override<a name="line.156"></a> +<span class="sourceLineNo">157</span> public void shutdown() {<a name="line.157"></a> +<span class="sourceLineNo">158</span> // Nothing to do.<a name="line.158"></a> +<span class="sourceLineNo">159</span> }<a name="line.159"></a> +<span class="sourceLineNo">160</span>}<a name="line.160"></a> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/545b969c/devapidocs/src-html/org/apache/hadoop/hbase/io/hfile/bucket/IOEngine.html ---------------------------------------------------------------------- diff --git a/devapidocs/src-html/org/apache/hadoop/hbase/io/hfile/bucket/IOEngine.html b/devapidocs/src-html/org/apache/hadoop/hbase/io/hfile/bucket/IOEngine.html index 8bfa8da..ce2387d 100644 --- a/devapidocs/src-html/org/apache/hadoop/hbase/io/hfile/bucket/IOEngine.html +++ b/devapidocs/src-html/org/apache/hadoop/hbase/io/hfile/bucket/IOEngine.html @@ -46,45 +46,54 @@ <span class="sourceLineNo">038</span> boolean isPersistent();<a name="line.38"></a> <span class="sourceLineNo">039</span><a name="line.39"></a> <span class="sourceLineNo">040</span> /**<a name="line.40"></a> -<span class="sourceLineNo">041</span> * Transfers data from IOEngine to a Cacheable object.<a name="line.41"></a> -<span class="sourceLineNo">042</span> * @param length How many bytes to be read from the offset<a name="line.42"></a> -<span class="sourceLineNo">043</span> * @param offset The offset in the IO engine where the first byte to be read<a name="line.43"></a> -<span class="sourceLineNo">044</span> * @param deserializer The deserializer to be used to make a Cacheable from the data.<a name="line.44"></a> -<span class="sourceLineNo">045</span> * @return Cacheable<a name="line.45"></a> -<span class="sourceLineNo">046</span> * @throws IOException<a name="line.46"></a> -<span class="sourceLineNo">047</span> * @throws RuntimeException when the length of the ByteBuff read is less than 'len'<a name="line.47"></a> -<span class="sourceLineNo">048</span> */<a name="line.48"></a> -<span class="sourceLineNo">049</span> Cacheable read(long offset, int length, CacheableDeserializer<Cacheable> deserializer)<a name="line.49"></a> -<span class="sourceLineNo">050</span> throws IOException;<a name="line.50"></a> -<span class="sourceLineNo">051</span><a name="line.51"></a> -<span class="sourceLineNo">052</span> /**<a name="line.52"></a> -<span class="sourceLineNo">053</span> * Transfers data from the given byte buffer to IOEngine<a name="line.53"></a> -<span class="sourceLineNo">054</span> * @param srcBuffer the given byte buffer from which bytes are to be read<a name="line.54"></a> -<span class="sourceLineNo">055</span> * @param offset The offset in the IO engine where the first byte to be<a name="line.55"></a> -<span class="sourceLineNo">056</span> * written<a name="line.56"></a> -<span class="sourceLineNo">057</span> * @throws IOException<a name="line.57"></a> -<span class="sourceLineNo">058</span> */<a name="line.58"></a> -<span class="sourceLineNo">059</span> void write(ByteBuffer srcBuffer, long offset) throws IOException;<a name="line.59"></a> +<span class="sourceLineNo">041</span> * IOEngine uses shared memory means, when reading Cacheable from it, those refers to the same<a name="line.41"></a> +<span class="sourceLineNo">042</span> * memory area as used by the Engine for caching it.<a name="line.42"></a> +<span class="sourceLineNo">043</span> * @return true when IOEngine using shared memory.<a name="line.43"></a> +<span class="sourceLineNo">044</span> */<a name="line.44"></a> +<span class="sourceLineNo">045</span> default boolean usesSharedMemory() {<a name="line.45"></a> +<span class="sourceLineNo">046</span> return false;<a name="line.46"></a> +<span class="sourceLineNo">047</span> }<a name="line.47"></a> +<span class="sourceLineNo">048</span><a name="line.48"></a> +<span class="sourceLineNo">049</span> /**<a name="line.49"></a> +<span class="sourceLineNo">050</span> * Transfers data from IOEngine to a Cacheable object.<a name="line.50"></a> +<span class="sourceLineNo">051</span> * @param length How many bytes to be read from the offset<a name="line.51"></a> +<span class="sourceLineNo">052</span> * @param offset The offset in the IO engine where the first byte to be read<a name="line.52"></a> +<span class="sourceLineNo">053</span> * @param deserializer The deserializer to be used to make a Cacheable from the data.<a name="line.53"></a> +<span class="sourceLineNo">054</span> * @return Cacheable<a name="line.54"></a> +<span class="sourceLineNo">055</span> * @throws IOException<a name="line.55"></a> +<span class="sourceLineNo">056</span> * @throws RuntimeException when the length of the ByteBuff read is less than 'len'<a name="line.56"></a> +<span class="sourceLineNo">057</span> */<a name="line.57"></a> +<span class="sourceLineNo">058</span> Cacheable read(long offset, int length, CacheableDeserializer<Cacheable> deserializer)<a name="line.58"></a> +<span class="sourceLineNo">059</span> throws IOException;<a name="line.59"></a> <span class="sourceLineNo">060</span><a name="line.60"></a> <span class="sourceLineNo">061</span> /**<a name="line.61"></a> -<span class="sourceLineNo">062</span> * Transfers the data from the given MultiByteBuffer to IOEngine<a name="line.62"></a> -<span class="sourceLineNo">063</span> * @param srcBuffer the given MultiBytebufffers from which bytes are to be read<a name="line.63"></a> -<span class="sourceLineNo">064</span> * @param offset the offset in the IO engine where the first byte to be written<a name="line.64"></a> -<span class="sourceLineNo">065</span> * @throws IOException<a name="line.65"></a> -<span class="sourceLineNo">066</span> */<a name="line.66"></a> -<span class="sourceLineNo">067</span> void write(ByteBuff srcBuffer, long offset) throws IOException;<a name="line.67"></a> -<span class="sourceLineNo">068</span><a name="line.68"></a> -<span class="sourceLineNo">069</span> /**<a name="line.69"></a> -<span class="sourceLineNo">070</span> * Sync the data to IOEngine after writing<a name="line.70"></a> -<span class="sourceLineNo">071</span> * @throws IOException<a name="line.71"></a> -<span class="sourceLineNo">072</span> */<a name="line.72"></a> -<span class="sourceLineNo">073</span> void sync() throws IOException;<a name="line.73"></a> -<span class="sourceLineNo">074</span><a name="line.74"></a> -<span class="sourceLineNo">075</span> /**<a name="line.75"></a> -<span class="sourceLineNo">076</span> * Shutdown the IOEngine<a name="line.76"></a> -<span class="sourceLineNo">077</span> */<a name="line.77"></a> -<span class="sourceLineNo">078</span> void shutdown();<a name="line.78"></a> -<span class="sourceLineNo">079</span>}<a name="line.79"></a> +<span class="sourceLineNo">062</span> * Transfers data from the given byte buffer to IOEngine<a name="line.62"></a> +<span class="sourceLineNo">063</span> * @param srcBuffer the given byte buffer from which bytes are to be read<a name="line.63"></a> +<span class="sourceLineNo">064</span> * @param offset The offset in the IO engine where the first byte to be<a name="line.64"></a> +<span class="sourceLineNo">065</span> * written<a name="line.65"></a> +<span class="sourceLineNo">066</span> * @throws IOException<a name="line.66"></a> +<span class="sourceLineNo">067</span> */<a name="line.67"></a> +<span class="sourceLineNo">068</span> void write(ByteBuffer srcBuffer, long offset) throws IOException;<a name="line.68"></a> +<span class="sourceLineNo">069</span><a name="line.69"></a> +<span class="sourceLineNo">070</span> /**<a name="line.70"></a> +<span class="sourceLineNo">071</span> * Transfers the data from the given MultiByteBuffer to IOEngine<a name="line.71"></a> +<span class="sourceLineNo">072</span> * @param srcBuffer the given MultiBytebufffers from which bytes are to be read<a name="line.72"></a> +<span class="sourceLineNo">073</span> * @param offset the offset in the IO engine where the first byte to be written<a name="line.73"></a> +<span class="sourceLineNo">074</span> * @throws IOException<a name="line.74"></a> +<span class="sourceLineNo">075</span> */<a name="line.75"></a> +<span class="sourceLineNo">076</span> void write(ByteBuff srcBuffer, long offset) throws IOException;<a name="line.76"></a> +<span class="sourceLineNo">077</span><a name="line.77"></a> +<span class="sourceLineNo">078</span> /**<a name="line.78"></a> +<span class="sourceLineNo">079</span> * Sync the data to IOEngine after writing<a name="line.79"></a> +<span class="sourceLineNo">080</span> * @throws IOException<a name="line.80"></a> +<span class="sourceLineNo">081</span> */<a name="line.81"></a> +<span class="sourceLineNo">082</span> void sync() throws IOException;<a name="line.82"></a> +<span class="sourceLineNo">083</span><a name="line.83"></a> +<span class="sourceLineNo">084</span> /**<a name="line.84"></a> +<span class="sourceLineNo">085</span> * Shutdown the IOEngine<a name="line.85"></a> +<span class="sourceLineNo">086</span> */<a name="line.86"></a> +<span class="sourceLineNo">087</span> void shutdown();<a name="line.87"></a> +<span class="sourceLineNo">088</span>}<a name="line.88"></a> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/545b969c/devapidocs/src-html/org/apache/hadoop/hbase/io/hfile/bucket/UnsafeSharedMemoryBucketEntry.html ---------------------------------------------------------------------- diff --git a/devapidocs/src-html/org/apache/hadoop/hbase/io/hfile/bucket/UnsafeSharedMemoryBucketEntry.html b/devapidocs/src-html/org/apache/hadoop/hbase/io/hfile/bucket/UnsafeSharedMemoryBucketEntry.html new file mode 100644 index 0000000..57f3e4e --- /dev/null +++ b/devapidocs/src-html/org/apache/hadoop/hbase/io/hfile/bucket/UnsafeSharedMemoryBucketEntry.html @@ -0,0 +1,153 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<html lang="en"> +<head> +<title>Source code</title> +<link rel="stylesheet" type="text/css" href="../../../../../../../../stylesheet.css" title="Style"> +</head> +<body> +<div class="sourceContainer"> +<pre><span class="sourceLineNo">001</span>/*<a name="line.1"></a> +<span class="sourceLineNo">002</span> * Licensed to the Apache Software Foundation (ASF) under one<a name="line.2"></a> +<span class="sourceLineNo">003</span> * or more contributor license agreements. See the NOTICE file<a name="line.3"></a> +<span class="sourceLineNo">004</span> * distributed with this work for additional information<a name="line.4"></a> +<span class="sourceLineNo">005</span> * regarding copyright ownership. The ASF licenses this file<a name="line.5"></a> +<span class="sourceLineNo">006</span> * to you under the Apache License, Version 2.0 (the<a name="line.6"></a> +<span class="sourceLineNo">007</span> * "License"); you may not use this file except in compliance<a name="line.7"></a> +<span class="sourceLineNo">008</span> * with the License. You may obtain a copy of the License at<a name="line.8"></a> +<span class="sourceLineNo">009</span> *<a name="line.9"></a> +<span class="sourceLineNo">010</span> * http://www.apache.org/licenses/LICENSE-2.0<a name="line.10"></a> +<span class="sourceLineNo">011</span> *<a name="line.11"></a> +<span class="sourceLineNo">012</span> * Unless required by applicable law or agreed to in writing, software<a name="line.12"></a> +<span class="sourceLineNo">013</span> * distributed under the License is distributed on an "AS IS" BASIS,<a name="line.13"></a> +<span class="sourceLineNo">014</span> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.<a name="line.14"></a> +<span class="sourceLineNo">015</span> * See the License for the specific language governing permissions and<a name="line.15"></a> +<span class="sourceLineNo">016</span> * limitations under the License.<a name="line.16"></a> +<span class="sourceLineNo">017</span> */<a name="line.17"></a> +<span class="sourceLineNo">018</span>package org.apache.hadoop.hbase.io.hfile.bucket;<a name="line.18"></a> +<span class="sourceLineNo">019</span><a name="line.19"></a> +<span class="sourceLineNo">020</span>import org.apache.hadoop.hbase.io.hfile.bucket.BucketCache.BucketEntry;<a name="line.20"></a> +<span class="sourceLineNo">021</span>import org.apache.hadoop.hbase.util.UnsafeAccess;<a name="line.21"></a> +<span class="sourceLineNo">022</span>import org.apache.yetus.audience.InterfaceAudience;<a name="line.22"></a> +<span class="sourceLineNo">023</span><a name="line.23"></a> +<span class="sourceLineNo">024</span>import sun.misc.Unsafe;<a name="line.24"></a> +<span class="sourceLineNo">025</span><a name="line.25"></a> +<span class="sourceLineNo">026</span>@InterfaceAudience.Private<a name="line.26"></a> +<span class="sourceLineNo">027</span>public class UnsafeSharedMemoryBucketEntry extends BucketEntry {<a name="line.27"></a> +<span class="sourceLineNo">028</span> private static final long serialVersionUID = 707544024564058801L;<a name="line.28"></a> +<span class="sourceLineNo">029</span><a name="line.29"></a> +<span class="sourceLineNo">030</span> // We are just doing what AtomicInteger doing for the Atomic incrementAndGet/decrementAndGet.<a name="line.30"></a> +<span class="sourceLineNo">031</span> // We are avoiding the need to have a field of AtomicIneger type and have it as just int type.<a name="line.31"></a> +<span class="sourceLineNo">032</span> // We would like to reduce the head overhead per object of this type as much as possible.<a name="line.32"></a> +<span class="sourceLineNo">033</span> // Doing this direct Unsafe usage save us 16 bytes per Object.<a name="line.33"></a> +<span class="sourceLineNo">034</span> // ie Just using 4 bytes for int type than 20 bytes requirement for an AtomicInteger (16 bytes)<a name="line.34"></a> +<span class="sourceLineNo">035</span> // and 4 bytes reference to it.<a name="line.35"></a> +<span class="sourceLineNo">036</span> private static final Unsafe unsafe = UnsafeAccess.theUnsafe;<a name="line.36"></a> +<span class="sourceLineNo">037</span> private static final long refCountOffset;<a name="line.37"></a> +<span class="sourceLineNo">038</span><a name="line.38"></a> +<span class="sourceLineNo">039</span> static {<a name="line.39"></a> +<span class="sourceLineNo">040</span> try {<a name="line.40"></a> +<span class="sourceLineNo">041</span> refCountOffset = unsafe<a name="line.41"></a> +<span class="sourceLineNo">042</span> .objectFieldOffset(UnsafeSharedMemoryBucketEntry.class.getDeclaredField("refCount"));<a name="line.42"></a> +<span class="sourceLineNo">043</span> } catch (Exception ex) {<a name="line.43"></a> +<span class="sourceLineNo">044</span> throw new Error(ex);<a name="line.44"></a> +<span class="sourceLineNo">045</span> }<a name="line.45"></a> +<span class="sourceLineNo">046</span> }<a name="line.46"></a> +<span class="sourceLineNo">047</span><a name="line.47"></a> +<span class="sourceLineNo">048</span> // Set this when we were not able to forcefully evict the block<a name="line.48"></a> +<span class="sourceLineNo">049</span> private volatile boolean markedForEvict;<a name="line.49"></a> +<span class="sourceLineNo">050</span> private volatile int refCount = 0;<a name="line.50"></a> +<span class="sourceLineNo">051</span><a name="line.51"></a> +<span class="sourceLineNo">052</span> public UnsafeSharedMemoryBucketEntry(long offset, int length, long accessCounter,<a name="line.52"></a> +<span class="sourceLineNo">053</span> boolean inMemory) {<a name="line.53"></a> +<span class="sourceLineNo">054</span> super(offset, length, accessCounter, inMemory);<a name="line.54"></a> +<span class="sourceLineNo">055</span> }<a name="line.55"></a> +<span class="sourceLineNo">056</span><a name="line.56"></a> +<span class="sourceLineNo">057</span> @Override<a name="line.57"></a> +<span class="sourceLineNo">058</span> protected int getRefCount() {<a name="line.58"></a> +<span class="sourceLineNo">059</span> return this.refCount;<a name="line.59"></a> +<span class="sourceLineNo">060</span> }<a name="line.60"></a> +<span class="sourceLineNo">061</span><a name="line.61"></a> +<span class="sourceLineNo">062</span> @Override<a name="line.62"></a> +<span class="sourceLineNo">063</span> protected int incrementRefCountAndGet() {<a name="line.63"></a> +<span class="sourceLineNo">064</span> return unsafe.getAndAddInt(this, refCountOffset, 1) + 1;<a name="line.64"></a> +<span class="sourceLineNo">065</span> }<a name="line.65"></a> +<span class="sourceLineNo">066</span><a name="line.66"></a> +<span class="sourceLineNo">067</span> @Override<a name="line.67"></a> +<span class="sourceLineNo">068</span> protected int decrementRefCountAndGet() {<a name="line.68"></a> +<span class="sourceLineNo">069</span> return unsafe.getAndAddInt(this, refCountOffset, -1) - 1;<a name="line.69"></a> +<span class="sourceLineNo">070</span> }<a name="line.70"></a> +<span class="sourceLineNo">071</span><a name="line.71"></a> +<span class="sourceLineNo">072</span> @Override<a name="line.72"></a> +<span class="sourceLineNo">073</span> protected boolean isMarkedForEvict() {<a name="line.73"></a> +<span class="sourceLineNo">074</span> return this.markedForEvict;<a name="line.74"></a> +<span class="sourceLineNo">075</span> }<a name="line.75"></a> +<span class="sourceLineNo">076</span><a name="line.76"></a> +<span class="sourceLineNo">077</span> @Override<a name="line.77"></a> +<span class="sourceLineNo">078</span> protected void markForEvict() {<a name="line.78"></a> +<span class="sourceLineNo">079</span> this.markedForEvict = true;<a name="line.79"></a> +<span class="sourceLineNo">080</span> }<a name="line.80"></a> +<span class="sourceLineNo">081</span>}<a name="line.81"></a> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +</pre> +</div> +</body> +</html> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/545b969c/devapidocs/src-html/org/apache/hadoop/hbase/util/UnsafeAccess.html ---------------------------------------------------------------------- diff --git a/devapidocs/src-html/org/apache/hadoop/hbase/util/UnsafeAccess.html b/devapidocs/src-html/org/apache/hadoop/hbase/util/UnsafeAccess.html index f928a47..0970a24 100644 --- a/devapidocs/src-html/org/apache/hadoop/hbase/util/UnsafeAccess.html +++ b/devapidocs/src-html/org/apache/hadoop/hbase/util/UnsafeAccess.html @@ -45,7 +45,7 @@ <span class="sourceLineNo">037</span><a name="line.37"></a> <span class="sourceLineNo">038</span> private static final Logger LOG = LoggerFactory.getLogger(UnsafeAccess.class);<a name="line.38"></a> <span class="sourceLineNo">039</span><a name="line.39"></a> -<span class="sourceLineNo">040</span> static final Unsafe theUnsafe;<a name="line.40"></a> +<span class="sourceLineNo">040</span> public static final Unsafe theUnsafe;<a name="line.40"></a> <span class="sourceLineNo">041</span><a name="line.41"></a> <span class="sourceLineNo">042</span> /** The offset to the first element in a byte array. */<a name="line.42"></a> <span class="sourceLineNo">043</span> public static final long BYTE_ARRAY_BASE_OFFSET;<a name="line.43"></a> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/545b969c/export_control.html ---------------------------------------------------------------------- diff --git a/export_control.html b/export_control.html index e435a62..24ac50b 100644 --- a/export_control.html +++ b/export_control.html @@ -7,7 +7,7 @@ <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> - <meta name="Date-Revision-yyyymmdd" content="20180324" /> + <meta name="Date-Revision-yyyymmdd" content="20180325" /> <meta http-equiv="Content-Language" content="en" /> <title>Apache HBase – Export Control @@ -324,7 +324,7 @@ for more details.</p> <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved. - <li id="publishDate" class="pull-right">Last Published: 2018-03-24</li> + <li id="publishDate" class="pull-right">Last Published: 2018-03-25</li> </p> </div> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/545b969c/index.html ---------------------------------------------------------------------- diff --git a/index.html b/index.html index 994f1b4..fd69909 100644 --- a/index.html +++ b/index.html @@ -7,7 +7,7 @@ <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> - <meta name="Date-Revision-yyyymmdd" content="20180324" /> + <meta name="Date-Revision-yyyymmdd" content="20180325" /> <meta http-equiv="Content-Language" content="en" /> <title>Apache HBase – Apache HBase⢠Home</title> <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" /> @@ -428,7 +428,7 @@ Apache HBase is an open-source, distributed, versioned, non-relational database <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved. - <li id="publishDate" class="pull-right">Last Published: 2018-03-24</li> + <li id="publishDate" class="pull-right">Last Published: 2018-03-25</li> </p> </div> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/545b969c/integration.html ---------------------------------------------------------------------- diff --git a/integration.html b/integration.html index dc4f81b..aa27a82 100644 --- a/integration.html +++ b/integration.html @@ -7,7 +7,7 @@ <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> - <meta name="Date-Revision-yyyymmdd" content="20180324" /> + <meta name="Date-Revision-yyyymmdd" content="20180325" /> <meta http-equiv="Content-Language" content="en" /> <title>Apache HBase – CI Management</title> <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" /> @@ -284,7 +284,7 @@ <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved. - <li id="publishDate" class="pull-right">Last Published: 2018-03-24</li> + <li id="publishDate" class="pull-right">Last Published: 2018-03-25</li> </p> </div> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/545b969c/issue-tracking.html ---------------------------------------------------------------------- diff --git a/issue-tracking.html b/issue-tracking.html index f359bb3..d37a9b1 100644 --- a/issue-tracking.html +++ b/issue-tracking.html @@ -7,7 +7,7 @@ <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> - <meta name="Date-Revision-yyyymmdd" content="20180324" /> + <meta name="Date-Revision-yyyymmdd" content="20180325" /> <meta http-equiv="Content-Language" content="en" /> <title>Apache HBase – Issue Management</title> <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" /> @@ -281,7 +281,7 @@ <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved. - <li id="publishDate" class="pull-right">Last Published: 2018-03-24</li> + <li id="publishDate" class="pull-right">Last Published: 2018-03-25</li> </p> </div> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/545b969c/license.html ---------------------------------------------------------------------- diff --git a/license.html b/license.html index ce8f5f5..33b7dd0 100644 --- a/license.html +++ b/license.html @@ -7,7 +7,7 @@ <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> - <meta name="Date-Revision-yyyymmdd" content="20180324" /> + <meta name="Date-Revision-yyyymmdd" content="20180325" /> <meta http-equiv="Content-Language" content="en" /> <title>Apache HBase – Project Licenses</title> <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" /> @@ -484,7 +484,7 @@ <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved. - <li id="publishDate" class="pull-right">Last Published: 2018-03-24</li> + <li id="publishDate" class="pull-right">Last Published: 2018-03-25</li> </p> </div> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/545b969c/mail-lists.html ---------------------------------------------------------------------- diff --git a/mail-lists.html b/mail-lists.html index 7635b24..ce72962 100644 --- a/mail-lists.html +++ b/mail-lists.html @@ -7,7 +7,7 @@ <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> - <meta name="Date-Revision-yyyymmdd" content="20180324" /> + <meta name="Date-Revision-yyyymmdd" content="20180325" /> <meta http-equiv="Content-Language" content="en" /> <title>Apache HBase – Project Mailing Lists</title> <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" /> @@ -334,7 +334,7 @@ <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved. - <li id="publishDate" class="pull-right">Last Published: 2018-03-24</li> + <li id="publishDate" class="pull-right">Last Published: 2018-03-25</li> </p> </div> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/545b969c/metrics.html ---------------------------------------------------------------------- diff --git a/metrics.html b/metrics.html index c5e6d50..d5bda1e 100644 --- a/metrics.html +++ b/metrics.html @@ -7,7 +7,7 @@ <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> - <meta name="Date-Revision-yyyymmdd" content="20180324" /> + <meta name="Date-Revision-yyyymmdd" content="20180325" /> <meta http-equiv="Content-Language" content="en" /> <title>Apache HBase – Apache HBase (TM) Metrics @@ -452,7 +452,7 @@ export HBASE_REGIONSERVER_OPTS="$HBASE_JMX_OPTS -Dcom.sun.management.jmxrem <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved. - <li id="publishDate" class="pull-right">Last Published: 2018-03-24</li> + <li id="publishDate" class="pull-right">Last Published: 2018-03-25</li> </p> </div> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/545b969c/old_news.html ---------------------------------------------------------------------- diff --git a/old_news.html b/old_news.html index a30e323..60a6fae 100644 --- a/old_news.html +++ b/old_news.html @@ -7,7 +7,7 @@ <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> - <meta name="Date-Revision-yyyymmdd" content="20180324" /> + <meta name="Date-Revision-yyyymmdd" content="20180325" /> <meta http-equiv="Content-Language" content="en" /> <title>Apache HBase – Old Apache HBase (TM) News @@ -407,7 +407,7 @@ under the License. --> <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved. - <li id="publishDate" class="pull-right">Last Published: 2018-03-24</li> + <li id="publishDate" class="pull-right">Last Published: 2018-03-25</li> </p> </div> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/545b969c/plugin-management.html ---------------------------------------------------------------------- diff --git a/plugin-management.html b/plugin-management.html index 7984485..9e3381a 100644 --- a/plugin-management.html +++ b/plugin-management.html @@ -7,7 +7,7 @@ <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> - <meta name="Date-Revision-yyyymmdd" content="20180324" /> + <meta name="Date-Revision-yyyymmdd" content="20180325" /> <meta http-equiv="Content-Language" content="en" /> <title>Apache HBase – Project Plugin Management</title> <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" /> @@ -433,7 +433,7 @@ <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved. - <li id="publishDate" class="pull-right">Last Published: 2018-03-24</li> + <li id="publishDate" class="pull-right">Last Published: 2018-03-25</li> </p> </div> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/545b969c/plugins.html ---------------------------------------------------------------------- diff --git a/plugins.html b/plugins.html index 4da9690..3bd0489 100644 --- a/plugins.html +++ b/plugins.html @@ -7,7 +7,7 @@ <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> - <meta name="Date-Revision-yyyymmdd" content="20180324" /> + <meta name="Date-Revision-yyyymmdd" content="20180325" /> <meta http-equiv="Content-Language" content="en" /> <title>Apache HBase – Project Plugins</title> <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" /> @@ -368,7 +368,7 @@ <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved. - <li id="publishDate" class="pull-right">Last Published: 2018-03-24</li> + <li id="publishDate" class="pull-right">Last Published: 2018-03-25</li> </p> </div> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/545b969c/poweredbyhbase.html ---------------------------------------------------------------------- diff --git a/poweredbyhbase.html b/poweredbyhbase.html index 7e4e4b2..c057e6c 100644 --- a/poweredbyhbase.html +++ b/poweredbyhbase.html @@ -7,7 +7,7 @@ <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> - <meta name="Date-Revision-yyyymmdd" content="20180324" /> + <meta name="Date-Revision-yyyymmdd" content="20180325" /> <meta http-equiv="Content-Language" content="en" /> <title>Apache HBase – Powered By Apache HBaseÂ</title> <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" /> @@ -762,7 +762,7 @@ under the License. --> <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved. - <li id="publishDate" class="pull-right">Last Published: 2018-03-24</li> + <li id="publishDate" class="pull-right">Last Published: 2018-03-25</li> </p> </div> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/545b969c/project-summary.html ---------------------------------------------------------------------- diff --git a/project-summary.html b/project-summary.html index d2c231b..644f143 100644 --- a/project-summary.html +++ b/project-summary.html @@ -7,7 +7,7 @@ <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> - <meta name="Date-Revision-yyyymmdd" content="20180324" /> + <meta name="Date-Revision-yyyymmdd" content="20180325" /> <meta http-equiv="Content-Language" content="en" /> <title>Apache HBase – Project Summary</title> <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" /> @@ -324,7 +324,7 @@ <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved. - <li id="publishDate" class="pull-right">Last Published: 2018-03-24</li> + <li id="publishDate" class="pull-right">Last Published: 2018-03-25</li> </p> </div> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/545b969c/pseudo-distributed.html ---------------------------------------------------------------------- diff --git a/pseudo-distributed.html b/pseudo-distributed.html index d8439be..014f772 100644 --- a/pseudo-distributed.html +++ b/pseudo-distributed.html @@ -7,7 +7,7 @@ <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> - <meta name="Date-Revision-yyyymmdd" content="20180324" /> + <meta name="Date-Revision-yyyymmdd" content="20180325" /> <meta http-equiv="Content-Language" content="en" /> <title>Apache HBase – Running Apache HBase (TM) in pseudo-distributed mode @@ -301,7 +301,7 @@ under the License. --> <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved. - <li id="publishDate" class="pull-right">Last Published: 2018-03-24</li> + <li id="publishDate" class="pull-right">Last Published: 2018-03-25</li> </p> </div> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/545b969c/replication.html ---------------------------------------------------------------------- diff --git a/replication.html b/replication.html index 4bc1a79..1985409 100644 --- a/replication.html +++ b/replication.html @@ -7,7 +7,7 @@ <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> - <meta name="Date-Revision-yyyymmdd" content="20180324" /> + <meta name="Date-Revision-yyyymmdd" content="20180325" /> <meta http-equiv="Content-Language" content="en" /> <title>Apache HBase – Apache HBase (TM) Replication @@ -296,7 +296,7 @@ under the License. --> <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved. - <li id="publishDate" class="pull-right">Last Published: 2018-03-24</li> + <li id="publishDate" class="pull-right">Last Published: 2018-03-25</li> </p> </div> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/545b969c/resources.html ---------------------------------------------------------------------- diff --git a/resources.html b/resources.html index bb151ed..e3d69bc 100644 --- a/resources.html +++ b/resources.html @@ -7,7 +7,7 @@ <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> - <meta name="Date-Revision-yyyymmdd" content="20180324" /> + <meta name="Date-Revision-yyyymmdd" content="20180325" /> <meta http-equiv="Content-Language" content="en" /> <title>Apache HBase – Other Apache HBase (TM) Resources</title> <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" /> @@ -324,7 +324,7 @@ under the License. --> <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved. - <li id="publishDate" class="pull-right">Last Published: 2018-03-24</li> + <li id="publishDate" class="pull-right">Last Published: 2018-03-25</li> </p> </div> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/545b969c/source-repository.html ---------------------------------------------------------------------- diff --git a/source-repository.html b/source-repository.html index 4b36fb2..36f1af4 100644 --- a/source-repository.html +++ b/source-repository.html @@ -7,7 +7,7 @@ <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> - <meta name="Date-Revision-yyyymmdd" content="20180324" /> + <meta name="Date-Revision-yyyymmdd" content="20180325" /> <meta http-equiv="Content-Language" content="en" /> <title>Apache HBase – Source Code Management</title> <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" /> @@ -292,7 +292,7 @@ <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved. - <li id="publishDate" class="pull-right">Last Published: 2018-03-24</li> + <li id="publishDate" class="pull-right">Last Published: 2018-03-25</li> </p> </div> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/545b969c/sponsors.html ---------------------------------------------------------------------- diff --git a/sponsors.html b/sponsors.html index 86be926..311fcab 100644 --- a/sponsors.html +++ b/sponsors.html @@ -7,7 +7,7 @@ <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> - <meta name="Date-Revision-yyyymmdd" content="20180324" /> + <meta name="Date-Revision-yyyymmdd" content="20180325" /> <meta http-equiv="Content-Language" content="en" /> <title>Apache HBase – Apache HBase Sponsors</title> <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" /> @@ -326,7 +326,7 @@ under the License. --> <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved. - <li id="publishDate" class="pull-right">Last Published: 2018-03-24</li> + <li id="publishDate" class="pull-right">Last Published: 2018-03-25</li> </p> </div> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/545b969c/supportingprojects.html ---------------------------------------------------------------------- diff --git a/supportingprojects.html b/supportingprojects.html index 70448d9..b55c465 100644 --- a/supportingprojects.html +++ b/supportingprojects.html @@ -7,7 +7,7 @@ <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> - <meta name="Date-Revision-yyyymmdd" content="20180324" /> + <meta name="Date-Revision-yyyymmdd" content="20180325" /> <meta http-equiv="Content-Language" content="en" /> <title>Apache HBase – Supporting Projects</title> <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" /> @@ -513,7 +513,7 @@ under the License. --> <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved. - <li id="publishDate" class="pull-right">Last Published: 2018-03-24</li> + <li id="publishDate" class="pull-right">Last Published: 2018-03-25</li> </p> </div> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/545b969c/team-list.html ---------------------------------------------------------------------- diff --git a/team-list.html b/team-list.html index 37eca74..bf79836 100644 --- a/team-list.html +++ b/team-list.html @@ -7,7 +7,7 @@ <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> - <meta name="Date-Revision-yyyymmdd" content="20180324" /> + <meta name="Date-Revision-yyyymmdd" content="20180325" /> <meta http-equiv="Content-Language" content="en" /> <title>Apache HBase – Project Team</title> <link rel="stylesheet" href="./css/apache-maven-fluido-1.5-HBASE.min.css" /> @@ -723,7 +723,7 @@ <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved. - <li id="publishDate" class="pull-right">Last Published: 2018-03-24</li> + <li id="publishDate" class="pull-right">Last Published: 2018-03-25</li> </p> </div> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/545b969c/testdevapidocs/org/apache/hadoop/hbase/io/hfile/bucket/TestBucketCache.MockedBucketCache.html ---------------------------------------------------------------------- diff --git a/testdevapidocs/org/apache/hadoop/hbase/io/hfile/bucket/TestBucketCache.MockedBucketCache.html b/testdevapidocs/org/apache/hadoop/hbase/io/hfile/bucket/TestBucketCache.MockedBucketCache.html index 668562d..e3c4d0c 100644 --- a/testdevapidocs/org/apache/hadoop/hbase/io/hfile/bucket/TestBucketCache.MockedBucketCache.html +++ b/testdevapidocs/org/apache/hadoop/hbase/io/hfile/bucket/TestBucketCache.MockedBucketCache.html @@ -141,7 +141,7 @@ extends org.apache.hadoop.hbase.io.hfile.bucket.BucketCache</pre> <!-- --> </a> <h3>Nested classes/interfaces inherited from class org.apache.hadoop.hbase.io.hfile.bucket.BucketCache</h3> -<code>org.apache.hadoop.hbase.io.hfile.bucket.BucketCache.BucketEntry, org.apache.hadoop.hbase.io.hfile.bucket.BucketCache.RAMQueueEntry, org.apache.hadoop.hbase.io.hfile.bucket.BucketCache.WriterThread</code></li> +<code>org.apache.hadoop.hbase.io.hfile.bucket.BucketCache.BucketEntry, org.apache.hadoop.hbase.io.hfile.bucket.BucketCache.RAMQueueEntry, org.apache.hadoop.hbase.io.hfile.bucket.BucketCache.SharedMemoryBucketEntry, org.apache.hadoop.hbase.io.hfile.bucket.BucketCache.WriterThread</code></li> </ul> </li> </ul> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/545b969c/testdevapidocs/org/apache/hadoop/hbase/io/hfile/bucket/TestBucketWriterThread.MockBucketCache.html ---------------------------------------------------------------------- diff --git a/testdevapidocs/org/apache/hadoop/hbase/io/hfile/bucket/TestBucketWriterThread.MockBucketCache.html b/testdevapidocs/org/apache/hadoop/hbase/io/hfile/bucket/TestBucketWriterThread.MockBucketCache.html index 2907e07..f3f8f07 100644 --- a/testdevapidocs/org/apache/hadoop/hbase/io/hfile/bucket/TestBucketWriterThread.MockBucketCache.html +++ b/testdevapidocs/org/apache/hadoop/hbase/io/hfile/bucket/TestBucketWriterThread.MockBucketCache.html @@ -142,7 +142,7 @@ extends org.apache.hadoop.hbase.io.hfile.bucket.BucketCache</pre> <!-- --> </a> <h3>Nested classes/interfaces inherited from class org.apache.hadoop.hbase.io.hfile.bucket.BucketCache</h3> -<code>org.apache.hadoop.hbase.io.hfile.bucket.BucketCache.BucketEntry, org.apache.hadoop.hbase.io.hfile.bucket.BucketCache.RAMQueueEntry, org.apache.hadoop.hbase.io.hfile.bucket.BucketCache.WriterThread</code></li> +<code>org.apache.hadoop.hbase.io.hfile.bucket.BucketCache.BucketEntry, org.apache.hadoop.hbase.io.hfile.bucket.BucketCache.RAMQueueEntry, org.apache.hadoop.hbase.io.hfile.bucket.BucketCache.SharedMemoryBucketEntry, org.apache.hadoop.hbase.io.hfile.bucket.BucketCache.WriterThread</code></li> </ul> </li> </ul> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/545b969c/testdevapidocs/serialized-form.html ---------------------------------------------------------------------- diff --git a/testdevapidocs/serialized-form.html b/testdevapidocs/serialized-form.html index 6d133bd..bbfe602 100644 --- a/testdevapidocs/serialized-form.html +++ b/testdevapidocs/serialized-form.html @@ -1011,6 +1011,30 @@ </li> </ul> </li> +<li class="blockList"><a name="org.apache.hadoop.hbase.io.hfile.bucket.UnsafeSharedMemoryBucketEntry"> +<!-- --> +</a> +<h3>Class org.apache.hadoop.hbase.io.hfile.bucket.UnsafeSharedMemoryBucketEntry extends org.apache.hadoop.hbase.io.hfile.bucket.BucketCache.BucketEntry implements Serializable</h3> +<dl class="nameValue"> +<dt>serialVersionUID:</dt> +<dd>707544024564058801L</dd> +</dl> +<ul class="blockList"> +<li class="blockList"> +<h3>Serialized Fields</h3> +<ul class="blockList"> +<li class="blockList"> +<h4>markedForEvict</h4> +<pre>boolean markedForEvict</pre> +</li> +<li class="blockListLast"> +<h4>refCount</h4> +<pre>int refCount</pre> +</li> +</ul> +</li> +</ul> +</li> </ul> </li> <li class="blockList">
