Method | Description | |
---|---|---|
GetShardId ( string path, int shardCount ) : int |
Get the shard id based on the passed in path. This is done through hashing the path.
|
public GetShardId ( string path, int shardCount ) : int | ||
path | string | The path |
shardCount | int | How many shards are we working with |
return | int |