EventSequenceToken
class
Namespace: Orleans.Providers.Streams.Common
Stream sequence token that tracks sequence number and event index
[Orleans.GenerateSerializer]public class EventSequenceToken : StreamSequenceTokenConstructors
EventSequenceTokenInitializes a new instance of theEventSequenceTokenclass.EventSequenceToken(long)Initializes a new instance of theEventSequenceTokenclass.EventSequenceToken(long, int)Initializes a new instance of theEventSequenceTokenclass.
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 batch.Equals(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.
