Method | Description | |
---|---|---|
GetShardId ( string path, int shardCount ) : int |
Returns the next shard id in a round robin fashion
|
|
RoundRobinShardingStrategy ( ) : System |
Initializes a new RoundRobinShardingStrategy object. Since this contains a counter we should never copy it. Create a new every time.
|
public GetShardId ( string path, int shardCount ) : int | ||
path | string | The path |
shardCount | int | How many shards are we working with |
return | int |
public RoundRobinShardingStrategy ( ) : System | ||
return | System |