Поделиться через


ShardedStorageProvider.HashFunction(String, GrainReference) Метод

Определение

Возвращает хэш-значение, полученное из входного типа зерна и значений идентификаторов.

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

Параметры

grainType
String

Полное имя типа класса для этого зерна

grainReference
GrainReference

Справочник по GrainI для этого зерна

Возвращаемое значение

Стабильное хэш-значение для этого зерна

Применяется к