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