GeneratorPooledCache 构造函数

定义

重载

GeneratorPooledCache(IObjectPool<FixedSizeBuffer>, ILogger, SerializationManager, ICacheMonitor, Nullable<TimeSpan>)

生成器流提供程序的共用缓存

GeneratorPooledCache(IObjectPool<FixedSizeBuffer>, ILogger, Serializer, ICacheMonitor, Nullable<TimeSpan>)

生成器流提供程序的共用缓存。

GeneratorPooledCache(IObjectPool<FixedSizeBuffer>, Logger, SerializationManager, ICacheMonitor, Nullable<TimeSpan>)

生成器流提供程序的共用缓存

GeneratorPooledCache(IObjectPool<FixedSizeBuffer>, ILogger, SerializationManager, ICacheMonitor, Nullable<TimeSpan>)

Source:
GeneratorPooledCache.cs

生成器流提供程序的共用缓存

public GeneratorPooledCache (Orleans.Providers.Streams.Common.IObjectPool<Orleans.Providers.Streams.Common.FixedSizeBuffer> bufferPool, Microsoft.Extensions.Logging.ILogger logger, Orleans.Serialization.SerializationManager serializationManager, Orleans.Providers.Streams.Common.ICacheMonitor cacheMonitor, TimeSpan? monitorWriteInterval);
new Orleans.Providers.Streams.Generator.GeneratorPooledCache : Orleans.Providers.Streams.Common.IObjectPool<Orleans.Providers.Streams.Common.FixedSizeBuffer> * Microsoft.Extensions.Logging.ILogger * Orleans.Serialization.SerializationManager * Orleans.Providers.Streams.Common.ICacheMonitor * Nullable<TimeSpan> -> Orleans.Providers.Streams.Generator.GeneratorPooledCache
Public Sub New (bufferPool As IObjectPool(Of FixedSizeBuffer), logger As ILogger, serializationManager As SerializationManager, cacheMonitor As ICacheMonitor, monitorWriteInterval As Nullable(Of TimeSpan))

参数

logger
ILogger
serializationManager
SerializationManager
cacheMonitor
ICacheMonitor
monitorWriteInterval
Nullable<TimeSpan>

监视写入间隔。 仅针对活动缓存触发。

适用于

GeneratorPooledCache(IObjectPool<FixedSizeBuffer>, ILogger, Serializer, ICacheMonitor, Nullable<TimeSpan>)

生成器流提供程序的共用缓存。

public GeneratorPooledCache (Orleans.Providers.Streams.Common.IObjectPool<Orleans.Providers.Streams.Common.FixedSizeBuffer> bufferPool, Microsoft.Extensions.Logging.ILogger logger, Orleans.Serialization.Serializer serializer, Orleans.Providers.Streams.Common.ICacheMonitor cacheMonitor, TimeSpan? monitorWriteInterval);
new Orleans.Providers.Streams.Generator.GeneratorPooledCache : Orleans.Providers.Streams.Common.IObjectPool<Orleans.Providers.Streams.Common.FixedSizeBuffer> * Microsoft.Extensions.Logging.ILogger * Orleans.Serialization.Serializer * Orleans.Providers.Streams.Common.ICacheMonitor * Nullable<TimeSpan> -> Orleans.Providers.Streams.Generator.GeneratorPooledCache
Public Sub New (bufferPool As IObjectPool(Of FixedSizeBuffer), logger As ILogger, serializer As Serializer, cacheMonitor As ICacheMonitor, monitorWriteInterval As Nullable(Of TimeSpan))

参数

bufferPool
IObjectPool<FixedSizeBuffer>

缓冲池。

logger
ILogger

记录器。

serializer
Serializer

序列化程序。

cacheMonitor
ICacheMonitor

缓存监视器。

monitorWriteInterval
Nullable<TimeSpan>

监视器写入间隔。 仅针对活动缓存触发

适用于

GeneratorPooledCache(IObjectPool<FixedSizeBuffer>, Logger, SerializationManager, ICacheMonitor, Nullable<TimeSpan>)

生成器流提供程序的共用缓存

public GeneratorPooledCache (Orleans.Providers.Streams.Common.IObjectPool<Orleans.Providers.Streams.Common.FixedSizeBuffer> bufferPool, Orleans.Runtime.Logger logger, Orleans.Serialization.SerializationManager serializationManager, Orleans.Providers.Streams.Common.ICacheMonitor cacheMonitor, TimeSpan? monitorWriteInterval);
new Orleans.Providers.Streams.Generator.GeneratorPooledCache : Orleans.Providers.Streams.Common.IObjectPool<Orleans.Providers.Streams.Common.FixedSizeBuffer> * Orleans.Runtime.Logger * Orleans.Serialization.SerializationManager * Orleans.Providers.Streams.Common.ICacheMonitor * Nullable<TimeSpan> -> Orleans.Providers.Streams.Generator.GeneratorPooledCache
Public Sub New (bufferPool As IObjectPool(Of FixedSizeBuffer), logger As Logger, serializationManager As SerializationManager, cacheMonitor As ICacheMonitor, monitorWriteInterval As Nullable(Of TimeSpan))

参数

logger
Logger
serializationManager
SerializationManager
cacheMonitor
ICacheMonitor
monitorWriteInterval
Nullable<TimeSpan>

监视写入间隔。 仅针对活动缓存触发。

适用于