C# Class Brod.Storage.Topic

Inheritance: IDisposable
Afficher le fichier Open project: paralect/brod Class Usage Examples

Méthodes publiques

Méthode Description
Dispose ( ) : void
Flush ( System.Boolean flushOnDisk ) : void
GetLog ( Int32 partitionId ) : Log
Topic ( String storeDirectory, String topicName, Int32 numberOfPartitions ) : System

Private Methods

Méthode Description
Init ( ) : void
InitializeTopicDirectory ( ) : void

Creates partition directory and empty files for log files.

Method Details

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Flush() public méthode

public Flush ( System.Boolean flushOnDisk ) : void
flushOnDisk System.Boolean
Résultat void

GetLog() public méthode

public GetLog ( Int32 partitionId ) : Log
partitionId System.Int32
Résultat Log

Topic() public méthode

public Topic ( String storeDirectory, String topicName, Int32 numberOfPartitions ) : System
storeDirectory String
topicName String
numberOfPartitions System.Int32
Résultat System