다음을 통해 공유


MemoryPooledCache<TSerializer> 생성자

정의

오버로드

MemoryPooledCache<TSerializer>(IObjectPool<FixedSizeBuffer>, TimePurgePredicate, ILogger, TSerializer, ICacheMonitor, Nullable<TimeSpan>)

메모리 스트림 공급자에 대한 풀된 캐시

MemoryPooledCache<TSerializer>(IObjectPool<FixedSizeBuffer>, TimePurgePredicate, Logger, TSerializer, ICacheMonitor, Nullable<TimeSpan>)

메모리 스트림 공급자에 대한 풀된 캐시

MemoryPooledCache<TSerializer>(IObjectPool<FixedSizeBuffer>, TimePurgePredicate, ILogger, TSerializer, ICacheMonitor, Nullable<TimeSpan>, Nullable<TimeSpan>)

메모리 스트림 공급자에 대한 풀된 캐시입니다.

MemoryPooledCache<TSerializer>(IObjectPool<FixedSizeBuffer>, TimePurgePredicate, ILogger, TSerializer, ICacheMonitor, Nullable<TimeSpan>)

Source:
MemoryPooledCache.cs

메모리 스트림 공급자에 대한 풀된 캐시

public MemoryPooledCache (Orleans.Providers.Streams.Common.IObjectPool<Orleans.Providers.Streams.Common.FixedSizeBuffer> bufferPool, Orleans.Providers.Streams.Common.TimePurgePredicate purgePredicate, Microsoft.Extensions.Logging.ILogger logger, TSerializer serializer, Orleans.Providers.Streams.Common.ICacheMonitor cacheMonitor, TimeSpan? monitorWriteInterval);
new Orleans.Providers.MemoryPooledCache<'Serializer (requires 'Serializer : null and 'Serializer :> Orleans.Providers.IMemoryMessageBodySerializer)> : Orleans.Providers.Streams.Common.IObjectPool<Orleans.Providers.Streams.Common.FixedSizeBuffer> * Orleans.Providers.Streams.Common.TimePurgePredicate * Microsoft.Extensions.Logging.ILogger * 'Serializer * Orleans.Providers.Streams.Common.ICacheMonitor * Nullable<TimeSpan> -> Orleans.Providers.MemoryPooledCache<'Serializer (requires 'Serializer : null and 'Serializer :> Orleans.Providers.IMemoryMessageBodySerializer)>
Public Sub New (bufferPool As IObjectPool(Of FixedSizeBuffer), purgePredicate As TimePurgePredicate, logger As ILogger, serializer As TSerializer, cacheMonitor As ICacheMonitor, monitorWriteInterval As Nullable(Of TimeSpan))

매개 변수

purgePredicate
TimePurgePredicate
logger
ILogger
serializer
TSerializer
cacheMonitor
ICacheMonitor
monitorWriteInterval
Nullable<TimeSpan>

쓰기 간격을 모니터링합니다. 활성 캐시에 대해서만 트리거됩니다.

적용 대상

MemoryPooledCache<TSerializer>(IObjectPool<FixedSizeBuffer>, TimePurgePredicate, Logger, TSerializer, ICacheMonitor, Nullable<TimeSpan>)

메모리 스트림 공급자에 대한 풀된 캐시

public MemoryPooledCache (Orleans.Providers.Streams.Common.IObjectPool<Orleans.Providers.Streams.Common.FixedSizeBuffer> bufferPool, Orleans.Providers.Streams.Common.TimePurgePredicate purgePredicate, Orleans.Runtime.Logger logger, TSerializer serializer, Orleans.Providers.Streams.Common.ICacheMonitor cacheMonitor, TimeSpan? monitorWriteInterval);
new Orleans.Providers.MemoryPooledCache<'Serializer (requires 'Serializer : null and 'Serializer :> Orleans.Providers.IMemoryMessageBodySerializer)> : Orleans.Providers.Streams.Common.IObjectPool<Orleans.Providers.Streams.Common.FixedSizeBuffer> * Orleans.Providers.Streams.Common.TimePurgePredicate * Orleans.Runtime.Logger * 'Serializer * Orleans.Providers.Streams.Common.ICacheMonitor * Nullable<TimeSpan> -> Orleans.Providers.MemoryPooledCache<'Serializer (requires 'Serializer : null and 'Serializer :> Orleans.Providers.IMemoryMessageBodySerializer)>
Public Sub New (bufferPool As IObjectPool(Of FixedSizeBuffer), purgePredicate As TimePurgePredicate, logger As Logger, serializer As TSerializer, cacheMonitor As ICacheMonitor, monitorWriteInterval As Nullable(Of TimeSpan))

매개 변수

purgePredicate
TimePurgePredicate
logger
Logger
serializer
TSerializer
cacheMonitor
ICacheMonitor
monitorWriteInterval
Nullable<TimeSpan>

쓰기 간격을 모니터링합니다. 활성 캐시에 대해서만 트리거됩니다.

적용 대상

MemoryPooledCache<TSerializer>(IObjectPool<FixedSizeBuffer>, TimePurgePredicate, ILogger, TSerializer, ICacheMonitor, Nullable<TimeSpan>, Nullable<TimeSpan>)

메모리 스트림 공급자에 대한 풀된 캐시입니다.

public MemoryPooledCache (Orleans.Providers.Streams.Common.IObjectPool<Orleans.Providers.Streams.Common.FixedSizeBuffer> bufferPool, Orleans.Providers.Streams.Common.TimePurgePredicate purgePredicate, Microsoft.Extensions.Logging.ILogger logger, TSerializer serializer, Orleans.Providers.Streams.Common.ICacheMonitor cacheMonitor, TimeSpan? monitorWriteInterval, TimeSpan? purgeMetadataInterval);
new Orleans.Providers.MemoryPooledCache<'Serializer (requires 'Serializer : null and 'Serializer :> Orleans.Providers.IMemoryMessageBodySerializer)> : Orleans.Providers.Streams.Common.IObjectPool<Orleans.Providers.Streams.Common.FixedSizeBuffer> * Orleans.Providers.Streams.Common.TimePurgePredicate * Microsoft.Extensions.Logging.ILogger * 'Serializer * Orleans.Providers.Streams.Common.ICacheMonitor * Nullable<TimeSpan> * Nullable<TimeSpan> -> Orleans.Providers.MemoryPooledCache<'Serializer (requires 'Serializer : null and 'Serializer :> Orleans.Providers.IMemoryMessageBodySerializer)>
Public Sub New (bufferPool As IObjectPool(Of FixedSizeBuffer), purgePredicate As TimePurgePredicate, logger As ILogger, serializer As TSerializer, cacheMonitor As ICacheMonitor, monitorWriteInterval As Nullable(Of TimeSpan), purgeMetadataInterval As Nullable(Of TimeSpan))

매개 변수

bufferPool
IObjectPool<FixedSizeBuffer>

버퍼 풀입니다.

purgePredicate
TimePurgePredicate

제거 조건자입니다.

logger
ILogger

로거입니다.

serializer
TSerializer

직렬 변환기입니다.

cacheMonitor
ICacheMonitor

캐시 모니터입니다.

monitorWriteInterval
Nullable<TimeSpan>

모니터 쓰기 간격입니다.

purgeMetadataInterval
Nullable<TimeSpan>

적용 대상