ICacheDataComparer<TCachedMessage>.Compare 方法

定义

将缓存的消息与序列令牌进行比较,以确定消息是否在令牌之前或之后

public int Compare (TCachedMessage cachedMessage, Orleans.Streams.StreamSequenceToken streamToken);
abstract member Compare : 'CachedMessage * Orleans.Streams.StreamSequenceToken -> int
Public Function Compare (cachedMessage As TCachedMessage, streamToken As StreamSequenceToken) As Integer

参数

cachedMessage
TCachedMessage
streamToken
StreamSequenceToken

返回

适用于