}
private void loadPageFile() throws IOException {
synchronized (indexMutex) {
final PageFile pageFile = getPageFile();
pageFile.load();
pageFile.tx().execute(new Transaction.Closure<IOException>() {
public void execute(Transaction tx) throws IOException {
destinations = new BTreeIndex<String, StoredDestination>(pageFile, tx.allocate().getPageId());
destinations.setKeyMarshaller(StringMarshaller.INSTANCE);
destinations.setValueMarshaller(new StoredDestinationMarshaller());