}
private void recover(final DataManager dm) throws IOException {
dm.recoverRedoItems(new RedoListener() {
public void onRedoItem(StoreLocation item, Object o) throws Exception {
RedoStoreIndexItem redo = (RedoStoreIndexItem)o;
// IndexManager im = getIndexManager(dm, redo.getIndexName());
IndexManager im = getIndexManager(dm, dm.getName());
im.redo(redo);
}
});