C# Class EventStore.Core.TransactionLog.Checkpoint.WriteThroughFileCheckpoint

Inheritance: ICheckpoint
Exibir arquivo Open project: EventStore/EventStore Class Usage Examples

Public Methods

Method Description
Close ( ) : void
Dispose ( ) : void
Flush ( ) : void
Read ( ) : long
ReadNonFlushed ( ) : long
Write ( long checkpoint ) : void
WriteThroughFileCheckpoint ( string filename ) : System
WriteThroughFileCheckpoint ( string filename, string name ) : System
WriteThroughFileCheckpoint ( string filename, string name, bool cached, long initValue ) : System

Protected Methods

Method Description
OnFlushed ( long obj ) : void

Private Methods

Method Description
FlushFileBuffers ( IntPtr hFile ) : bool
ReadCurrent ( ) : long

Method Details

Close() public method

public Close ( ) : void
return void

Dispose() public method

public Dispose ( ) : void
return void

Flush() public method

public Flush ( ) : void
return void

OnFlushed() protected method

protected OnFlushed ( long obj ) : void
obj long
return void

Read() public method

public Read ( ) : long
return long

ReadNonFlushed() public method

public ReadNonFlushed ( ) : long
return long

Write() public method

public Write ( long checkpoint ) : void
checkpoint long
return void

WriteThroughFileCheckpoint() public method

public WriteThroughFileCheckpoint ( string filename ) : System
filename string
return System

WriteThroughFileCheckpoint() public method

public WriteThroughFileCheckpoint ( string filename, string name ) : System
filename string
name string
return System

WriteThroughFileCheckpoint() public method

public WriteThroughFileCheckpoint ( string filename, string name, bool cached, long initValue ) : System
filename string
name string
cached bool
initValue long
return System