C# Class Cedar.ShardRepository

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

Méthodes publiques

Méthode Description
GetAllShard ( ) : IEnumerable

Get all shards stored in the Cedar database

GetAllShard ( string applicationName ) : IEnumerable

Get all shards for a given application stored in the Cedar database

GetAppSchema ( string applicationName ) : AppSchema

Get the application schema for a given application name

GetShardById ( long shardId ) : Shard

Get shards information for given shard id

Private Methods

Méthode Description
UpdateShard ( long shardId ) : void

Update the schema setup status

UpdateShardCount ( long shardId ) : void

Updates the total count on a shard

Method Details

GetAllShard() public méthode

Get all shards stored in the Cedar database
public GetAllShard ( ) : IEnumerable
Résultat IEnumerable

GetAllShard() public méthode

Get all shards for a given application stored in the Cedar database
public GetAllShard ( string applicationName ) : IEnumerable
applicationName string
Résultat IEnumerable

GetAppSchema() public méthode

Get the application schema for a given application name
public GetAppSchema ( string applicationName ) : AppSchema
applicationName string
Résultat AppSchema

GetShardById() public méthode

Get shards information for given shard id
public GetShardById ( long shardId ) : Shard
shardId long
Résultat Shard