This will remove the {@link File read lock file} in{@link LockAdviser#readLocks} that represents the read lock.
979899100101102103104105106107
assertNotNull(rlock1); assertNotNull(rlock2); try { lockAdviser.releaseReadLock(rlock1); lockAdviser.releaseReadLock(rlock2); } catch (Exception e) { e.printStackTrace(); fail(e.getMessage()); }
9899100101102103104105106107108
151152153154155156157158159160161
} assertNotNull(rlock); try { lockAdviser.releaseReadLock(rlock); } catch (Exception e) { e.printStackTrace(); fail(e.getMessage()); }