UpdateShardStrategy() public method

Updates the total counts of a shard
public UpdateShardStrategy ( long shardId ) : void
shardId long
return void
Example #1
0
        public void Test_Update_ShardStrategy()
        {
            long shardId = 1000;

            var shardStrategy = new ShardStrategyRepository();
            shardStrategy.UpdateShardStrategy(shardId);
        }
Example #2
0
 /// <summary>
 /// Updates the shard wile
 /// </summary>
 /// <param name="shardId"></param>
 public void UpdateShardWile(long shardId)
 {
     var shardStrategy = new ShardStrategyRepository();
     shardStrategy.UpdateShardStrategy(shardId);
 }