You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by jm...@apache.org on 2013/08/07 16:43:00 UTC
svn commit: r1511336 - in /hbase/branches/0.95/hbase-client/src:
main/java/org/apache/hadoop/hbase/client/Mutation.java
test/java/org/apache/hadoop/hbase/client/TestPutWriteToWal.java
Author: jmhsieh
Date: Wed Aug 7 14:42:59 2013
New Revision: 1511336
URL: http://svn.apache.org/r1511336
Log:
REVERT "HBASE-9093 Hbase client API: Restore the writeToWal method"
The methods re-added to Mutation were misspelt. should be #setWriteToWAL and #getWritetoWAL instead of #setWriteToWal and #getWriteToWal
Removed:
hbase/branches/0.95/hbase-client/src/test/java/org/apache/hadoop/hbase/client/TestPutWriteToWal.java
Modified:
hbase/branches/0.95/hbase-client/src/main/java/org/apache/hadoop/hbase/client/Mutation.java
Modified: hbase/branches/0.95/hbase-client/src/main/java/org/apache/hadoop/hbase/client/Mutation.java
URL: http://svn.apache.org/viewvc/hbase/branches/0.95/hbase-client/src/main/java/org/apache/hadoop/hbase/client/Mutation.java?rev=1511336&r1=1511335&r2=1511336&view=diff
==============================================================================
--- hbase/branches/0.95/hbase-client/src/main/java/org/apache/hadoop/hbase/client/Mutation.java (original)
+++ hbase/branches/0.95/hbase-client/src/main/java/org/apache/hadoop/hbase/client/Mutation.java Wed Aug 7 14:42:59 2013
@@ -179,34 +179,6 @@ public abstract class Mutation extends O
}
/**
- * Set the durability for this mutation. If this is set to true,
- * the default durability of the table is set.
- * @param writeToWal
- */
- @Deprecated
- public void setWriteToWal(boolean writeToWal) {
- if(!writeToWal) {
- setDurability(Durability.SKIP_WAL);
- } else {
- // This is required to handle the case where this method is
- // called twice, first with writeToWal = false,
- // and then with writeToWal = true
- setDurability(Durability.USE_DEFAULT);
- }
- }
-
- /**
- * Get the durability for this mutation.
- * @return - true if this mutation is set to write to the WAL either
- * synchronously, asynchronously or fsync to disk on the file system.
- * - to get the exact durability, use the {#getDurability} method.
- */
- @Deprecated
- public boolean getWriteToWal() {
- return Durability.SKIP_WAL != getDurability();
- }
-
- /**
* Method for retrieving the put's familyMap
* @return familyMap
*/