IQueueCache
interface
Namespace: Orleans.Streams
Provides cached access to messages received from a stream queue.
public interface IQueueCache : IQueueFlowControllerMethods
AddToCache(IList<IBatchContainer>)Adds messages to the cache.GetCacheCursor(StreamId, StreamSequenceToken?)Acquire a stream message cursor. This can be used to retrieve messages from the cache starting at the location indicated by the provided token.IsUnderPressureReturnstrueif this cache is under pressure,falseotherwise.TryGetCacheCursor(StreamId, StreamSequenceToken?)Attempts to acquire a stream message cursor at the location indicated by the provided token.TryGetCacheCursorAtPosition(StreamId, StreamSubscriptionStartPosition)Attempts to acquire a stream message cursor at the specified subscription start position.TryPurgeFromCache(IList<IBatchContainer>)Requests that the cache purge any items that can be purged.UpdateDeliveryProgress(StreamSequenceToken?, DateTime)Updates the cache with the current delivery progress of all active subscriptions.
