Redigera

Dela via


IStorageHasherPicker.PickHasher Method

Definition

Overloads

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

Picks a hasher using the given parameters.

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

Picks a hasher using the given parameters.

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

Source:
IStorageHashPicker.cs

Picks a hasher using the given parameters.

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

Parameters

serviceId
String

The ID of the current service.

storageProviderInstanceName
String

The requesting storage provider.

grainType
String

The type of grain.

grainReference
GrainReference

The grain reference.

grainState
IGrainState

The grain state.

tag
String

An optional tag parameter that might be used by the storage parameter for "out-of-band" contracts.

Returns

A serializer or null if not match was found.

Applies to

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

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

Picks a hasher using the given parameters.

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

Type Parameters

T

Parameters

serviceId
String

The ID of the current service.

storageProviderInstanceName
String

The requesting storage provider.

grainType
String

The type of grain.

grainId
GrainId

The grain ID.

grainState
IGrainState<T>

The grain state.

tag
String

An optional tag parameter that might be used by the storage parameter for "out-of-band" contracts.

Returns

A serializer or null if not match was found.

Applies to