Skip to content

IQueueCache.GetCacheCursor(StreamId, StreamSequenceToken?)

GetCacheCursor(StreamId, StreamSequenceToken?)

abstract
[System.Obsolete(Use TryGetCacheCursor instead.)]
public abstract IQueueCacheCursor GetCacheCursor(StreamId streamId, StreamSequenceToken? token)
Acquire a stream message cursor. This can be used to retrieve messages from the cache starting at the location indicated by the provided token.

Parameters

streamIdStreamId
The stream identifier.
tokenStreamSequenceToken?
The token.

Returns

The queue cache cursor.

Exceptions

Orleans.Streams.QueueCacheMissException
The requested token is older than the messages retained by the cache.