IDevelopmentLeaseProviderGrain 接口

定义

public interface IDevelopmentLeaseProviderGrain : Orleans.IGrainWithIntegerKey, Orleans.LeaseProviders.ILeaseProvider
type IDevelopmentLeaseProviderGrain = interface
    interface ILeaseProvider
    interface IGrainWithIntegerKey
    interface IGrain
    interface IAddressable
Public Interface IDevelopmentLeaseProviderGrain
Implements IGrainWithIntegerKey, ILeaseProvider
派生
实现

方法

Acquire(String, LeaseRequest[])

Batch 获取租约操作

(继承自 ILeaseProvider)
Release(String, AcquiredLease[])

批量发布租约操作

(继承自 ILeaseProvider)
Renew(String, AcquiredLease[])

批量续订租约操作

(继承自 ILeaseProvider)
Reset()

忘记所有租约。 用于模拟此粒度的丢失或强制重新平衡队列

扩展方法

AsReference<TGrainInterface>(IAddressable)

返回对所提供的粒度的类型化引用。

BindGrainReference(IAddressable, IGrainFactory)

将 grain 引用绑定到提供的 IGrainFactory

Cast(IAddressable, Type)

返回对所提供的粒度的类型化引用。

Cast<TGrainInterface>(IAddressable)

返回对所提供的粒度的类型化引用。

GetGrainIdentity(IGrain)
GetPrimaryKey(IGrain)
GetPrimaryKey(IGrain, String)
GetPrimaryKey(IAddressable)

返回 Guid grain 主键的表示形式。

GetPrimaryKey(IAddressable, String)

返回 Guid grain 主键的表示形式。

GetPrimaryKeyLong(IGrain)
GetPrimaryKeyLong(IGrain, String)
GetPrimaryKeyLong(IAddressable)

返回 long grain 主键的表示形式。

GetPrimaryKeyLong(IAddressable, String)

返回 long grain 主键的表示形式。

GetPrimaryKeyString(IAddressable)

返回 string grain 的主键。

IsPrimaryKeyBasedOnLong(IAddressable)

返回主键的一部分是否为 类型 long

适用于