UpdateShardStrategy() public method

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

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