Bewerken

Delen via


CachedMessageBlock<TCachedMessage>.GetIndexOfFirstMessageLessThanOrEqualTo Method

Definition

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

Returns

Applies to