C# 클래스 Voron.Platform.Win32.Win32MemoryMapPager

상속: Voron.Impl.Paging.AbstractPager
파일 보기 프로젝트 열기: fitzchak/ravendb 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
AllocationGranularity long

공개 메소드들

메소드 설명
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

보호된 메소드들

메소드 설명
GetSourceName ( ) : string

비공개 메소드들

메소드 설명
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

메소드 상세

AcquirePagePointer() 공개 메소드

public AcquirePagePointer ( long pageNumber, Voron.Impl.PagerState pagerState = null ) : byte*
pageNumber long
pagerState Voron.Impl.PagerState
리턴 byte*

AllocateMorePages() 공개 메소드

public AllocateMorePages ( Transaction tx, long newLength ) : void
tx Voron.Impl.Transaction
newLength long
리턴 void

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

GetSourceName() 보호된 메소드

protected GetSourceName ( ) : string
리턴 string

MaybePrefetchMemory() 공개 메소드

public MaybePrefetchMemory ( List sortedPages ) : void
sortedPages List
리턴 void

MaybePrefetchMemory() 공개 메소드

public MaybePrefetchMemory ( List pagesToPrefetch ) : void
pagesToPrefetch List
리턴 void

RefreshMappedView() 공개 메소드

public RefreshMappedView ( Transaction tx ) : void
tx Voron.Impl.Transaction
리턴 void

ReleaseAllocationInfo() 공개 메소드

public ReleaseAllocationInfo ( byte baseAddress, long size ) : void
baseAddress byte
size long
리턴 void

Sync() 공개 메소드

public Sync ( ) : void
리턴 void

ToString() 공개 메소드

public ToString ( ) : string
리턴 string

TryPrefetchingWholeFile() 공개 메소드

public TryPrefetchingWholeFile ( ) : void
리턴 void

Win32MemoryMapPager() 공개 메소드

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
리턴 System

프로퍼티 상세

AllocationGranularity 공개적으로 프로퍼티

public long AllocationGranularity
리턴 long