UpdateShardStrategy() public method

Updates the total counts of a shard
public UpdateShardStrategy ( long shardId ) : void
shardId long
return void
Ejemplo n.º 1
0
        public void Test_Update_ShardStrategy()
        {
            long shardId = 1000;

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