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

Inheritance: ICheckpoint
Mostra file Open project: EventStore/EventStore Class Usage Examples

Public Methods

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

Protected Methods

Method Description
OnFlushed ( long obj ) : void

Private Methods

Method Description
ReadCurrent ( ) : long

Method Details

Close() public method

public Close ( ) : void
return void

Dispose() public method

public Dispose ( ) : void
return void

FileCheckpoint() public method

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

FileCheckpoint() public method

public FileCheckpoint ( string filename, string name, bool cached = false, bool mustExist = false, long initValue ) : System
filename string
name string
cached bool
mustExist bool
initValue long
return System

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