Interface IDistributedStableHashProvider
Denotes entities that provide ULONG STABLE hash code for use in a distributed (large scale) system. This is needed primarily for cluster/large datasets to properly compute 64bit sharding addresses and to differentiate from GetHashCode() that returns 32 bits unstable hash for local object location in hashtables. DO not confuse with object.GetHashCode() which is un-suitable for long-term persistence
Namespace: Azos.Data.Access
Assembly: Azos.dll
Syntax
public interface IDistributedStableHashProvider
Methods
GetDistributedStableHash()
Provides 64 bit STABLE hash suitable for distributed system application. This hash may NOT depend on platform as it is used for storage. Warning! DO NOT CALL object.GetHashCode() as it may not be suitable for storage
Declaration
ulong GetDistributedStableHash()
Returns
Type | Description |
---|---|
System.UInt64 |