C# Class Cedar.ShardStrategyRepository

Inheritance: BaseRepository
Afficher le fichier Open project: Vadi/Cedar Class Usage Examples

Méthodes publiques

Méthode 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

Method Details

AddShardStrategy() public méthode

Add new strategy
public AddShardStrategy ( long shardId, int totalCount, int maxCount ) : void
shardId long
totalCount int
maxCount int
Résultat void

GetShardStrategy() public méthode

Get all shard strategy
public GetShardStrategy ( ) : IList
Résultat IList

GetShardStrategyById() public méthode

Get the shrad strategy for a given shard
public GetShardStrategyById ( long shardId ) : IList
shardId long
Résultat IList

UpdateShardStrategy() public méthode

Updates the total counts of a shard
public UpdateShardStrategy ( long shardId ) : void
shardId long
Résultat void