C# Class DictStreamProvider.Cache.DictQueueCache

Inheritance: IQueueCache
Datei anzeigen Open project: amamh/orleans-DictStreamProvider

Protected Properties

Property Type Description
_dicts ConcurrentDictionary>>
_logger Logger

Public Methods

Method 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

Protected Methods

Method Description
DictFactory ( string ns, System.Guid guid ) : DictBatchContainer>.IterableDict

Private Methods

Method Description
GetDict ( string streamNamespace, System.Guid streamGuid ) : DictBatchContainer>.IterableDict

Method Details

AddToCache() public method

public AddToCache ( IList messages ) : void
messages IList
return void

DictFactory() protected method

protected DictFactory ( string ns, System.Guid guid ) : DictBatchContainer>.IterableDict
ns string
guid System.Guid
return DictBatchContainer>.IterableDict

DictQueueCache() public method

public DictQueueCache ( QueueId id, Logger logger ) : Orleans
id QueueId
logger Logger
return Orleans

GetCacheCursor() public method

public GetCacheCursor ( System.Guid streamGuid, string streamNamespace, StreamSequenceToken token ) : IQueueCacheCursor
streamGuid System.Guid
streamNamespace string
token StreamSequenceToken
return IQueueCacheCursor

IsUnderPressure() public method

public IsUnderPressure ( ) : bool
return bool

TryPurgeFromCache() public method

public TryPurgeFromCache ( IList &purgedItems ) : bool
purgedItems IList
return bool

Property Details

_dicts protected_oe property

protected ConcurrentDictionary>> _dicts
return ConcurrentDictionary>>

_logger protected_oe property

protected Logger _logger
return Logger