public EntryRecord getRecord ( Object key , byte [ ] serializedKey ) throws IOException { int segment = ( key . hashCode ( ) & Integer . MAX_VALUE ) % segments . length ; lock . readLock ( ) . lock ( ) ; try { return IndexNode . applyOnLeaf ( segments [ segment ] , serializedKey , segments [ segment ] . rootReadLock ( ) , IndexNode . ReadOperation . GET_RECORD ) ; } finally { lock . readLock ( ) . unlock ( ) ; } }
Get record or null if expired