AddToCache(IList<IBatchContainer>)
abstract
public abstract void AddToCache(IList<IBatchContainer> messages) Adds messages to the cache.
Parameters
messagesIList<IBatchContainer>- The message batches.
public abstract void AddToCache(IList<IBatchContainer> messages)messagesIList<IBatchContainer>public abstract IQueueCacheCursor GetCacheCursor(StreamId streamId, StreamSequenceToken token)streamIdStreamIdtokenStreamSequenceTokenpublic abstract bool IsUnderPressure()true if this cache is under pressure, false otherwise. true if this cache is under pressure; otherwise, false.public abstract bool TryPurgeFromCache(out IList<IBatchContainer> purgedItems)purgedItemsIList<IBatchContainer>true if items were successfully purged from the cache., false otherwise.public virtual void UpdateDeliveryProgress(StreamSequenceToken? earliestSubscriptionToken, DateTime utcNow)earliestSubscriptionTokenStreamSequenceToken?null value indicates that there are no active subscriptions. The token is only valid for the duration of the call and must not be stored. utcNowDateTime