hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject hbase git commit: HBASE-13298 Clarify if Table.{set|get}WriteBufferSize() is deprecated or not
Date Wed, 25 Mar 2015 20:08:58 GMT
Repository: hbase
Updated Branches:
  refs/heads/master 5a58116bb -> 50daed268


HBASE-13298 Clarify if Table.{set|get}WriteBufferSize() is deprecated or not


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/50daed26
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/50daed26
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/50daed26

Branch: refs/heads/master
Commit: 50daed268eb964e09a023d30fe8880441442495f
Parents: 5a58116
Author: stack <stack@apache.org>
Authored: Wed Mar 25 13:10:04 2015 -0700
Committer: stack <stack@apache.org>
Committed: Wed Mar 25 13:10:04 2015 -0700

----------------------------------------------------------------------
 .../src/main/java/org/apache/hadoop/hbase/client/Table.java     | 5 +++++
 1 file changed, 5 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/50daed26/hbase-client/src/main/java/org/apache/hadoop/hbase/client/Table.java
----------------------------------------------------------------------
diff --git a/hbase-client/src/main/java/org/apache/hadoop/hbase/client/Table.java b/hbase-client/src/main/java/org/apache/hadoop/hbase/client/Table.java
index 55fb1c4..498c587 100644
--- a/hbase-client/src/main/java/org/apache/hadoop/hbase/client/Table.java
+++ b/hbase-client/src/main/java/org/apache/hadoop/hbase/client/Table.java
@@ -498,7 +498,9 @@ public interface Table extends Closeable {
    * The default value comes from the configuration parameter
    * {@code hbase.client.write.buffer}.
    * @return The size of the write buffer in bytes.
+    * @deprecated as of 1.0.1 (should not have been in 1.0.0). Replaced by {@link BufferedMutator#getWriteBufferSize()}
    */
+  @Deprecated
   long getWriteBufferSize();
 
   /**
@@ -508,7 +510,10 @@ public interface Table extends Closeable {
    * write buffer, the buffer gets flushed.
    * @param writeBufferSize The new write buffer size, in bytes.
    * @throws IOException if a remote or network exception occurs.
+   * @deprecated as of 1.0.1 (should not have been in 1.0.0). Replaced by {@link BufferedMutator}
and
+   * {@link BufferedMutatorParams#writeBufferSize(long)}
    */
+  @Deprecated
   void setWriteBufferSize(long writeBufferSize) throws IOException;
 
   /**


Mime
View raw message