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