509510511512513514515516517518
try { StoreLocation data = item.getKeyDataItem(); result = dataManager.readItem(keyMarshaller, data); } catch (IOException e) { LOG.error("Failed to get key for " + item, e); throw new RuntimeStoreException(e); } } return result; }
544545546547548549550551552
updateIndexes(next); } storeIndex(index); } catch (IOException e) { LOG.error("Failed to write " + key + " , " + value, e); throw new RuntimeStoreException(e); } return index; }
184185186187188189190191
indexManager.freeIndex(item); } indexList.clear(); }catch(IOException e){ log.error("Failed to clear Container "+getId(),e); throw new RuntimeStoreException(e); } }
205206207208209210211212
} updateIndexes(prev); indexManager.freeIndex(key); }catch(IOException e){ log.error("Failed to delete "+key,e); throw new RuntimeStoreException(e); } }
211212213214215216217218
} } protected final void checkClosed(){ if(closed){ throw new RuntimeStoreException("The store is closed"); } }
72737475767778798081
itemAdded(item,indexList.size()-1,getValue(item)); nextItem=item.getNextItem(); } }catch(IOException e){ log.error("Failed to load container "+getId(),e); throw new RuntimeStoreException(e); } } } }
752753754755756757758759760
} storeIndex(index); } }catch(IOException e){ log.error("Failed to write "+value,e); throw new RuntimeStoreException(e); } return index; }
778779780781782783784785786
815816817818819820821822823
} storeIndex(index); } }catch(IOException e){ log.error("Failed to insert "+value,e); throw new RuntimeStoreException(e); } return index; }
830831832833834835836837838839
// item=indexList.getEntry(item); StoreLocation data=item.getValueDataItem(); result=dataManager.readItem(marshaller,data); }catch(IOException e){ log.error("Failed to get value for "+item,e); throw new RuntimeStoreException(e); } } return result; }