internal FragmentedPureMemoryPager(StorageEnvironmentOptions options, ImmutableAppendOnlyList <PureMemoryJournalWriter.Buffer> buffers)
     : base(options)
 {
     _buffers = buffers;
     NumberOfAllocatedPages = buffers.Sum(x => x.SizeInPages);
     FileName = ":memory:";
 }
Пример #2
0
 internal FragmentedPureMemoryPager(ImmutableAppendOnlyList<PureMemoryJournalWriter.Buffer> buffers)
 {
     _buffers = buffers;
     NumberOfAllocatedPages = buffers.Sum(x => x.SizeInPages);
 }
Пример #3
0
 internal FragmentedPureMemoryPager(ImmutableAppendOnlyList <PureMemoryJournalWriter.Buffer> buffers)
 {
     _buffers = buffers;
     NumberOfAllocatedPages = buffers.Sum(x => x.SizeInPages);
 }