LegacyGrainId 类

定义

[Orleans.GenerateSerializer]
[Orleans.Immutable]
[System.Serializable]
public sealed class LegacyGrainId : IComparable<Orleans.Runtime.LegacyGrainId>, IEquatable<Orleans.Runtime.LegacyGrainId>
[<Orleans.GenerateSerializer>]
[<Orleans.Immutable>]
[<System.Serializable>]
type LegacyGrainId = class
    interface IEquatable<LegacyGrainId>
    interface IComparable<LegacyGrainId>
Public NotInheritable Class LegacyGrainId
Implements IComparable(Of LegacyGrainId), IEquatable(Of LegacyGrainId)
继承
LegacyGrainId
属性
实现

属性

Category
IdentityString
IsClient
IsGrain
IsLongKey
IsSystemTarget
PrimaryKey
PrimaryKeyLong
PrimaryKeyString
TypeCode

方法

CompareTo(LegacyGrainId)
CreateGrainTypeForGrain(Int32)
CreateGrainTypeForSystemTarget(Int32)
Equals(LegacyGrainId)
Equals(Object)
FromGrainId(GrainId)
GetHashCode_Modulo(UInt32)
GetHashCode()
GetPrimaryKey(String)
GetPrimaryKeyLong(String)
GetUniformHashCode()

根据 Jenkins 哈希函数获取此粒度的均匀分布哈希代码值。 注意:哈希代码值可以是正数或负值。

IsLegacyGrainType(Type)
IsLegacyKeyExtGrainType(Type)
NewClientId()
NewId()
ToGrainId()
ToString()
TryConvertFromGrainId(GrainId, LegacyGrainId)

运算符

Implicit(LegacyGrainId to GrainId)

适用于