C# Class Platform.StreamStorage.File.FileEventPointer

Not intended to be used outside Platform.Core itself. Maintains a pointer to a specific event within an event store persisted in a single mutable file (in the filesystem).
Inheritance: IEventPointer
Afficher le fichier Open project: Lokad/lokad-data-platform Class Usage Examples

Méthodes publiques

Méthode Description
Dispose ( ) : void
OpenOrCreateForReading ( string fullName ) : FileEventPointer
OpenOrCreateForWriting ( string fullName ) : FileEventPointer
Read ( ) : long
Write ( long position ) : void

Private Methods

Méthode Description
FileEventPointer ( FileStream stream, bool isWriter ) : System

Method Details

Dispose() public méthode

public Dispose ( ) : void
Résultat void

OpenOrCreateForReading() public static méthode

public static OpenOrCreateForReading ( string fullName ) : FileEventPointer
fullName string
Résultat FileEventPointer

OpenOrCreateForWriting() public static méthode

public static OpenOrCreateForWriting ( string fullName ) : FileEventPointer
fullName string
Résultat FileEventPointer

Read() public méthode

public Read ( ) : long
Résultat long

Write() public méthode

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