From commits-return-67505-archive-asf-public=cust-asf.ponee.io@hbase.apache.org Fri Feb 9 16:14:11 2018 Return-Path: X-Original-To: archive-asf-public@eu.ponee.io Delivered-To: archive-asf-public@eu.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by mx-eu-01.ponee.io (Postfix) with ESMTP id 64A3B180654 for ; Fri, 9 Feb 2018 16:14:11 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 5468A160C67; Fri, 9 Feb 2018 15:14:11 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 23162160C4C for ; Fri, 9 Feb 2018 16:14:08 +0100 (CET) Received: (qmail 88522 invoked by uid 500); 9 Feb 2018 15:14:06 -0000 Mailing-List: contact commits-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hbase.apache.org Delivered-To: mailing list commits@hbase.apache.org Received: (qmail 87578 invoked by uid 99); 9 Feb 2018 15:14:06 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Feb 2018 15:14:06 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 0C714F3324; Fri, 9 Feb 2018 15:14:05 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: git-site-role@apache.org To: commits@hbase.apache.org Date: Fri, 09 Feb 2018 15:14:17 -0000 Message-Id: <51f6c9c5439a4ce99dba6b1fc879477f@git.apache.org> In-Reply-To: References: X-Mailer: ASF-Git Admin Mailer Subject: [14/51] [partial] hbase-site git commit: Published site at . http://git-wip-us.apache.org/repos/asf/hbase-site/blob/0ab8335e/devapidocs/org/apache/hadoop/hbase/io/hfile/class-use/BlockCacheKey.html ---------------------------------------------------------------------- diff --git a/devapidocs/org/apache/hadoop/hbase/io/hfile/class-use/BlockCacheKey.html b/devapidocs/org/apache/hadoop/hbase/io/hfile/class-use/BlockCacheKey.html index b8ce496..570fb68 100644 --- a/devapidocs/org/apache/hadoop/hbase/io/hfile/class-use/BlockCacheKey.html +++ b/devapidocs/org/apache/hadoop/hbase/io/hfile/class-use/BlockCacheKey.html @@ -168,27 +168,39 @@ void +CombinedBlockCache.cacheBlock(BlockCacheKey cacheKey, + Cacheable buf)  + + +void BlockCache.cacheBlock(BlockCacheKey cacheKey, Cacheable buf)
Add block to cache (defaults to not in-memory).
- + void LruBlockCache.cacheBlock(BlockCacheKey cacheKey, Cacheable buf)
Cache the block with the specified name and buffer.
- + void -CombinedBlockCache.cacheBlock(BlockCacheKey cacheKey, +MemcachedBlockCache.cacheBlock(BlockCacheKey cacheKey, Cacheable buf)  + +void +CombinedBlockCache.cacheBlock(BlockCacheKey cacheKey, + Cacheable buf, + boolean inMemory)  + void -MemcachedBlockCache.cacheBlock(BlockCacheKey cacheKey, - Cacheable buf)  +InclusiveCombinedBlockCache.cacheBlock(BlockCacheKey cacheKey, + Cacheable buf, + boolean inMemory)  void @@ -208,18 +220,6 @@ void -CombinedBlockCache.cacheBlock(BlockCacheKey cacheKey, - Cacheable buf, - boolean inMemory)  - - -void -InclusiveCombinedBlockCache.cacheBlock(BlockCacheKey cacheKey, - Cacheable buf, - boolean inMemory)  - - -void MemcachedBlockCache.cacheBlock(BlockCacheKey cacheKey, Cacheable buf, boolean inMemory)  @@ -232,21 +232,21 @@ boolean -BlockCache.evictBlock(BlockCacheKey cacheKey) -
Evict block from cache.
- +CombinedBlockCache.evictBlock(BlockCacheKey cacheKey)  boolean -LruBlockCache.evictBlock(BlockCacheKey cacheKey)  +InclusiveCombinedBlockCache.evictBlock(BlockCacheKey cacheKey)  boolean -CombinedBlockCache.evictBlock(BlockCacheKey cacheKey)  +BlockCache.evictBlock(BlockCacheKey cacheKey) +
Evict block from cache.
+ boolean -InclusiveCombinedBlockCache.evictBlock(BlockCacheKey cacheKey)  +LruBlockCache.evictBlock(BlockCacheKey cacheKey)  boolean @@ -254,35 +254,35 @@ Cacheable -BlockCache.getBlock(BlockCacheKey cacheKey, +CombinedBlockCache.getBlock(BlockCacheKey cacheKey, boolean caching, boolean repeat, - boolean updateCacheMetrics) -
Fetch block from cache.
- + boolean updateCacheMetrics)
  Cacheable -LruBlockCache.getBlock(BlockCacheKey cacheKey, +InclusiveCombinedBlockCache.getBlock(BlockCacheKey cacheKey, boolean caching, boolean repeat, - boolean updateCacheMetrics) -
Get the buffer of the block with the specified name.
- + boolean updateCacheMetrics)
  Cacheable -CombinedBlockCache.getBlock(BlockCacheKey cacheKey, +BlockCache.getBlock(BlockCacheKey cacheKey, boolean caching, boolean repeat, - boolean updateCacheMetrics)  + boolean updateCacheMetrics) +
Fetch block from cache.
+ Cacheable -InclusiveCombinedBlockCache.getBlock(BlockCacheKey cacheKey, +LruBlockCache.getBlock(BlockCacheKey cacheKey, boolean caching, boolean repeat, - boolean updateCacheMetrics)  + boolean updateCacheMetrics) +
Get the buffer of the block with the specified name.
+ Cacheable @@ -308,6 +308,11 @@ CombinedBlockCache.getRefCount(BlockCacheKey cacheKey)  +void +CombinedBlockCache.returnBlock(BlockCacheKey cacheKey, + Cacheable block)  + + default void BlockCache.returnBlock(BlockCacheKey cacheKey, Cacheable block) @@ -315,11 +320,6 @@ is over. - -void -CombinedBlockCache.returnBlock(BlockCacheKey cacheKey, - Cacheable block)  - @@ -497,13 +497,13 @@ - + - +
voidCachedEntryQueue.add(Map.Entry<BlockCacheKey,BucketCache.BucketEntry> entry) -
Attempt to add the specified entry to this queue.
-
BucketCache.BucketEntryGroup.add(Map.Entry<BlockCacheKey,BucketCache.BucketEntry> block) 
voidBucketCache.BucketEntryGroup.add(Map.Entry<BlockCacheKey,BucketCache.BucketEntry> block) CachedEntryQueue.add(Map.Entry<BlockCacheKey,BucketCache.BucketEntry> entry) +
Attempt to add the specified entry to this queue.
+
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/0ab8335e/devapidocs/org/apache/hadoop/hbase/io/hfile/class-use/BlockType.html ---------------------------------------------------------------------- diff --git a/devapidocs/org/apache/hadoop/hbase/io/hfile/class-use/BlockType.html b/devapidocs/org/apache/hadoop/hbase/io/hfile/class-use/BlockType.html index 4e5aa0f..ad7731b 100644 --- a/devapidocs/org/apache/hadoop/hbase/io/hfile/class-use/BlockType.html +++ b/devapidocs/org/apache/hadoop/hbase/io/hfile/class-use/BlockType.html @@ -169,20 +169,20 @@ private BlockType -BlockCacheKey.blockType  - - -private BlockType HFileBlock.blockType
Type of block.
- + private BlockType HFileBlock.Writer.blockType
Current block type.
+ +private BlockType +BlockCacheKey.blockType  + @@ -194,7 +194,7 @@ - + @@ -208,22 +208,22 @@ - + - + - - - - + + + + @@ -284,26 +284,26 @@ the order they are declared. - - + BlockType blockType)  - + BlockType blockType) +
Ends encoding for a block of KeyValues.
+ http://git-wip-us.apache.org/repos/asf/hbase-site/blob/0ab8335e/devapidocs/org/apache/hadoop/hbase/io/hfile/class-use/CacheConfig.html ---------------------------------------------------------------------- diff --git a/devapidocs/org/apache/hadoop/hbase/io/hfile/class-use/CacheConfig.html b/devapidocs/org/apache/hadoop/hbase/io/hfile/class-use/CacheConfig.html index 4caf21b..69fb0ad 100644 --- a/devapidocs/org/apache/hadoop/hbase/io/hfile/class-use/CacheConfig.html +++ b/devapidocs/org/apache/hadoop/hbase/io/hfile/class-use/CacheConfig.html @@ -223,9 +223,9 @@ - - + @@ -233,9 +233,9 @@ - - + @@ -422,6 +422,13 @@ + + + + - - - - - + - + - + - +
BlockTypeBlockCacheKey.getBlockType() CachedBlock.getBlockType() 
BlockType
BlockTypeCacheable.getBlockType() BlockCacheKey.getBlockType() 
BlockTypeCachedBlock.getBlockType() Cacheable.getBlockType() 
BlockTypeHFileBlockIndex.BlockIndexWriter.getInlineBlockType() 
BlockType InlineBlockWriter.getInlineBlockType()
The type of blocks this block writer produces.
BlockTypeHFileBlockIndex.BlockIndexWriter.getInlineBlockType() 
BlockType CompoundBloomFilterWriter.getInlineBlockType() 
voidNoOpDataBlockEncoder.endBlockEncoding(HFileBlockEncodingContext encodingCtx, +HFileDataBlockEncoderImpl.endBlockEncoding(HFileBlockEncodingContext encodingCtx, DataOutputStream out, byte[] uncompressedBytesWithHeader, BlockType blockType) 
voidHFileDataBlockEncoder.endBlockEncoding(HFileBlockEncodingContext encodingCtx, +NoOpDataBlockEncoder.endBlockEncoding(HFileBlockEncodingContext encodingCtx, DataOutputStream out, byte[] uncompressedBytesWithHeader, - BlockType blockType) -
Ends encoding for a block of KeyValues.
-
voidHFileDataBlockEncoderImpl.endBlockEncoding(HFileBlockEncodingContext encodingCtx, +HFileDataBlockEncoder.endBlockEncoding(HFileBlockEncodingContext encodingCtx, DataOutputStream out, byte[] uncompressedBytesWithHeader, - BlockType blockType) 
private DataInput
private CacheConfigHFileBlockIndex.BlockIndexWriter.cacheConf -
CacheConfig, or null if cache-on-write is disabled
+
protected CacheConfigHFileWriterImpl.cacheConf +
Cache configuration for caching data on write.
HFile.WriterFactory.cacheConf 
protected CacheConfigHFileWriterImpl.cacheConf -
Cache configuration for caching data on write.
+
private CacheConfigHFileBlockIndex.BlockIndexWriter.cacheConf +
CacheConfig, or null if cache-on-write is disabled
static CachedMobFileCachedMobFile.create(org.apache.hadoop.fs.FileSystem fs, + org.apache.hadoop.fs.Path path, + org.apache.hadoop.conf.Configuration conf, + CacheConfig cacheConf) 
static MobFile MobFile.create(org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path path, @@ -430,13 +437,6 @@
Creates an instance of the MobFile.
static CachedMobFileCachedMobFile.create(org.apache.hadoop.fs.FileSystem fs, - org.apache.hadoop.fs.Path path, - org.apache.hadoop.conf.Configuration conf, - CacheConfig cacheConf) 
static StoreFileWriter MobUtils.createDelFileWriter(org.apache.hadoop.conf.Configuration conf, @@ -734,19 +734,19 @@
private CacheConfigBlockCacheViewTmplImpl.cacheConfig BlockCacheTmplImpl.cacheConfig 
private CacheConfigBlockCacheTmplImpl.cacheConfig BlockCacheViewTmplImpl.cacheConfig 
private CacheConfigBlockCacheTmpl.ImplData.m_cacheConfig BlockCacheViewTmpl.ImplData.m_cacheConfig 
private CacheConfigBlockCacheViewTmpl.ImplData.m_cacheConfig BlockCacheTmpl.ImplData.m_cacheConfig 
@@ -759,11 +759,11 @@ CacheConfig -BlockCacheTmpl.ImplData.getCacheConfig()  +BlockCacheViewTmpl.ImplData.getCacheConfig()  CacheConfig -BlockCacheViewTmpl.ImplData.getCacheConfig()  +BlockCacheTmpl.ImplData.getCacheConfig()  @@ -833,11 +833,11 @@ void -BlockCacheTmpl.ImplData.setCacheConfig(CacheConfig cacheConfig)  +BlockCacheViewTmpl.ImplData.setCacheConfig(CacheConfig cacheConfig)  void -BlockCacheViewTmpl.ImplData.setCacheConfig(CacheConfig cacheConfig)  +BlockCacheTmpl.ImplData.setCacheConfig(CacheConfig cacheConfig)  http://git-wip-us.apache.org/repos/asf/hbase-site/blob/0ab8335e/devapidocs/org/apache/hadoop/hbase/io/hfile/class-use/CacheStats.html ---------------------------------------------------------------------- diff --git a/devapidocs/org/apache/hadoop/hbase/io/hfile/class-use/CacheStats.html b/devapidocs/org/apache/hadoop/hbase/io/hfile/class-use/CacheStats.html index b4b6b97..679293c 100644 --- a/devapidocs/org/apache/hadoop/hbase/io/hfile/class-use/CacheStats.html +++ b/devapidocs/org/apache/hadoop/hbase/io/hfile/class-use/CacheStats.html @@ -166,20 +166,20 @@ CacheStats +CombinedBlockCache.getStats()  + + +CacheStats BlockCache.getStats()
Get the statistics for this block cache.
- + CacheStats LruBlockCache.getStats()
Get counter statistics for this cache.
- -CacheStats -CombinedBlockCache.getStats()  - CacheStats MemcachedBlockCache.getStats()  http://git-wip-us.apache.org/repos/asf/hbase-site/blob/0ab8335e/devapidocs/org/apache/hadoop/hbase/io/hfile/class-use/Cacheable.html ---------------------------------------------------------------------- diff --git a/devapidocs/org/apache/hadoop/hbase/io/hfile/class-use/Cacheable.html b/devapidocs/org/apache/hadoop/hbase/io/hfile/class-use/Cacheable.html index c87d163..60d18e5 100644 --- a/devapidocs/org/apache/hadoop/hbase/io/hfile/class-use/Cacheable.html +++ b/devapidocs/org/apache/hadoop/hbase/io/hfile/class-use/Cacheable.html @@ -176,35 +176,35 @@ Cacheable -BlockCache.getBlock(BlockCacheKey cacheKey, +CombinedBlockCache.getBlock(BlockCacheKey cacheKey, boolean caching, boolean repeat, - boolean updateCacheMetrics) -
Fetch block from cache.
- + boolean updateCacheMetrics)
  Cacheable -LruBlockCache.getBlock(BlockCacheKey cacheKey, +InclusiveCombinedBlockCache.getBlock(BlockCacheKey cacheKey, boolean caching, boolean repeat, - boolean updateCacheMetrics) -
Get the buffer of the block with the specified name.
- + boolean updateCacheMetrics)
  Cacheable -CombinedBlockCache.getBlock(BlockCacheKey cacheKey, +BlockCache.getBlock(BlockCacheKey cacheKey, boolean caching, boolean repeat, - boolean updateCacheMetrics)  + boolean updateCacheMetrics) +
Fetch block from cache.
+ Cacheable -InclusiveCombinedBlockCache.getBlock(BlockCacheKey cacheKey, +LruBlockCache.getBlock(BlockCacheKey cacheKey, boolean caching, boolean repeat, - boolean updateCacheMetrics)  + boolean updateCacheMetrics) +
Get the buffer of the block with the specified name.
+ Cacheable @@ -253,27 +253,39 @@ void +CombinedBlockCache.cacheBlock(BlockCacheKey cacheKey, + Cacheable buf)  + + +void BlockCache.cacheBlock(BlockCacheKey cacheKey, Cacheable buf)
Add block to cache (defaults to not in-memory).
- + void LruBlockCache.cacheBlock(BlockCacheKey cacheKey, Cacheable buf)
Cache the block with the specified name and buffer.
- + void -CombinedBlockCache.cacheBlock(BlockCacheKey cacheKey, +MemcachedBlockCache.cacheBlock(BlockCacheKey cacheKey, Cacheable buf)  + +void +CombinedBlockCache.cacheBlock(BlockCacheKey cacheKey, + Cacheable buf, + boolean inMemory)  + void -MemcachedBlockCache.cacheBlock(BlockCacheKey cacheKey, - Cacheable buf)  +InclusiveCombinedBlockCache.cacheBlock(BlockCacheKey cacheKey, + Cacheable buf, + boolean inMemory)  void @@ -293,18 +305,6 @@ void -CombinedBlockCache.cacheBlock(BlockCacheKey cacheKey, - Cacheable buf, - boolean inMemory)  - - -void -InclusiveCombinedBlockCache.cacheBlock(BlockCacheKey cacheKey, - Cacheable buf, - boolean inMemory)  - - -void MemcachedBlockCache.cacheBlock(BlockCacheKey cacheKey, Cacheable buf, boolean inMemory)  @@ -315,6 +315,11 @@ Cacheable right)  +void +CombinedBlockCache.returnBlock(BlockCacheKey cacheKey, + Cacheable block)  + + default void BlockCache.returnBlock(BlockCacheKey cacheKey, Cacheable block) @@ -322,11 +327,6 @@ is over. - -void -CombinedBlockCache.returnBlock(BlockCacheKey cacheKey, - Cacheable block)  - @@ -404,13 +404,19 @@ + + + + - + - - - - + + + + - + - - - - + + + + - + - - - - - + - + - +
CacheableByteBufferIOEngine.read(long offset, + int length, + CacheableDeserializer<Cacheable> deserializer) 
Cacheable FileIOEngine.read(long offset, int length, CacheableDeserializer<Cacheable> deserializer)
Transfers data from file to the given byte buffer
Cacheable IOEngine.read(long offset, int length, @@ -418,12 +424,6 @@
Transfers data from IOEngine to a Cacheable object.
CacheableByteBufferIOEngine.read(long offset, - int length, - CacheableDeserializer<Cacheable> deserializer) 
Cacheable FileMmapEngine.read(long offset, @@ -492,13 +492,19 @@
CacheableByteBufferIOEngine.read(long offset, + int length, + CacheableDeserializer<Cacheable> deserializer) 
Cacheable FileIOEngine.read(long offset, int length, CacheableDeserializer<Cacheable> deserializer)
Transfers data from file to the given byte buffer
Cacheable IOEngine.read(long offset, int length, @@ -506,12 +512,6 @@
Transfers data from IOEngine to a Cacheable object.
CacheableByteBufferIOEngine.read(long offset, - int length, - CacheableDeserializer<Cacheable> deserializer) 
Cacheable FileMmapEngine.read(long offset, http://git-wip-us.apache.org/repos/asf/hbase-site/blob/0ab8335e/devapidocs/org/apache/hadoop/hbase/io/hfile/class-use/CacheableDeserializer.html ---------------------------------------------------------------------- diff --git a/devapidocs/org/apache/hadoop/hbase/io/hfile/class-use/CacheableDeserializer.html b/devapidocs/org/apache/hadoop/hbase/io/hfile/class-use/CacheableDeserializer.html index 3837a2b..3d441ce 100644 --- a/devapidocs/org/apache/hadoop/hbase/io/hfile/class-use/CacheableDeserializer.html +++ b/devapidocs/org/apache/hadoop/hbase/io/hfile/class-use/CacheableDeserializer.html @@ -201,13 +201,19 @@
CacheableByteBufferIOEngine.read(long offset, + int length, + CacheableDeserializer<Cacheable> deserializer) 
Cacheable FileIOEngine.read(long offset, int length, CacheableDeserializer<Cacheable> deserializer)
Transfers data from file to the given byte buffer
Cacheable IOEngine.read(long offset, int length, @@ -215,12 +221,6 @@
Transfers data from IOEngine to a Cacheable object.
CacheableByteBufferIOEngine.read(long offset, - int length, - CacheableDeserializer<Cacheable> deserializer) 
Cacheable FileMmapEngine.read(long offset, http://git-wip-us.apache.org/repos/asf/hbase-site/blob/0ab8335e/devapidocs/org/apache/hadoop/hbase/io/hfile/class-use/CachedBlock.html ---------------------------------------------------------------------- diff --git a/devapidocs/org/apache/hadoop/hbase/io/hfile/class-use/CachedBlock.html b/devapidocs/org/apache/hadoop/hbase/io/hfile/class-use/CachedBlock.html index 21dc8c1..d6ab74a 100644 --- a/devapidocs/org/apache/hadoop/hbase/io/hfile/class-use/CachedBlock.html +++ b/devapidocs/org/apache/hadoop/hbase/io/hfile/class-use/CachedBlock.html @@ -150,15 +150,15 @@
Iterator<CachedBlock>BlockCache.iterator() CombinedBlockCache.iterator() 
Iterator<CachedBlock>LruBlockCache.iterator() BlockCache.iterator() 
Iterator<CachedBlock>CombinedBlockCache.iterator() LruBlockCache.iterator() 
Iterator<CachedBlock>