MemoryPooledCache<TSerializer> Constructeurs
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Surcharges
MemoryPooledCache<TSerializer>(IObjectPool<FixedSizeBuffer>, TimePurgePredicate, ILogger, TSerializer, ICacheMonitor, Nullable<TimeSpan>) |
Cache mis en pool pour le fournisseur de flux de mémoire |
MemoryPooledCache<TSerializer>(IObjectPool<FixedSizeBuffer>, TimePurgePredicate, Logger, TSerializer, ICacheMonitor, Nullable<TimeSpan>) |
Cache mis en pool pour le fournisseur de flux de mémoire |
MemoryPooledCache<TSerializer>(IObjectPool<FixedSizeBuffer>, TimePurgePredicate, ILogger, TSerializer, ICacheMonitor, Nullable<TimeSpan>, Nullable<TimeSpan>) |
Cache mis en pool pour le fournisseur de flux de mémoire. |
MemoryPooledCache<TSerializer>(IObjectPool<FixedSizeBuffer>, TimePurgePredicate, ILogger, TSerializer, ICacheMonitor, Nullable<TimeSpan>)
- Source:
- MemoryPooledCache.cs
Cache mis en pool pour le fournisseur de flux de mémoire
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))
Paramètres
- bufferPool
- IObjectPool<FixedSizeBuffer>
- purgePredicate
- TimePurgePredicate
- logger
- ILogger
- serializer
- TSerializer
- cacheMonitor
- ICacheMonitor
surveiller l’intervalle d’écriture. Déclenchée uniquement pour les caches actifs.
S’applique à
MemoryPooledCache<TSerializer>(IObjectPool<FixedSizeBuffer>, TimePurgePredicate, Logger, TSerializer, ICacheMonitor, Nullable<TimeSpan>)
Cache mis en pool pour le fournisseur de flux de mémoire
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))
Paramètres
- bufferPool
- IObjectPool<FixedSizeBuffer>
- purgePredicate
- TimePurgePredicate
- logger
- Logger
- serializer
- TSerializer
- cacheMonitor
- ICacheMonitor
surveiller l’intervalle d’écriture. Déclenchée uniquement pour les caches actifs.
S’applique à
MemoryPooledCache<TSerializer>(IObjectPool<FixedSizeBuffer>, TimePurgePredicate, ILogger, TSerializer, ICacheMonitor, Nullable<TimeSpan>, Nullable<TimeSpan>)
Cache mis en pool pour le fournisseur de flux de mémoire.
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))
Paramètres
- bufferPool
- IObjectPool<FixedSizeBuffer>
Pool de mémoires tampons.
- purgePredicate
- TimePurgePredicate
Prédicat de vidage.
- logger
- ILogger
L'enregistreur.
- serializer
- TSerializer
Sérialiseur.
- cacheMonitor
- ICacheMonitor
Moniteur de cache.