HBASE-2389 HTable - delete / put unnecessary sync

git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@928986 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael Stack 2010-03-30 04:56:24 +00:00
parent 463d3daa28
commit d460886eb1
2 changed files with 5 additions and 4 deletions

View File

@ -462,6 +462,7 @@ Release 0.21.0 - Unreleased
(Kannan Muthukkaruppan via Stack) (Kannan Muthukkaruppan via Stack)
HBASE-2348 [stargate] Stargate needs both JAR and WAR artifacts (Paul Smith HBASE-2348 [stargate] Stargate needs both JAR and WAR artifacts (Paul Smith
via Andrew Purtell) via Andrew Purtell)
HBASE-2389 HTable - delete / put unnecessary sync (Kay Kay via Stack)
NEW FEATURES NEW FEATURES
HBASE-1961 HBase EC2 scripts HBASE-1961 HBase EC2 scripts

View File

@ -469,7 +469,7 @@ public class HTable implements HTableInterface {
* @throws IOException * @throws IOException
* @since 0.20.1 * @since 0.20.1
*/ */
public synchronized void delete(final List<Delete> deletes) public void delete(final List<Delete> deletes)
throws IOException { throws IOException {
int last = 0; int last = 0;
try { try {
@ -487,7 +487,7 @@ public class HTable implements HTableInterface {
* @throws IOException * @throws IOException
* @since 0.20.0 * @since 0.20.0
*/ */
public synchronized void put(final Put put) throws IOException { public void put(final Put put) throws IOException {
doPut(Arrays.asList(put)); doPut(Arrays.asList(put));
} }
@ -499,7 +499,7 @@ public class HTable implements HTableInterface {
* @throws IOException if a remote or network exception occurs * @throws IOException if a remote or network exception occurs
* @since 0.20.0 * @since 0.20.0
*/ */
public synchronized void put(final List<Put> puts) throws IOException { public void put(final List<Put> puts) throws IOException {
doPut(puts); doPut(puts);
} }
@ -583,7 +583,7 @@ public class HTable implements HTableInterface {
* @throws IOException * @throws IOException
* @return true if the new put was execute, false otherwise * @return true if the new put was execute, false otherwise
*/ */
public synchronized boolean checkAndPut(final byte [] row, public boolean checkAndPut(final byte [] row,
final byte [] family, final byte [] qualifier, final byte [] value, final byte [] family, final byte [] qualifier, final byte [] value,
final Put put) final Put put)
throws IOException { throws IOException {