C# Class Voron.Impl.Paging.AbstractPager

Inheritance: IVirtualPager
Afficher le fichier Open project: fitzchak/ravendb Class Usage Examples

Méthodes publiques

Свойство Type Description
NodeMaxSize int
NodeMaxSizePrefixedKeys int
PageMaxSpace int
RequiredSpaceForNewNode int
RequiredSpaceForNewNodePrefixedKeys int

Méthodes publiques

Méthode Description
AcquirePagePointer ( long pageNumber, PagerState pagerState = null ) : byte*
AllocateMorePages ( Transaction tx, long newLength ) : void
Dispose ( ) : void
EnsureContinuous ( Transaction tx, long requestedPageNumber, int numberOfPages ) : void
GetNumberOfOverflowPages ( int overflowSize ) : int
GetWritable ( long pageNumber ) : Voron.Trees.Page
MaybePrefetchMemory ( List sortedPages ) : void
MaybePrefetchMemory ( List pagesToPrefetch ) : void
Read ( long pageNumber, PagerState pagerState = null ) : Voron.Trees.Page
RegisterDisposal ( System.Threading.Tasks.Task run ) : void
ReleaseAllocationInfo ( byte baseAddress, long size ) : void
ShouldGoToOverflowPage ( int len ) : bool
Sync ( ) : void
ToString ( ) : string
TransactionBegan ( ) : PagerState
TryPrefetchingWholeFile ( ) : void
WillRequireExtension ( long requestedPageNumber, int numberOfPages ) : bool
Write ( Voron.Trees.Page page, long pageNumber ) : int
WriteDirect ( Voron.Trees.Page start, long pagePosition, int pagesToWrite ) : int

Méthodes protégées

Méthode Description
AbstractPager ( ) : System
GetSourceName ( ) : string

Private Methods

Méthode Description
GetNewLength ( long current ) : long
ThrowObjectDisposedIfNeeded ( ) : void

Method Details

AbstractPager() protected méthode

protected AbstractPager ( ) : System
Résultat System

AcquirePagePointer() public abstract méthode

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

AllocateMorePages() public abstract méthode

public abstract AllocateMorePages ( Transaction tx, long newLength ) : void
tx Transaction
newLength long
Résultat void

Dispose() public méthode

public Dispose ( ) : void
Résultat void

EnsureContinuous() public méthode

public EnsureContinuous ( Transaction tx, long requestedPageNumber, int numberOfPages ) : void
tx Transaction
requestedPageNumber long
numberOfPages int
Résultat void

GetNumberOfOverflowPages() public méthode

public GetNumberOfOverflowPages ( int overflowSize ) : int
overflowSize int
Résultat int

GetSourceName() protected abstract méthode

protected abstract GetSourceName ( ) : string
Résultat string

GetWritable() public méthode

public GetWritable ( long pageNumber ) : Voron.Trees.Page
pageNumber long
Résultat Voron.Trees.Page

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

Read() public méthode

public Read ( long pageNumber, PagerState pagerState = null ) : Voron.Trees.Page
pageNumber long
pagerState PagerState
Résultat Voron.Trees.Page

RegisterDisposal() public méthode

public RegisterDisposal ( System.Threading.Tasks.Task run ) : void
run System.Threading.Tasks.Task
Résultat void

ReleaseAllocationInfo() public abstract méthode

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

ShouldGoToOverflowPage() public méthode

public ShouldGoToOverflowPage ( int len ) : bool
len int
Résultat bool

Sync() public abstract méthode

public abstract Sync ( ) : void
Résultat void

ToString() public abstract méthode

public abstract ToString ( ) : string
Résultat string

TransactionBegan() public méthode

public TransactionBegan ( ) : PagerState
Résultat PagerState

TryPrefetchingWholeFile() public méthode

public TryPrefetchingWholeFile ( ) : void
Résultat void

WillRequireExtension() public méthode

public WillRequireExtension ( long requestedPageNumber, int numberOfPages ) : bool
requestedPageNumber long
numberOfPages int
Résultat bool

Write() public méthode

public Write ( Voron.Trees.Page page, long pageNumber ) : int
page Voron.Trees.Page
pageNumber long
Résultat int

WriteDirect() public méthode

public WriteDirect ( Voron.Trees.Page start, long pagePosition, int pagesToWrite ) : int
start Voron.Trees.Page
pagePosition long
pagesToWrite int
Résultat int

Property Details

NodeMaxSize public_oe static_oe property

public static int NodeMaxSize
Résultat int

NodeMaxSizePrefixedKeys public_oe static_oe property

public static int NodeMaxSizePrefixedKeys
Résultat int

PageMaxSpace public_oe static_oe property

public static int PageMaxSpace
Résultat int

RequiredSpaceForNewNode public_oe static_oe property

public static int RequiredSpaceForNewNode
Résultat int

RequiredSpaceForNewNodePrefixedKeys public_oe static_oe property

public static int RequiredSpaceForNewNodePrefixedKeys
Résultat int