Return-Path: X-Original-To: apmail-hbase-commits-archive@www.apache.org Delivered-To: apmail-hbase-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2B658103E1 for ; Tue, 27 May 2014 13:47:01 +0000 (UTC) Received: (qmail 63186 invoked by uid 500); 27 May 2014 13:47:01 -0000 Delivered-To: apmail-hbase-commits-archive@hbase.apache.org Received: (qmail 63144 invoked by uid 500); 27 May 2014 13:47:01 -0000 Mailing-List: contact commits-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hbase.apache.org Delivered-To: mailing list commits@hbase.apache.org Received: (qmail 63136 invoked by uid 99); 27 May 2014 13:47:01 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 May 2014 13:47:01 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id C9C039A6CAE; Tue, 27 May 2014 13:47:00 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: nkeywal@apache.org To: commits@hbase.apache.org Message-Id: <6ba9f0219e7c4dc681a962b529d2a107@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: git commit: HBASE-11215 Deprecate void setAutoFlush(boolean autoFlush, boolean clearBufferOnFail) Date: Tue, 27 May 2014 13:47:00 +0000 (UTC) Repository: hbase Updated Branches: refs/heads/master 04b9a0a57 -> f00d21179 HBASE-11215 Deprecate void setAutoFlush(boolean autoFlush, boolean clearBufferOnFail) Project: http://git-wip-us.apache.org/repos/asf/hbase/repo Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/f00d2117 Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/f00d2117 Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/f00d2117 Branch: refs/heads/master Commit: f00d21179c76739ce8480c89fa9ad6b968fc6b7a Parents: 04b9a0a Author: Nicolas Liochon Authored: Tue May 27 15:46:43 2014 +0200 Committer: Nicolas Liochon Committed: Tue May 27 15:46:43 2014 +0200 ---------------------------------------------------------------------- .../main/java/org/apache/hadoop/hbase/client/HTableInterface.java | 3 +++ 1 file changed, 3 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hbase/blob/f00d2117/hbase-client/src/main/java/org/apache/hadoop/hbase/client/HTableInterface.java ---------------------------------------------------------------------- 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 44be373..e5a8031 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); /**