GeneratorPooledCache 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
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))
参数
- bufferPool
- IObjectPool<FixedSizeBuffer>
- logger
- ILogger
- serializationManager
- SerializationManager
- cacheMonitor
- ICacheMonitor
适用于
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
缓存监视器。
适用于
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))
参数
- bufferPool
- IObjectPool<FixedSizeBuffer>
- logger
- Logger
- serializationManager
- SerializationManager
- cacheMonitor
- ICacheMonitor