Method | Description | |
---|---|---|
AddShardStrategy ( long shardId, int totalCount, int maxCount ) : void |
Add new strategy
|
|
GetShardStrategy ( ) : IList |
Get all shard strategy
|
|
GetShardStrategyById ( long shardId ) : IList |
Get the shrad strategy for a given shard
|
|
UpdateShardStrategy ( long shardId ) : void |
Updates the total counts of a shard
|
public AddShardStrategy ( long shardId, int totalCount, int maxCount ) : void | ||
shardId | long | |
totalCount | int | |
maxCount | int | |
return | void |
public GetShardStrategyById ( long shardId ) : IList |
||
shardId | long | |
return | IList |
public UpdateShardStrategy ( long shardId ) : void | ||
shardId | long | |
return | void |