Parcel ShardingPointer Property NFX Class Library

[This is preliminary documentation and is subject to change.]

Returns the ShardingPointer(type:ID) used for sharding, default implementation returns this parcel type and GDID. Override ShardingID property to return another sharding key, i.e. a social comment msg may use parent item (that the msg relates to) ID as the shard key so msgs are co-located with related items. Use CompositeShardingID to return multiple values. IMPORTANT!!! ShardingPointer must return an immutable value, the one that CAN NOT be changed during parcel payload life

Namespace: NFX.DataAccess.Distributed
Assembly: NFX (in NFX.dll) Version: 3.0.0.1 (3.0.0.1)
Syntax

public ShardingPointer ShardingPointer { get; }

Property Value

Type: ShardingPointer

Implements

IShardingPointerProvider ShardingPointer
See Also