Class ShardDataStores<TShard, TConfiguration>
This class is used by provider specific implementations. It is unlikely that you would call this in consumer code. This is the generic class that defines connections for sharded data sets.
Inheritance
System.Object
ShardDataStores<TShard, TConfiguration>
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: ArgentSea
Assembly: ArgentSea.dll
Syntax
public class ShardDataStores<TShard, TConfiguration>
where TShard : IComparable where TConfiguration : class, IShardDataConfigurationOptions<TShard>, new()
Type Parameters
Name | Description |
---|---|
TShard | |
TConfiguration |
Constructors
| Improve this Doc View SourceShardDataStores(IOptions<TConfiguration>, IOptions<DataSecurityOptions>, IOptions<DataResilienceOptions>, IDataProviderServiceFactory, ILogger<ShardDataStores<TShard, TConfiguration>>)
Declaration
public ShardDataStores(IOptions<TConfiguration> configOptions, IOptions<DataSecurityOptions> securityOptions, IOptions<DataResilienceOptions> resilienceStrategiesOptions, IDataProviderServiceFactory dataProviderServices, ILogger<ShardDataStores<TShard, TConfiguration>> logger)
Parameters
Type | Name | Description |
---|---|---|
Microsoft.Extensions.Options.IOptions<TConfiguration> | configOptions | |
Microsoft.Extensions.Options.IOptions<DataSecurityOptions> | securityOptions | |
Microsoft.Extensions.Options.IOptions<DataResilienceOptions> | resilienceStrategiesOptions | |
IDataProviderServiceFactory | dataProviderServices | |
Microsoft.Extensions.Logging.ILogger<ShardDataStores<TShard, TConfiguration>> | logger |
Properties
| Improve this Doc View SourceShardSets
Declaration
public ShardDataStores<TShard, TConfiguration>.ShardDataSets ShardSets { get; }
Property Value
Type | Description |
---|---|
ShardDataStores.ShardDataSets<> |