C# Class Voron.Platform.Win32.Win32MemoryMapPager

Inheritance: Voron.Impl.Paging.AbstractPager
Afficher le fichier Open project: fitzchak/ravendb Class Usage Examples

Méthodes publiques

Свойство Type Description
AllocationGranularity long

Méthodes publiques

Méthode Description
AcquirePagePointer ( long pageNumber, Voron.Impl.PagerState pagerState = null ) : byte*
AllocateMorePages ( Transaction tx, long newLength ) : void
Dispose ( ) : void
MaybePrefetchMemory ( List sortedPages ) : void
MaybePrefetchMemory ( List pagesToPrefetch ) : void
RefreshMappedView ( Transaction tx ) : void
ReleaseAllocationInfo ( byte baseAddress, long size ) : void
Sync ( ) : void
ToString ( ) : string
TryPrefetchingWholeFile ( ) : void
Win32MemoryMapPager ( string file, long initialFileSize = null, Win32NativeFileAttributes options = Win32NativeFileAttributes.Normal, Win32NativeFileAccess access = Win32NativeFileAccess.GenericRead|Win32NativeFileAccess.GenericWrite ) : System

Méthodes protégées

Méthode Description
GetSourceName ( ) : string

Private Methods

Méthode Description
CreatePagerState ( ) : Voron.Impl.PagerState
IsWindows8OrNewer ( ) : bool
NearestSizeToAllocationGranularity ( long size ) : long
RemapViewOfFileAtAddress ( long allocationSize, ulong offsetInFile, byte baseAddress ) : Voron.Impl.PagerState.AllocationInfo
TryAllocateMoreContinuousPages ( long allocationSize ) : bool

Method Details

AcquirePagePointer() public méthode

public AcquirePagePointer ( long pageNumber, Voron.Impl.PagerState pagerState = null ) : byte*
pageNumber long
pagerState Voron.Impl.PagerState
Résultat byte*

AllocateMorePages() public méthode

public AllocateMorePages ( Transaction tx, long newLength ) : void
tx Voron.Impl.Transaction
newLength long
Résultat void

Dispose() public méthode

public Dispose ( ) : void
Résultat void

GetSourceName() protected méthode

protected GetSourceName ( ) : string
Résultat string

MaybePrefetchMemory() public méthode

public MaybePrefetchMemory ( List sortedPages ) : void
sortedPages List
Résultat void

MaybePrefetchMemory() public méthode

public MaybePrefetchMemory ( List pagesToPrefetch ) : void
pagesToPrefetch List
Résultat void

RefreshMappedView() public méthode

public RefreshMappedView ( Transaction tx ) : void
tx Voron.Impl.Transaction
Résultat void

ReleaseAllocationInfo() public méthode

public ReleaseAllocationInfo ( byte baseAddress, long size ) : void
baseAddress byte
size long
Résultat void

Sync() public méthode

public Sync ( ) : void
Résultat void

ToString() public méthode

public ToString ( ) : string
Résultat string

TryPrefetchingWholeFile() public méthode

public TryPrefetchingWholeFile ( ) : void
Résultat void

Win32MemoryMapPager() public méthode

public Win32MemoryMapPager ( string file, long initialFileSize = null, Win32NativeFileAttributes options = Win32NativeFileAttributes.Normal, Win32NativeFileAccess access = Win32NativeFileAccess.GenericRead|Win32NativeFileAccess.GenericWrite ) : System
file string
initialFileSize long
options Win32NativeFileAttributes
access Win32NativeFileAccess
Résultat System

Property Details

AllocationGranularity public_oe property

public long AllocationGranularity
Résultat long