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

Inheritance: ICheckpoint
Afficher le fichier Open project: EventStore/EventStore Class Usage Examples

Méthodes publiques

Méthode 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

Méthodes protégées

Méthode Description
OnFlushed ( long obj ) : void

Private Methods

Méthode Description
ReadCurrent ( ) : long

Method Details

Close() public méthode

public Close ( ) : void
Résultat void

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Flush() public méthode

public Flush ( ) : void
Résultat void

MemoryMappedFileCheckpoint() public méthode

public MemoryMappedFileCheckpoint ( string filename ) : System
filename string
Résultat System

MemoryMappedFileCheckpoint() public méthode

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

OnFlushed() protected méthode

protected OnFlushed ( long obj ) : void
obj long
Résultat void

Read() public méthode

public Read ( ) : long
Résultat long

ReadNonFlushed() public méthode

public ReadNonFlushed ( ) : long
Résultat long

Write() public méthode

public Write ( long checkpoint ) : void
checkpoint long
Résultat void