C# 클래스 DBreeze.Storage.RISR

DBreeze Remote Instance SR implementation Specially designed for DBreeze specific storage format. Not for common usage.
상속: IStorage
파일 보기 프로젝트 열기: hhblaze/DBreeze

공개 프로퍼티들

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

공개 메소드들

메소드 설명
Commit ( ) : void

Cleans all buffers and flushes data to the disk

FlushRandomBuffer ( ) : void

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

FlushSequentialBuffer ( ) : void

Must be called from lock_fs

RISR ( string fileName, TrieSettings trieSettings, DBreezeConfiguration configuration ) : System
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[]
InitFiles ( ) : void
InitRollback ( ) : void
ParseRollBackFile ( byte rbd ) : void

메소드 상세

Commit() 공개 메소드

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

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

RISR() 공개 메소드

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

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