C# Класс Cedar.ShardStrategyRepository

Наследование: BaseRepository
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Описание методов

AddShardStrategy() публичный Метод

Add new strategy
public AddShardStrategy ( long shardId, int totalCount, int maxCount ) : void
shardId long
totalCount int
maxCount int
Результат void

GetShardStrategy() публичный Метод

Get all shard strategy
public GetShardStrategy ( ) : IList
Результат IList

GetShardStrategyById() публичный Метод

Get the shrad strategy for a given shard
public GetShardStrategyById ( long shardId ) : IList
shardId long
Результат IList

UpdateShardStrategy() публичный Метод

Updates the total counts of a shard
public UpdateShardStrategy ( long shardId ) : void
shardId long
Результат void