IReminderService 接口

定义

用于管理提醒的功能。

public interface IReminderService : Orleans.Services.IGrainService
type IReminderService = interface
    interface IGrainService
    interface ISystemTarget
    interface IAddressable
Public Interface IReminderService
Implements IGrainService
实现

方法

GetReminder(GrainId, String)

获取使用提供的名称注册到指定 grain 的提醒。

GetReminder(GrainReference, String)

用于管理提醒的功能。

GetReminders(GrainId)

获取为指定粒度注册的所有提醒。

GetReminders(GrainReference)

用于管理提醒的功能。

RegisterOrUpdateReminder(GrainId, String, TimeSpan, TimeSpan)

注册新提醒或更新现有提醒。

RegisterOrUpdateReminder(GrainReference, String, TimeSpan, TimeSpan)

注册新提醒或更新现有提醒

Start()

启动服务。

Stop()

停止服务。

UnregisterReminder(IGrainReminder)

取消注册指定的提醒。

扩展方法

AsReference(IAddressable, Type)

返回对提供的 grain 的类型化引用。

AsReference<TGrainInterface>(IAddressable)

返回对提供的 grain 的类型化引用。

BindGrainReference(IAddressable, IGrainFactory)

将 grain 引用绑定到提供的 IGrainFactory

Cast(IAddressable, Type)

返回对提供的 grain 的类型化引用。

Cast<TGrainInterface>(IAddressable)

返回对提供的 grain 的类型化引用。

GetGrainId(IAddressable)

返回与提供的 grain 对应的 grain ID。

GetPrimaryKey(IAddressable)

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

GetPrimaryKey(IAddressable, String)

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

GetPrimaryKeyLong(IAddressable)

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

GetPrimaryKeyLong(IAddressable, String)

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

GetPrimaryKeyString(IAddressable)

返回 string grain 的主键。

IsPrimaryKeyBasedOnLong(IAddressable)

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

适用于