Class DefaultKdbStore.ShardSet
Represents partition within the area
Inheritance
System.Object
DefaultKdbStore.ShardSet
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)
Namespace: Azos.Sky.Kdb
Assembly: Azos.Sky.MongoDb.dll
Syntax
public sealed class ShardSet : DefaultKdbStore.KdbAppComponent, IDisposable, IApplicationComponent, IExternallyParameterized
Properties
Fallback
Declaration
public DefaultKdbStore.ShardSet Fallback { get; }
Property Value
Type | Description |
---|---|
DefaultKdbStore.ShardSet |
FallbackLevel
Declaration
public int FallbackLevel { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
FallbackParent
Declaration
public DefaultKdbStore.ShardSet FallbackParent { get; }
Property Value
Type | Description |
---|---|
DefaultKdbStore.ShardSet |
Shards
Declaration
public DefaultKdbStore.Shard[] Shards { get; }
Property Value
Type | Description |
---|---|
DefaultKdbStore.Shard[] |
Store
Declaration
public DefaultKdbStore Store { get; }
Property Value
Type | Description |
---|---|
DefaultKdbStore |
Methods
GetShardForKey(Byte[])
Finds appropriate shard for key. See MDB.ShardingUtils
Declaration
public DefaultKdbStore.Shard GetShardForKey(byte[] key)
Parameters
Type | Name | Description |
---|---|---|
System.Byte[] | key |
Returns
Type | Description |
---|---|
DefaultKdbStore.Shard |
ToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |
Overrides
Implements
System.IDisposable