HBASE-11215 Deprecate void setAutoFlush(boolean autoFlush, boolean clearBufferOnFail)

This commit is contained in:
Nicolas Liochon 2014-05-27 15:46:43 +02:00
parent 04b9a0a573
commit f00d21179c

View File

@ -566,8 +566,11 @@ public interface HTableInterface extends Closeable {
* Whether to keep Put failures in the writeBuffer. If autoFlush is true, then * 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. * the value of this parameter is ignored and clearBufferOnFail is set to true.
* Setting clearBufferOnFail to false is deprecated since 0.96. * 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 * @see #flushCommits
*/ */
@Deprecated
void setAutoFlush(boolean autoFlush, boolean clearBufferOnFail); void setAutoFlush(boolean autoFlush, boolean clearBufferOnFail);
/** /**