hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zhang...@apache.org
Subject [hbase] branch master updated: HBASE-22714 - Fix opertationTimeout typo (#392)
Date Tue, 30 Jul 2019 13:57:11 GMT
This is an automated email from the ASF dual-hosted git repository.

zhangduo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hbase.git


The following commit(s) were added to refs/heads/master by this push:
     new 5ce31dd  HBASE-22714 - Fix opertationTimeout typo (#392)
5ce31dd is described below

commit 5ce31dd120d4fa8cdb240954b734edaff82a9af5
Author: Thanh NM <n.thanh0105@gmail.com>
AuthorDate: Tue Jul 30 23:57:06 2019 +1000

    HBASE-22714 - Fix opertationTimeout typo (#392)
    
    Signed-off-by: Duo Zhang <zhangduo@apache.org>
---
 .../org/apache/hadoop/hbase/client/BufferedMutatorParams.java    | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/hbase-client/src/main/java/org/apache/hadoop/hbase/client/BufferedMutatorParams.java
b/hbase-client/src/main/java/org/apache/hadoop/hbase/client/BufferedMutatorParams.java
index 49fb77b..9044cdb 100644
--- a/hbase-client/src/main/java/org/apache/hadoop/hbase/client/BufferedMutatorParams.java
+++ b/hbase-client/src/main/java/org/apache/hadoop/hbase/client/BufferedMutatorParams.java
@@ -70,6 +70,15 @@ public class BufferedMutatorParams implements Cloneable {
     return rpcTimeout;
   }
 
+  public BufferedMutatorParams operationTimeout(final int operationTimeout) {
+    this.operationTimeout = operationTimeout;
+    return this;
+  }
+
+  /**
+   * @deprecated Since 2.3.0, will be removed in 4.0.0. Use {@link #operationTimeout()}
+   */
+  @Deprecated
   public BufferedMutatorParams opertationTimeout(final int operationTimeout) {
     this.operationTimeout = operationTimeout;
     return this;


Mime
View raw message