You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by ja...@apache.org on 2019/08/05 07:07:14 UTC

[hbase] branch branch-2 updated: HBASE-22790 Added deprecation versions for fields in ByteBuffAllocator

This is an automated email from the ASF dual-hosted git repository.

janh pushed a commit to branch branch-2
in repository https://gitbox.apache.org/repos/asf/hbase.git


The following commit(s) were added to refs/heads/branch-2 by this push:
     new 3971773  HBASE-22790 Added deprecation versions for fields in ByteBuffAllocator
3971773 is described below

commit 397177318951c65acca3947d8a9314b29573d028
Author: Jan Hentschel <ja...@ultratendency.com>
AuthorDate: Mon Aug 5 08:59:46 2019 +0200

    HBASE-22790 Added deprecation versions for fields in ByteBuffAllocator
    
    Signed-off-by: stack <st...@apache.org>
---
 .../main/java/org/apache/hadoop/hbase/io/ByteBuffAllocator.java  | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/hbase-common/src/main/java/org/apache/hadoop/hbase/io/ByteBuffAllocator.java b/hbase-common/src/main/java/org/apache/hadoop/hbase/io/ByteBuffAllocator.java
index 94e29b5..901d6be 100644
--- a/hbase-common/src/main/java/org/apache/hadoop/hbase/io/ByteBuffAllocator.java
+++ b/hbase-common/src/main/java/org/apache/hadoop/hbase/io/ByteBuffAllocator.java
@@ -78,20 +78,23 @@ public class ByteBuffAllocator {
   public static final String MIN_ALLOCATE_SIZE_KEY = "hbase.server.allocator.minimal.allocate.size";
 
   /**
-   * @deprecated use {@link ByteBuffAllocator#ALLOCATOR_POOL_ENABLED_KEY} instead.
+   * @deprecated since 2.3.0 and will be removed in 4.0.0. Use
+   *   {@link ByteBuffAllocator#ALLOCATOR_POOL_ENABLED_KEY} instead.
    */
   @Deprecated
   public static final String DEPRECATED_ALLOCATOR_POOL_ENABLED_KEY =
       "hbase.ipc.server.reservoir.enabled";
 
   /**
-   * @deprecated use {@link ByteBuffAllocator#MAX_BUFFER_COUNT_KEY} instead.
+   * @deprecated since 2.3.0 and will be removed in 4.0.0. Use
+   *   {@link ByteBuffAllocator#MAX_BUFFER_COUNT_KEY} instead.
    */
   @Deprecated
   static final String DEPRECATED_MAX_BUFFER_COUNT_KEY = "hbase.ipc.server.reservoir.initial.max";
 
   /**
-   * @deprecated use {@link ByteBuffAllocator#BUFFER_SIZE_KEY} instead.
+   * @deprecated since 2.3.0 and will be removed in 4.0.0. Use
+   *   {@link ByteBuffAllocator#BUFFER_SIZE_KEY} instead.
    */
   @Deprecated
   static final String DEPRECATED_BUFFER_SIZE_KEY = "hbase.ipc.server.reservoir.initial.buffer.size";