/** * {@inheritDoc} */ @Override public void unlockRow(final RowLock rl) throws IOException { new ServerCallable<Boolean>(connection, tableName, rl.getRow(), operationTimeout) { public Boolean call() throws IOException { server.unlockRow(location.getRegionInfo().getRegionName(), rl.getLockId()); return null; // FindBugs NP_BOOLEAN_RETURN_NULL } }.withRetries(); }
@Override public void unlockRow(final RowLock rl) throws IOException { try { timedExecute(OpType.UNLOCKROW, rl.getRow(), new Callable<Object>() { @Override public Object call() throws IOException { normalHTable.unlockRow(rl); return null; } }); } catch (IOException e) { throw e; } catch (Exception e) { final String errMsg = "Unexpected exception in stats wrapper for unlockRow"; log.error(errMsg, e); throw new RuntimeException(errMsg, e); } }