Example #1
0
        public Task Open()
        {
            long lastId = 0;

            foreach (var je in _journal)
            {
                if (je.Header.EntryType != JournalEntryType.EndOfFile)
                {
                    lastId = je.Header.Id;
                }
            }
            _opId = lastId;
            return(_journal.Open());
        }