/** * Method for retrieving the increment's RowLock * @return RowLock * @deprecated {@link RowLock} and associated operations are deprecated */ public RowLock getRowLock() { return new RowLock(this.row, this.lockId); }
/** * Method for retrieving the get's RowLock * @return RowLock */ public RowLock getRowLock() { return new RowLock(this.row, this.lockId); }
/** * Method for retrieving the delete's RowLock * @return RowLock * @deprecated {@link RowLock} and associated operations are deprecated */ public RowLock getRowLock() { return new RowLock(this.row, this.lockId); }
public RowLock call() throws IOException { long lockId = server.lockRow(location.getRegionInfo().getRegionName(), row); return new RowLock(row,lockId); } }.withRetries();
lock = new RowLock(proto.getLockId());
lock = new RowLock(proto.getLockId());