EventSequenceTokenV2
class
Namespace: Orleans.Providers.Streams.Common
Stream sequence token that tracks sequence number and event index
[Orleans.GenerateSerializer]public class EventSequenceTokenV2 : StreamSequenceTokenConstructors
EventSequenceTokenV2Initializes a new instance of theEventSequenceTokenV2class.EventSequenceTokenV2(long)Initializes a new instance of theEventSequenceTokenV2class.EventSequenceTokenV2(long, int)Initializes a new instance of theEventSequenceTokenV2class.
Properties
EventIndexGets the number of events in batch prior to this eventSequenceNumberGets the number of event batches in stream prior to this event batch
Methods
CompareTo(StreamSequenceToken)Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.CreateSequenceTokenForEvent(int)Creates a sequence token for a specific event in the current batchEquals(StreamSequenceToken)Indicates whether the current object is equal to another object of the same type.Equals(object)Determines whether the specified object is equal to the current object.GetHashCodeServes as the default hash function.ToStringReturns a string that represents the current object.
