C# Class Deveel.Data.Store.StoreBase

Inheritance: IStore
Afficher le fichier Open project: deveel/deveeldb Class Usage Examples

Private Properties

Свойство Type Description
AddToBinChain void
Alloc long
CheckOffset void
CoalesceArea void
CropArea void
ExpandDataArea long
FindAllocatedAreasNotIn IEnumerable
Free void
GetNextAreaHeader long
GetPreviousAreaHeader long
Init void
IsValidBoundarySize bool
MinimumBinSizeIndex int
ReadBins void
ReboundArea void
RemoveFromBinChain void
WriteBinIndex void

Méthodes publiques

Méthode Description
Close ( ) : void
CreateArea ( long size ) : IArea
DeleteArea ( long id ) : void
Dispose ( ) : void
GetAllAreas ( ) : IEnumerable
GetArea ( long id, bool readOnly ) : IArea
Lock ( ) : void
Open ( ) : bool
Unlock ( ) : void

Méthodes protégées

Méthode Description
CloseStore ( ) : void
Dispose ( bool disposing ) : void
OpenStore ( bool readOnly ) : void
Read ( long offset, byte buffer, int index, int length ) : int
ReadAreaHeader ( long offset, long header ) : void
ReadByte ( long offset ) : int
SetDataAreaSize ( long length ) : void
SplitArea ( long offset, long newBoundary ) : void
StoreBase ( bool isReadOnly ) : System
Write ( long offset, byte value ) : void
Write ( long offset, byte buffer, int index, int length ) : void

Private Methods

Méthode Description
AddToBinChain ( long pointer, long size ) : void
Alloc ( long size ) : long
CheckOffset ( long offset ) : void
CoalesceArea ( long offset, long size ) : void
CropArea ( long offset, long allocatedSize ) : void
ExpandDataArea ( long minSize ) : long
FindAllocatedAreasNotIn ( List usedAreas ) : IEnumerable
Free ( long pointer ) : void
GetNextAreaHeader ( long offset, long header ) : long
GetPreviousAreaHeader ( long offset, long header ) : long
Init ( ) : void
IsValidBoundarySize ( long size ) : bool
MinimumBinSizeIndex ( long size ) : int
ReadBins ( ) : void
ReboundArea ( long offset, long header, bool writeHeaders ) : void
RemoveFromBinChain ( long offset, long size ) : void
WriteBinIndex ( int index ) : void

Method Details

Close() public méthode

public Close ( ) : void
Résultat void

CloseStore() protected abstract méthode

protected abstract CloseStore ( ) : void
Résultat void

CreateArea() public méthode

public CreateArea ( long size ) : IArea
size long
Résultat IArea

DeleteArea() public méthode

public DeleteArea ( long id ) : void
id long
Résultat void

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Dispose() protected méthode

protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

GetAllAreas() public méthode

public GetAllAreas ( ) : IEnumerable
Résultat IEnumerable

GetArea() public méthode

public GetArea ( long id, bool readOnly ) : IArea
id long
readOnly bool
Résultat IArea

Lock() public abstract méthode

public abstract Lock ( ) : void
Résultat void

Open() public méthode

public Open ( ) : bool
Résultat bool

OpenStore() protected abstract méthode

protected abstract OpenStore ( bool readOnly ) : void
readOnly bool
Résultat void

Read() protected abstract méthode

protected abstract Read ( long offset, byte buffer, int index, int length ) : int
offset long
buffer byte
index int
length int
Résultat int

ReadAreaHeader() protected méthode

protected ReadAreaHeader ( long offset, long header ) : void
offset long
header long
Résultat void

ReadByte() protected méthode

protected ReadByte ( long offset ) : int
offset long
Résultat int

SetDataAreaSize() protected abstract méthode

protected abstract SetDataAreaSize ( long length ) : void
length long
Résultat void

SplitArea() protected méthode

protected SplitArea ( long offset, long newBoundary ) : void
offset long
newBoundary long
Résultat void

StoreBase() protected méthode

protected StoreBase ( bool isReadOnly ) : System
isReadOnly bool
Résultat System

Unlock() public abstract méthode

public abstract Unlock ( ) : void
Résultat void

Write() protected méthode

protected Write ( long offset, byte value ) : void
offset long
value byte
Résultat void

Write() protected abstract méthode

protected abstract Write ( long offset, byte buffer, int index, int length ) : void
offset long
buffer byte
index int
length int
Résultat void