194195196197198199200201202203204
ByteBasedSortedMap mp = partitions.get(p); return mp.getIndex(w); } catch(IOException ie) { throw new BaseException(ie); } finally { lock.readLock().unlock(); }
217218219220221222223224225226227
ByteBasedSortedMap mp = partitions.get(p); return mp.getValue(key, value); } catch(IOException ie) { throw new BaseException(ie); } finally { lock.readLock().unlock(); }
9293949596979899100
{ int j = i - startOffset; j = j << 1; if ( j > 2 * currentSize ) { throw new BaseException(sprintf("index invalid %d", i)); } return j; }
140141142143144145146147148149150
bis.setBuffer(bytes, offsetsArray[i], offsetsArray[i+1]); wObj.readFields(dis); } catch(IOException ie) { throw new BaseException(ie); } finally { lock.readLock().unlock(); }
157158159160161162163164165166167
{ write(obj); } catch(IOException ie) { throw new BaseException(ie); } finally { lock.writeLock().unlock(); }
175176177178179180181182
get(i, wObj); return deserializer.deserialize(wObj); } catch(SerDeException ie) { throw new BaseException(ie); } }
187188189190191192193194
{ append(serializer.serialize(obj, OI)); } catch(SerDeException ie) { throw new BaseException(ie); } }
3940414243444546
sd.initialize(null, p); return sd; } catch (SerDeException se) { throw new BaseException(se); } }