C# Class DictStreamProvider.Cache.DictQueueCache

Inheritance: IQueueCache
Afficher le fichier Open project: amamh/orleans-DictStreamProvider

Protected Properties

Свойство Type Description
_dicts ConcurrentDictionary>>
_logger Logger

Méthodes publiques

Méthode Description
AddToCache ( IList messages ) : void
DictQueueCache ( QueueId id, Logger logger ) : Orleans
GetCacheCursor ( System.Guid streamGuid, string streamNamespace, StreamSequenceToken token ) : IQueueCacheCursor
IsUnderPressure ( ) : bool
TryPurgeFromCache ( IList &purgedItems ) : bool

Méthodes protégées

Méthode Description
DictFactory ( string ns, System.Guid guid ) : DictBatchContainer>.IterableDict

Private Methods

Méthode Description
GetDict ( string streamNamespace, System.Guid streamGuid ) : DictBatchContainer>.IterableDict

Method Details

AddToCache() public méthode

public AddToCache ( IList messages ) : void
messages IList
Résultat void

DictFactory() protected méthode

protected DictFactory ( string ns, System.Guid guid ) : DictBatchContainer>.IterableDict
ns string
guid System.Guid
Résultat DictBatchContainer>.IterableDict

DictQueueCache() public méthode

public DictQueueCache ( QueueId id, Logger logger ) : Orleans
id QueueId
logger Logger
Résultat Orleans

GetCacheCursor() public méthode

public GetCacheCursor ( System.Guid streamGuid, string streamNamespace, StreamSequenceToken token ) : IQueueCacheCursor
streamGuid System.Guid
streamNamespace string
token StreamSequenceToken
Résultat IQueueCacheCursor

IsUnderPressure() public méthode

public IsUnderPressure ( ) : bool
Résultat bool

TryPurgeFromCache() public méthode

public TryPurgeFromCache ( IList &purgedItems ) : bool
purgedItems IList
Résultat bool

Property Details

_dicts protected_oe property

protected ConcurrentDictionary>> _dicts
Résultat ConcurrentDictionary>>

_logger protected_oe property

protected Logger _logger
Résultat Logger