C# Class BTDB.EventStoreLayer.ReadOnlyEventStore

Inheritance: IReadEventStore
Datei anzeigen Open project: Bobris/BTDB

Protected Properties

Property Type Description
CompressionStrategy ICompressionStrategy
EndBuffer byte[]
EndBufferLen uint
EndBufferPosition ulong
File IEventFileStorage
Mapping ITypeSerializersMapping
MaxBlockSize uint
NextReadPosition ulong

Public Methods

Method 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

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

Method Details

IsKnownAsAppendable() public method

public IsKnownAsAppendable ( ) : bool
return bool

IsKnownAsCorrupted() public method

public IsKnownAsCorrupted ( ) : bool
return bool

IsKnownAsFinished() public method

public IsKnownAsFinished ( ) : bool
return bool

ReadFromStartToEnd() public method

public ReadFromStartToEnd ( IEventStoreObserver observer ) : void
observer IEventStoreObserver
return void

ReadOnlyEventStore() public method

public ReadOnlyEventStore ( IEventFileStorage file, ITypeSerializersMapping mapping, ICompressionStrategy compressionStrategy ) : System
file IEventFileStorage
mapping ITypeSerializersMapping
compressionStrategy ICompressionStrategy
return System

ReadToEnd() public method

public ReadToEnd ( IEventStoreObserver observer ) : void
observer IEventStoreObserver
return void

Property Details

CompressionStrategy protected_oe property

protected ICompressionStrategy CompressionStrategy
return ICompressionStrategy

EndBuffer protected_oe property

protected byte[] EndBuffer
return byte[]

EndBufferLen protected_oe property

protected uint EndBufferLen
return uint

EndBufferPosition protected_oe property

protected ulong EndBufferPosition
return ulong

File protected_oe property

protected IEventFileStorage File
return IEventFileStorage

Mapping protected_oe property

protected ITypeSerializersMapping Mapping
return ITypeSerializersMapping

MaxBlockSize protected_oe property

protected uint MaxBlockSize
return uint

NextReadPosition protected_oe property

protected ulong NextReadPosition
return ulong