Class MdbDataStore
Represents a MDB data store - consisting of areas with partitions
Inheritance
System.Object
MdbDataStore
Implements
System.IDisposable
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)
Assembly: Azos.Sky.dll
Syntax
public class MdbDataStore : DaemonWithInstrumentation<IApplicationComponent>, IDaemon, IDaemonView, INamed, ILocalizedTimeProvider, IMdbDataStore, IDataStoreImplementation, IDataStore, IApplicationComponent, IDisposable, IConfigurable, IInstrumentable, IExternallyParameterized
Constructors
MdbDataStore(IApplicationComponent, String)
Declaration
public MdbDataStore(IApplicationComponent director, string name)
Parameters
MdbDataStore(IApplication)
Declaration
public MdbDataStore(IApplication app)
Parameters
Fields
m_BankName
Declaration
Field Value
Type |
Description |
System.String |
|
m_SchemaName
Declaration
public string m_SchemaName
Field Value
Type |
Description |
System.String |
|
Properties
Areas
Returns the areas (including the central area)
Declaration
public IRegistry<MdbArea> Areas { get; }
Property Value
BankName
Declaration
[Config]
public string BankName { get; set; }
Property Value
Type |
Description |
System.String |
|
Cache
Pile big memory cache. The store does not use this by itself, the implementors/derived stores should
use the cache to store business-specific data
Declaration
public ICache Cache { get; }
Property Value
CentralArea
Returns the central area - the one that does not partition data
Declaration
public MDBCentralArea CentralArea { get; }
Property Value
ComponentLogTopic
Declaration
public override string ComponentLogTopic { get; }
Property Value
Type |
Description |
System.String |
|
Overrides
GdidGenerator
Declaration
public IGdidProvider GdidGenerator { get; }
Property Value
InstrumentationEnabled
Declaration
[Config(Default = false)]
[ExternalParameter(new string[]{"data", "instrumentation"})]
public override bool InstrumentationEnabled { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Overrides
Azos.Apps.DaemonWithInstrumentation<Azos.Apps.IApplicationComponent>.InstrumentationEnabled
LogLevel
Declaration
[Config]
[ExternalParameter(new string[]{"data"})]
public StoreLogLevel LogLevel { get; set; }
Property Value
SchemaName
Declaration
[Config]
public string SchemaName { get; set; }
Property Value
Type |
Description |
System.String |
|
TargetName
Declaration
[Config]
public string TargetName { get; set; }
Property Value
Type |
Description |
System.String |
|
Methods
CentralOperationsFor(Object)
Returns CRUDOperations facade connected to the appropriate shard within the central area as
determined by the shardingID
Declaration
public CRUDOperations CentralOperationsFor(object shardingID)
Parameters
Type |
Name |
Description |
System.Object |
shardingID |
|
Returns
Declaration
protected override void DoConfigure(IConfigSectionNode node)
Parameters
Overrides
DoStart()
Declaration
protected override void DoStart()
Overrides
DoWaitForCompleteStop()
Declaration
protected override void DoWaitForCompleteStop()
Overrides
GetGdidScopePrefix(String, String)
Declaration
public static string GetGdidScopePrefix(string schemaName, string bankName)
Parameters
Type |
Name |
Description |
System.String |
schemaName |
|
System.String |
bankName |
|
Returns
Type |
Description |
System.String |
|
PartitionedOperationsFor(String, GDID)
Returns CRUDOperations facade connected to the appropriate database server within the named area
which services the shard computed from the briefcase GDID
Declaration
public CRUDOperations PartitionedOperationsFor(string areaName, GDID idBriefcase)
Parameters
Type |
Name |
Description |
System.String |
areaName |
|
GDID |
idBriefcase |
|
Returns
TestConnection()
Declaration
public void TestConnection()
Implements
System.IDisposable
Extension Methods