Share via


IQueueCache 接口

定义

public interface IQueueCache : Orleans.Streams.IQueueFlowController
type IQueueCache = interface
    interface IQueueFlowController
Public Interface IQueueCache
Implements IQueueFlowController
派生
实现

方法

AddToCache(IList<IBatchContainer>)

将消息添加到缓存。

GetCacheCursor(IStreamIdentity, StreamSequenceToken)

获取流消息游标。 这可用于从提供的令牌指示的位置开始重新处理缓存中的消息。

GetCacheCursor(StreamId, StreamSequenceToken)

获取流消息游标。 这可用于从提供的令牌指示的位置开始从缓存中检索消息。

GetMaxAddCount()

获取可添加的最大项数。

(继承自 IQueueFlowController)
IsUnderPressure()

true如果此缓存承受压力,则返回 ;false否则返回 。

TryPurgeFromCache(IList<IBatchContainer>)

请求缓存清除可以清除的任何项。

适用于