table.put(put2);
} catch (Exception e) {
System.err.println("Error: " + e);
} finally {
System.out.println("Releasing lock..."); // co RowLockExample-8-Unlock Release the lock, which will make the thread continue.
table.unlockRow(lock);
}
// ^^ RowLockExample
try {
thread.join();
} catch (InterruptedException e) {