509510511512513514515516517518519
if (_readLocks != null) { for (int i = 0; i < _readLocks.size(); i++) { Lock lock = _readLocks.get(i); try { lock.unlockRead(); } catch (Throwable e) { log.log(Level.WARNING, e.toString(), e); } }
912913914915916917918919920921922
try { byte []blockBuffer = block.getBuffer(); os.write(blockBuffer, blockOffset, length); } finally { lock.unlockRead(); } } finally { block.free(); } }
954955956957958959960961962963964
System.arraycopy(blockBuffer, blockOffset, buffer, offset, length); return length; } finally { lock.unlockRead(); } } finally { block.free(); } }
10021003100410051006100710081009101010111012
blockOffset += 2; } return length; } finally { lock.unlockRead(); } } finally { block.free(); } }
10291030103110321033103410351036103710381039
try { byte []blockBuffer = block.getBuffer(); return readLong(blockBuffer, offset); } finally { lock.unlockRead(); } } finally { block.free(); } }
11961197119811991200120112021203120412051206
System.arraycopy(blockBuffer, blockOffset + fragmentOffset, buffer, offset, length); return length; } finally { lock.unlockRead(); } } finally { block.free(); } }
12461247124812491250125112521253125412551256
12751276127712781279128012811282128312841285
byte []blockBuffer = block.getBuffer(); return readLong(blockBuffer, blockOffset + fragmentOffset); } finally { lock.unlockRead(); } } finally { block.free(); } }
202203204205206207208209210211212
if (isLeaf || value == FAIL) return value; else return lookup(keyBuffer, keyOffset, keyLength, value); } finally { blockLock.unlockRead(); } } finally { block.free(); } }
309310311312313314315316317318319
return insert(keyBuffer, keyOffset, keyLength, value, isOverride, true, childBlockId); } finally { blockLock.unlockRead(); } } private boolean insertWriteChild(byte []keyBuffer, int keyOffset,