SiloRecoverableStreamConfiguratorExtensions.ConfigureCacheEviction 方法

定义

为可靠流提供程序配置缓存逐出选项。

public static void ConfigureCacheEviction (this Orleans.Hosting.ISiloRecoverableStreamConfigurator configurator, Action<Microsoft.Extensions.Options.OptionsBuilder<Orleans.Configuration.StreamCacheEvictionOptions>> configureOptions);
static member ConfigureCacheEviction : Orleans.Hosting.ISiloRecoverableStreamConfigurator * Action<Microsoft.Extensions.Options.OptionsBuilder<Orleans.Configuration.StreamCacheEvictionOptions>> -> unit
<Extension()>
Public Sub ConfigureCacheEviction (configurator As ISiloRecoverableStreamConfigurator, configureOptions As Action(Of OptionsBuilder(Of StreamCacheEvictionOptions)))

参数

configurator
ISiloRecoverableStreamConfigurator

配置生成器。

configureOptions
Action<OptionsBuilder<StreamCacheEvictionOptions>>

配置委托。

适用于