You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by st...@apache.org on 2021/08/30 17:22:19 UTC
[hbase] branch master updated: HBASE-26103 Deprecate
BufferedMutatorParams#pool method (#3635)
This is an automated email from the ASF dual-hosted git repository.
stack 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 a0864ed HBASE-26103 Deprecate BufferedMutatorParams#pool method (#3635)
a0864ed is described below
commit a0864ed3bc47a02635c8aa69a98cbf99c5070d6c
Author: Rushabh Shah <sh...@gmail.com>
AuthorDate: Mon Aug 30 13:21:32 2021 -0400
HBASE-26103 Deprecate BufferedMutatorParams#pool method (#3635)
Signed-off-by: Anoop Sam John <an...@apache.org>
Signed-off-by: stack <st...@apache.org>
---
.../org/apache/hadoop/hbase/client/BufferedMutatorParams.java | 8 ++++++++
1 file changed, 8 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 e71a1d3..54c133b 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
@@ -144,6 +144,11 @@ public class BufferedMutatorParams implements Cloneable {
return this;
}
+ /**
+ * @deprecated Since 3.0.0-alpha-2, will be removed in 4.0.0. You can not set it anymore.
+ * BufferedMutator will use Connection's ExecutorService.
+ */
+ @Deprecated
public ExecutorService getPool() {
return pool;
}
@@ -151,7 +156,10 @@ public class BufferedMutatorParams implements Cloneable {
/**
* Override the default executor pool defined by the {@code hbase.htable.threads.*}
* configuration values.
+ * @deprecated Since 3.0.0-alpha-2, will be removed in 4.0.0. You can not set it anymore.
+ * BufferedMutator will use Connection's ExecutorService.
*/
+ @Deprecated
public BufferedMutatorParams pool(ExecutorService pool) {
this.pool = pool;
return this;