ShardedStorageProvider.HashFunction(String, GrainReference) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Return a hash value derived from the input grain type and id values.
protected virtual int HashFunction (string grainType, Orleans.Runtime.GrainReference grainReference);
abstract member HashFunction : string * Orleans.Runtime.GrainReference -> int
override this.HashFunction : string * Orleans.Runtime.GrainReference -> int
Protected Overridable Function HashFunction (grainType As String, grainReference As GrainReference) As Integer
Parameters
- grainType
- String
Fully qualified class type name for this grain
- grainReference
- GrainReference
GrainI reference for this grain
Returns
Stable hash value for this grain