IQueueCache Interface

Definition

public interface IQueueCache : Orleans.Streams.IQueueFlowController
type IQueueCache = interface
    interface IQueueFlowController
Public Interface IQueueCache
Implements IQueueFlowController
Derived
Implements

Methods

AddToCache(IList<IBatchContainer>)

Adds messages to the cache.

GetCacheCursor(IStreamIdentity, StreamSequenceToken)

Acquire a stream message cursor. This can be used to retreave messages from the cache starting at the location indicated by the provided token.

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.

GetMaxAddCount()

Gets the maximum number of items that can be added.

(Inherited from IQueueFlowController)
IsUnderPressure()

Returns true if this cache is under pressure, false otherwise.

TryPurgeFromCache(IList<IBatchContainer>)

Requests that the cache purge any items that can be purged.

Applies to