C# 클래스 DBreeze.Storage.FSR

DBreeze random and sequential disk IO buffers implementation. Specially designed for DBreeze specific storage format. Not for common usage.
상속: IStorage
파일 보기 프로젝트 열기: hhblaze/DBreeze 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
IsOperable bool
MaxRollbackFileSize int

공개 메소드들

메소드 설명
Commit ( ) : void

Cleans all buffers and flushes data to the disk

FSR ( string fileName, TrieSettings trieSettings, DBreezeConfiguration configuration ) : System
FlushRandomBuffer ( ) : void

Is called only from lock_fs and must be finished by calling NET_Flush

FlushSequentialBuffer ( ) : void

Must be called from lock_fs

NET_Flush ( FileStream mfs ) : void
NET_Flush ( IFileStream mfs ) : void
RecreateFiles ( ) : void

RestoreInitRollback ( ) : void

RestoreTableFromTheOtherTable ( string newTableFullPath ) : void

Rollback ( ) : void

Standard and transactional rollback

Table_Dispose ( ) : void

Table_Read ( bool useCache, byte offset, int count ) : byte[]

Table_Read ( bool useCache, long offset, int count ) : byte[]

Table_WriteByOffset ( byte offset, byte data ) : void

Table_WriteByOffset ( long offset, byte data ) : void

Table_WriteToTheEnd ( byte data ) : byte[]

TransactionalCommit ( ) : void

TransactionalCommitIsFinished ( ) : void

TransactionalRollback ( ) : void

비공개 메소드들

메소드 설명
DoProtocol1 ( byte rbd ) : byte[]
FlushFileBuffers ( IntPtr hFile ) : bool
InitFiles ( ) : void
InitRollback ( ) : void
ParseRollBackFile ( byte rbd ) : void

메소드 상세

Commit() 공개 메소드

Cleans all buffers and flushes data to the disk
public Commit ( ) : void
리턴 void

FSR() 공개 메소드

public FSR ( string fileName, TrieSettings trieSettings, DBreezeConfiguration configuration ) : System
fileName string
trieSettings TrieSettings
configuration DBreezeConfiguration
리턴 System

FlushRandomBuffer() 공개 메소드

Is called only from lock_fs and must be finished by calling NET_Flush
public FlushRandomBuffer ( ) : void
리턴 void

FlushSequentialBuffer() 공개 메소드

Must be called from lock_fs
public FlushSequentialBuffer ( ) : void
리턴 void

NET_Flush() 공개 정적인 메소드

public static NET_Flush ( FileStream mfs ) : void
mfs System.IO.FileStream
리턴 void

NET_Flush() 공개 정적인 메소드

public static NET_Flush ( IFileStream mfs ) : void
mfs IFileStream
리턴 void

RecreateFiles() 공개 메소드

public RecreateFiles ( ) : void
리턴 void

RestoreInitRollback() 공개 메소드

public RestoreInitRollback ( ) : void
리턴 void

RestoreTableFromTheOtherTable() 공개 메소드

public RestoreTableFromTheOtherTable ( string newTableFullPath ) : void
newTableFullPath string
리턴 void

Rollback() 공개 메소드

Standard and transactional rollback
public Rollback ( ) : void
리턴 void

Table_Dispose() 공개 메소드

public Table_Dispose ( ) : void
리턴 void

Table_Read() 공개 메소드

public Table_Read ( bool useCache, byte offset, int count ) : byte[]
useCache bool
offset byte
count int
리턴 byte[]

Table_Read() 공개 메소드

public Table_Read ( bool useCache, long offset, int count ) : byte[]
useCache bool
offset long
count int
리턴 byte[]

Table_WriteByOffset() 공개 메소드

public Table_WriteByOffset ( byte offset, byte data ) : void
offset byte
data byte
리턴 void

Table_WriteByOffset() 공개 메소드

public Table_WriteByOffset ( long offset, byte data ) : void
offset long
data byte
리턴 void

Table_WriteToTheEnd() 공개 메소드

public Table_WriteToTheEnd ( byte data ) : byte[]
data byte
리턴 byte[]

TransactionalCommit() 공개 메소드

public TransactionalCommit ( ) : void
리턴 void

TransactionalCommitIsFinished() 공개 메소드

public TransactionalCommitIsFinished ( ) : void
리턴 void

TransactionalRollback() 공개 메소드

public TransactionalRollback ( ) : void
리턴 void

프로퍼티 상세

IsOperable 공개적으로 프로퍼티

Indicates subsystem vitality
public bool IsOperable
리턴 bool

MaxRollbackFileSize 공개적으로 프로퍼티

Rollback file re-creation after initialization
public int MaxRollbackFileSize
리턴 int