C# Class Brod.Storage.Log

Inheritance: IDisposable
Afficher le fichier Open project: paralect/brod

Méthodes publiques

Méthode Description
Append ( byte payload ) : void
Dispose ( ) : void
Flush ( bool flushOnDisk ) : void
Log ( String topicDirectory, Int32 partition ) : System
ReadMessagesBlock ( Int32 offset, Int32 blockLength ) : MessagesBlock

Read bytes, starting from byte from specified and

Private Methods

Méthode Description
GetLogDirectoryPath ( String topicDirectory ) : String
GetSegment ( System.Int64 segmentOffset ) : Segment
Init ( ) : void

Method Details

Append() public méthode

public Append ( byte payload ) : void
payload byte
Résultat void

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Flush() public méthode

public Flush ( bool flushOnDisk ) : void
flushOnDisk bool
Résultat void

Log() public méthode

public Log ( String topicDirectory, Int32 partition ) : System
topicDirectory String
partition System.Int32
Résultat System

ReadMessagesBlock() public méthode

Read bytes, starting from byte from specified and
public ReadMessagesBlock ( Int32 offset, Int32 blockLength ) : MessagesBlock
offset System.Int32
blockLength System.Int32
Résultat Brod.Messages.MessagesBlock