C# Class Bend.LogSegmentsHandler

Inheritance: IDisposable
ファイルを表示 Open project: jeske/StepsDB-alpha Class Usage Examples

Public Methods

Method Description
Dispose ( ) : void
InitLogSegmentStream ( Stream log ) : void
LogSegmentsHandler ( LogWriter logwriter, IRegionManager regionmgr, RootBlockLogSegment segments ) : System
advanceActiveLogSegment ( ) : void
prepareLog ( ) : void
recoverLogCmds ( ) : IEnumerable
setDebugLogSegments ( ) : void

Private Methods

Method Description
_addCommand ( LogCommands cmdtype, byte cmdbytes, long &logWaitNumber ) : void
_doLogEnd ( BinaryWriter logbr ) : void
_organizeLogSegments ( RootBlockLogSegment segments ) : void
_processCommand ( LogCommands cmdtype, byte cmdbytes ) : void
abortCorrupt ( String reason ) : void
addLogPacket ( byte logpacket ) : void
flushPending ( ) : long
notifyLogStatus ( ) : void

Method Details

Dispose() public method

public Dispose ( ) : void
return void

InitLogSegmentStream() public static method

public static InitLogSegmentStream ( Stream log ) : void
log Stream
return void

LogSegmentsHandler() public method

public LogSegmentsHandler ( LogWriter logwriter, IRegionManager regionmgr, RootBlockLogSegment segments ) : System
logwriter LogWriter
regionmgr IRegionManager
segments RootBlockLogSegment
return System

advanceActiveLogSegment() public method

public advanceActiveLogSegment ( ) : void
return void

prepareLog() public method

public prepareLog ( ) : void
return void

recoverLogCmds() public method

public recoverLogCmds ( ) : IEnumerable
return IEnumerable

setDebugLogSegments() public method

public setDebugLogSegments ( ) : void
return void