C# Class Brod.Storage.Topic

Inheritance: IDisposable
Datei anzeigen Open project: paralect/brod Class Usage Examples

Public Methods

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

Private Methods

Method Description
Init ( ) : void
InitializeTopicDirectory ( ) : void

Creates partition directory and empty files for log files.

Method Details

Dispose() public method

public Dispose ( ) : void
return void

Flush() public method

public Flush ( System.Boolean flushOnDisk ) : void
flushOnDisk System.Boolean
return void

GetLog() public method

public GetLog ( Int32 partitionId ) : Log
partitionId System.Int32
return Log

Topic() public method

public Topic ( String storeDirectory, String topicName, Int32 numberOfPartitions ) : System
storeDirectory String
topicName String
numberOfPartitions System.Int32
return System