C# Class BTDB.EventStoreLayer.ReadOnlyEventStore

Inheritance: IReadEventStore
Afficher le fichier Open project: Bobris/BTDB

Protected Properties

Свойство Type Description
CompressionStrategy ICompressionStrategy
EndBuffer byte[]
EndBufferLen uint
EndBufferPosition ulong
File IEventFileStorage
Mapping ITypeSerializersMapping
MaxBlockSize uint
NextReadPosition ulong

Méthodes publiques

Méthode Description
IsKnownAsAppendable ( ) : bool
IsKnownAsCorrupted ( ) : bool
IsKnownAsFinished ( ) : bool
ReadFromStartToEnd ( IEventStoreObserver observer ) : void
ReadOnlyEventStore ( IEventFileStorage file, ITypeSerializersMapping mapping, ICompressionStrategy compressionStrategy ) : System
ReadToEnd ( IEventStoreObserver observer ) : void

Private Methods

Méthode Description
Process ( BlockType blockType, ByteBuffer block, IEventStoreObserver observer ) : bool
SetCorrupted ( [ sourceLineNumber ) : void

Method Details

IsKnownAsAppendable() public méthode

public IsKnownAsAppendable ( ) : bool
Résultat bool

IsKnownAsCorrupted() public méthode

public IsKnownAsCorrupted ( ) : bool
Résultat bool

IsKnownAsFinished() public méthode

public IsKnownAsFinished ( ) : bool
Résultat bool

ReadFromStartToEnd() public méthode

public ReadFromStartToEnd ( IEventStoreObserver observer ) : void
observer IEventStoreObserver
Résultat void

ReadOnlyEventStore() public méthode

public ReadOnlyEventStore ( IEventFileStorage file, ITypeSerializersMapping mapping, ICompressionStrategy compressionStrategy ) : System
file IEventFileStorage
mapping ITypeSerializersMapping
compressionStrategy ICompressionStrategy
Résultat System

ReadToEnd() public méthode

public ReadToEnd ( IEventStoreObserver observer ) : void
observer IEventStoreObserver
Résultat void

Property Details

CompressionStrategy protected_oe property

protected ICompressionStrategy CompressionStrategy
Résultat ICompressionStrategy

EndBuffer protected_oe property

protected byte[] EndBuffer
Résultat byte[]

EndBufferLen protected_oe property

protected uint EndBufferLen
Résultat uint

EndBufferPosition protected_oe property

protected ulong EndBufferPosition
Résultat ulong

File protected_oe property

protected IEventFileStorage File
Résultat IEventFileStorage

Mapping protected_oe property

protected ITypeSerializersMapping Mapping
Résultat ITypeSerializersMapping

MaxBlockSize protected_oe property

protected uint MaxBlockSize
Résultat uint

NextReadPosition protected_oe property

protected ulong NextReadPosition
Résultat ulong