CachedMessageBlock<TCachedMessage>.GetIndexOfFirstMessageLessThanOrEqualTo Method
Definition
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.
Gets the index of the first message in this block that has a sequence token at or before the provided token
public int GetIndexOfFirstMessageLessThanOrEqualTo (Orleans.Streams.StreamSequenceToken token, Orleans.Providers.Streams.Common.ICacheDataComparer<TCachedMessage> comparer);
member this.GetIndexOfFirstMessageLessThanOrEqualTo : Orleans.Streams.StreamSequenceToken * Orleans.Providers.Streams.Common.ICacheDataComparer<'CachedMessage (requires 'CachedMessage : struct)> -> int
Public Function GetIndexOfFirstMessageLessThanOrEqualTo (token As StreamSequenceToken, comparer As ICacheDataComparer(Of TCachedMessage)) As Integer
Parameters
- token
- StreamSequenceToken
- comparer
- ICacheDataComparer<TCachedMessage>