Skip to content

PooledQueueCache.GetCursor(StreamId, StreamSequenceToken?)

GetCursor(StreamId, StreamSequenceToken?)

View source
[System.Obsolete(Use TryGetCursor instead.)]
public object GetCursor(StreamId streamId, StreamSequenceToken? sequenceToken)
Acquires a cursor to enumerate through the messages in the cache at the provided sequenceToken, filtered on the specified stream.

Parameters

streamIdStreamId
stream identity
sequenceTokenStreamSequenceToken?

Returns

The acquired cache cursor.

Exceptions

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