Example #1
0
 private JournalEntry newCompleteStoreEntry(long fileId) {
   CompleteStoreEntry completeStore = CompleteStoreEntry.newBuilder().setStoreId(fileId).build();
   return JournalEntry.newBuilder().setCompleteStore(completeStore).build();
 }
Example #2
0
 // Marks a store complete, called when replaying journals
 private void completeStoreFromEntry(CompleteStoreEntry entry) throws FileDoesNotExistException {
   completeStoreInternal(entry.getStoreId());
 }