C# Class Deveel.Data.Store.Journaled.JournalFile

Datei anzeigen Open project: deveel/deveeldb Class Usage Examples

Private Properties

Property Type Description
FlushAndSynch void
OpenForRecovery JournalSummary
Persist void
PersistDelete void
PersistPageModification void
PersistSizeChange void
PersistTag void
WriteResourceName long

Public Methods

Method Description
BuildPage ( long buildPageNumber, long position, byte pageBuffer, int offset ) : void
Close ( ) : void
CloseAndDelete ( ) : void
Dereference ( ) : void
JournalFile ( JournaledSystem journaledSystem, IFileSystem fileSystem, string path, bool readOnly ) : System
LogPageModification ( string resourceName, long pageNumber, byte pageBuffer, int off, int len ) : JournalEntry
LogResourceDelete ( string resourceName ) : void
LogResourceSizeChange ( string resourceName, long newSize ) : void
Open ( long journalNumber ) : void
Reference ( ) : void
SetCheckPoint ( ) : void

Private Methods

Method Description
FlushAndSynch ( ) : void
OpenForRecovery ( ) : JournalSummary
Persist ( long start, long end ) : void
PersistDelete ( BinaryReader reader, string>.Dictionary idNameMap ) : void
PersistPageModification ( BinaryReader reader, string>.Dictionary idNameMap ) : void
PersistSizeChange ( BinaryReader reader, string>.Dictionary idNameMap ) : void
PersistTag ( BinaryReader reader, string>.Dictionary idNameMap, List resourcesUpdated ) : void
WriteResourceName ( string resourceName, BinaryWriter output ) : long

Method Details

BuildPage() public method

public BuildPage ( long buildPageNumber, long position, byte pageBuffer, int offset ) : void
buildPageNumber long
position long
pageBuffer byte
offset int
return void

Close() public method

public Close ( ) : void
return void

CloseAndDelete() public method

public CloseAndDelete ( ) : void
return void

Dereference() public method

public Dereference ( ) : void
return void

JournalFile() public method

public JournalFile ( JournaledSystem journaledSystem, IFileSystem fileSystem, string path, bool readOnly ) : System
journaledSystem JournaledSystem
fileSystem IFileSystem
path string
readOnly bool
return System

LogPageModification() public method

public LogPageModification ( string resourceName, long pageNumber, byte pageBuffer, int off, int len ) : JournalEntry
resourceName string
pageNumber long
pageBuffer byte
off int
len int
return JournalEntry

LogResourceDelete() public method

public LogResourceDelete ( string resourceName ) : void
resourceName string
return void

LogResourceSizeChange() public method

public LogResourceSizeChange ( string resourceName, long newSize ) : void
resourceName string
newSize long
return void

Open() public method

public Open ( long journalNumber ) : void
journalNumber long
return void

Reference() public method

public Reference ( ) : void
return void

SetCheckPoint() public method

public SetCheckPoint ( ) : void
return void