From f00d21179c76739ce8480c89fa9ad6b968fc6b7a Mon Sep 17 00:00:00 2001 From: Nicolas Liochon Date: Tue, 27 May 2014 15:46:43 +0200 Subject: [PATCH] HBASE-11215 Deprecate void setAutoFlush(boolean autoFlush, boolean clearBufferOnFail) --- .../java/org/apache/hadoop/hbase/client/HTableInterface.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hbase-client/src/main/java/org/apache/hadoop/hbase/client/HTableInterface.java b/hbase-client/src/main/java/org/apache/hadoop/hbase/client/HTableInterface.java index 44be373d742..e5a803128f3 100644 --- a/hbase-client/src/main/java/org/apache/hadoop/hbase/client/HTableInterface.java +++ b/hbase-client/src/main/java/org/apache/hadoop/hbase/client/HTableInterface.java @@ -566,8 +566,11 @@ public interface HTableInterface extends Closeable { * Whether to keep Put failures in the writeBuffer. If autoFlush is true, then * the value of this parameter is ignored and clearBufferOnFail is set to true. * Setting clearBufferOnFail to false is deprecated since 0.96. + * @deprecated in 0.99 since setting clearBufferOnFail is deprecated. Use + * {@link #setAutoFlushTo(boolean)}} instead. * @see #flushCommits */ + @Deprecated void setAutoFlush(boolean autoFlush, boolean clearBufferOnFail); /**