HBASE-26103 Deprecate BufferedMutatorParams#pool method (#3635)
Signed-off-by: Anoop Sam John <anoopsamjohn@apache.org> Signed-off-by: stack <stack@apache.org>
This commit is contained in:
parent
889049eab6
commit
a0864ed3bc
|
@ -144,6 +144,11 @@ public class BufferedMutatorParams implements Cloneable {
|
||||||
return this;
|
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() {
|
public ExecutorService getPool() {
|
||||||
return pool;
|
return pool;
|
||||||
}
|
}
|
||||||
|
@ -151,7 +156,10 @@ public class BufferedMutatorParams implements Cloneable {
|
||||||
/**
|
/**
|
||||||
* Override the default executor pool defined by the {@code hbase.htable.threads.*}
|
* Override the default executor pool defined by the {@code hbase.htable.threads.*}
|
||||||
* configuration values.
|
* 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) {
|
public BufferedMutatorParams pool(ExecutorService pool) {
|
||||||
this.pool = pool;
|
this.pool = pool;
|
||||||
return this;
|
return this;
|
||||||
|
|
Loading…
Reference in New Issue