log.info("Quota store closed.");
}
private void configure(final File storeDirectory) throws InterruptedException {
// todo: make config persistent? or just rely on je.properties (I guess so)
PageStoreConfig config = new PageStoreConfig();
EntityStoreBuilder builder = new EntityStoreBuilder(config);
EntityStore entityStore = builder.buildEntityStore(storeDirectory, null);
this.entityStore = entityStore;
tileSetById = entityStore.getPrimaryIndex(String.class, TileSet.class);