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

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

Public Methods

Method Description
Close ( ) : void
Dispose ( ) : void
Flush ( ) : void
MemoryMappedFileCheckpoint ( string filename ) : System
MemoryMappedFileCheckpoint ( string filename, string name, bool cached, bool mustExist = false, long initValue ) : System
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

Flush() public method

public Flush ( ) : void
return void

MemoryMappedFileCheckpoint() public method

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

MemoryMappedFileCheckpoint() public method

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

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