IStorageHasherPicker.PickHasher 方法

定义

重载

PickHasher(String, String, String, GrainReference, IGrainState, String)

使用给定参数选取 hasher。

PickHasher<T>(String, String, String, GrainId, IGrainState<T>, String)

使用给定参数选取 hasher。

PickHasher(String, String, String, GrainReference, IGrainState, String)

Source:
IStorageHashPicker.cs

使用给定参数选取 hasher。

public Orleans.Storage.IHasher PickHasher (string serviceId, string storageProviderInstanceName, string grainType, Orleans.Runtime.GrainReference grainReference, Orleans.IGrainState grainState, string tag = default);
abstract member PickHasher : string * string * string * Orleans.Runtime.GrainReference * Orleans.IGrainState * string -> Orleans.Storage.IHasher
Public Function PickHasher (serviceId As String, storageProviderInstanceName As String, grainType As String, grainReference As GrainReference, grainState As IGrainState, Optional tag As String = Nothing) As IHasher

参数

serviceId
String

当前服务的 ID。

storageProviderInstanceName
String

请求存储提供程序。

grainType
String

grain 的类型。

grainReference
GrainReference

粒度引用。

grainState
IGrainState

粒度状态。

tag
String

一个可选标记参数,存储参数可能用于“带外”协定。

返回

如果找到不匹配,则为序列化程序或 null

适用于

PickHasher<T>(String, String, String, GrainId, IGrainState<T>, String)

Source:
IStorageHashPicker.cs
Source:
IStorageHashPicker.cs
Source:
IStorageHashPicker.cs
Source:
IStorageHashPicker.cs

使用给定参数选取 hasher。

public Orleans.Storage.IHasher PickHasher<T> (string serviceId, string storageProviderInstanceName, string grainType, Orleans.Runtime.GrainId grainId, Orleans.IGrainState<T> grainState, string tag = default);
abstract member PickHasher : string * string * string * Orleans.Runtime.GrainId * Orleans.IGrainState<'T> * string -> Orleans.Storage.IHasher
Public Function PickHasher(Of T) (serviceId As String, storageProviderInstanceName As String, grainType As String, grainId As GrainId, grainState As IGrainState(Of T), Optional tag As String = Nothing) As IHasher

类型参数

T

参数

serviceId
String

当前服务的 ID。

storageProviderInstanceName
String

请求存储提供程序。

grainType
String

grain 的类型。

grainId
GrainId

粒度 ID。

grainState
IGrainState<T>

粒度状态。

tag
String

一个可选标记参数,存储参数可能用于“带外”协定。

返回

如果找到不匹配,则为序列化程序或 null

适用于