private JournalEntry newCreateStoreEntry(long fileId) { CreateStoreEntry createStore = CreateStoreEntry.newBuilder().setStoreId(fileId).build(); return JournalEntry.newBuilder().setCreateStore(createStore).build(); }
// Creates a store, called when replaying journals private void createStoreFromEntry(CreateStoreEntry entry) throws FileAlreadyExistsException { createStoreInternal(entry.getStoreId()); }