C# Class Brod.Producers.DirectPartitioner

Interprets key as partition number
Inheritance: IPartitioner
Exibir arquivo Open project: paralect/brod

Public Methods

Method Description
SelectPartition ( object key, int numberOfPartitions ) : int

Method Details

SelectPartition() public method

public SelectPartition ( object key, int numberOfPartitions ) : int
key object
numberOfPartitions int
return int