IQueueCache.GetCacheCursor Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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. |
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. |
Acquire a stream message cursor. This can be used to retrieve messages from the cache starting at the location indicated by the provided token.
public Orleans.Streams.IQueueCacheCursor GetCacheCursor(Orleans.Runtime.StreamId streamId, Orleans.Streams.StreamSequenceToken token);
abstract member GetCacheCursor : Orleans.Runtime.StreamId * Orleans.Streams.StreamSequenceToken -> Orleans.Streams.IQueueCacheCursor
Public Function GetCacheCursor (streamId As StreamId, token As StreamSequenceToken) As IQueueCacheCursor
Parameters
- streamId
- StreamId
The stream identifier.
- token
- StreamSequenceToken
The token.
Returns
The queue cache cursor.
Applies to
.NET Orleans 9.0.0 and other versions
Product | Versions |
---|---|
.NET Orleans | 7.0.0, 8.0.0, 8.1.0, 8.2.0, 9.0.0 |
- Source:
- IQueueCache.cs
Acquire a stream message cursor. This can be used to retreave messages from the cache starting at the location indicated by the provided token.
public Orleans.Streams.IQueueCacheCursor GetCacheCursor(Orleans.Streams.IStreamIdentity streamIdentity, Orleans.Streams.StreamSequenceToken token);
abstract member GetCacheCursor : Orleans.Streams.IStreamIdentity * Orleans.Streams.StreamSequenceToken -> Orleans.Streams.IQueueCacheCursor
Public Function GetCacheCursor (streamIdentity As IStreamIdentity, token As StreamSequenceToken) As IQueueCacheCursor
Parameters
- streamIdentity
- IStreamIdentity
- token
- StreamSequenceToken
Returns
Applies to
.NET Orleans 3.6.0 and other versions
Product | Versions |
---|---|
.NET Orleans | 1.5.10, 3.4.5, 3.6.0 |