C# 클래스 Bend.LogWriter

상속: IDisposable
파일 보기 프로젝트 열기: jeske/StepsDB-alpha 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
DEFAULT_LOG_SEGMENTS uint
DEFAULT_LOG_SEGMENT_SIZE uint
log_handler LogSegmentsHandler
receiver ILogReceiver

공개 메소드들

메소드 설명
Dispose ( ) : void
LogWriter ( IRegionManager regionmgr ) : System
LogWriter_NewRegion ( IRegionManager regionmgr, ILogReceiver receiver, int &system_reserved_space ) : LogWriter
LogWriter_Resume ( IRegionManager regionmgr, ILogReceiver receiver ) : LogWriter
addCommand ( LogCommands cmdtype, byte cmdbytes, long &logWaitNumber ) : void
addCommand_NoLog ( LogCommands cmdtype, byte cmdbytes ) : void
addCommands ( List cmds, long &logWaitNumber ) : void
checkpointDrop ( long &logWaitNumber ) : void
checkpointStart ( ) : int
flushPendingCommands ( ) : void
flushPendingCommandsThrough ( long waitForLWSN ) : void

비공개 메소드들

메소드 설명
_InitNewRegion ( IRegionManager regionmgr, int &system_reserved_space ) : void
_InitResume ( IRegionManager regionmgr ) : void
_doWritePendingCmds ( ) : void
_flushThread ( ) : void

메소드 상세

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

LogWriter() 공개 메소드

public LogWriter ( IRegionManager regionmgr ) : System
regionmgr IRegionManager
리턴 System

LogWriter_NewRegion() 공개 정적인 메소드

public static LogWriter_NewRegion ( IRegionManager regionmgr, ILogReceiver receiver, int &system_reserved_space ) : LogWriter
regionmgr IRegionManager
receiver ILogReceiver
system_reserved_space int
리턴 LogWriter

LogWriter_Resume() 공개 정적인 메소드

public static LogWriter_Resume ( IRegionManager regionmgr, ILogReceiver receiver ) : LogWriter
regionmgr IRegionManager
receiver ILogReceiver
리턴 LogWriter

addCommand() 공개 메소드

public addCommand ( LogCommands cmdtype, byte cmdbytes, long &logWaitNumber ) : void
cmdtype LogCommands
cmdbytes byte
logWaitNumber long
리턴 void

addCommand_NoLog() 공개 메소드

public addCommand_NoLog ( LogCommands cmdtype, byte cmdbytes ) : void
cmdtype LogCommands
cmdbytes byte
리턴 void

addCommands() 공개 메소드

public addCommands ( List cmds, long &logWaitNumber ) : void
cmds List
logWaitNumber long
리턴 void

checkpointDrop() 공개 메소드

public checkpointDrop ( long &logWaitNumber ) : void
logWaitNumber long
리턴 void

checkpointStart() 공개 메소드

public checkpointStart ( ) : int
리턴 int

flushPendingCommands() 공개 메소드

public flushPendingCommands ( ) : void
리턴 void

flushPendingCommandsThrough() 공개 메소드

public flushPendingCommandsThrough ( long waitForLWSN ) : void
waitForLWSN long
리턴 void

프로퍼티 상세

DEFAULT_LOG_SEGMENTS 공개적으로 정적으로 프로퍼티

public static uint DEFAULT_LOG_SEGMENTS
리턴 uint

DEFAULT_LOG_SEGMENT_SIZE 공개적으로 정적으로 프로퍼티

public static uint DEFAULT_LOG_SEGMENT_SIZE
리턴 uint

log_handler 공개적으로 프로퍼티

public LogSegmentsHandler,Bend log_handler
리턴 LogSegmentsHandler

receiver 공개적으로 프로퍼티

public ILogReceiver receiver
리턴 ILogReceiver