Edytuj

Udostępnij za pośrednictwem


GeneratorPooledCache Constructors

Definition

Overloads

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

Pooled cache for generator stream provider

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

Pooled cache for generator stream provider.

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

Pooled cache for generator stream provider

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

Source:
GeneratorPooledCache.cs

Pooled cache for generator stream provider

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))

Parameters

logger
ILogger
serializationManager
SerializationManager
cacheMonitor
ICacheMonitor
monitorWriteInterval
Nullable<TimeSpan>

monitor write interval. Only triggered for active caches.

Applies to

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

Pooled cache for generator stream provider.

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))

Parameters

bufferPool
IObjectPool<FixedSizeBuffer>

The buffer pool.

logger
ILogger

The logger.

serializer
Serializer

The serializer.

cacheMonitor
ICacheMonitor

The cache monitor.

monitorWriteInterval
Nullable<TimeSpan>

The monitor write interval. Only triggered for active caches

Applies to

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

Pooled cache for generator stream provider

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))

Parameters

logger
Logger
serializationManager
SerializationManager
cacheMonitor
ICacheMonitor
monitorWriteInterval
Nullable<TimeSpan>

monitor write interval. Only triggered for active caches.

Applies to