Class TimeBasedUuid
Corresponds to an ordered unique identifier of the events. Note that the corresponding
offset of each event is provided in the EventEnvelope, which makes it
possible to resume the stream at a later point from a given offset.
The `offset` is exclusive, i.e. the event with the exact same sequence number will not be included
in the returned stream. This means that you can use the offset that is returned in `EventEnvelope`
as the `offset` parameter in a subsequent query.
Inheritance
TimeBasedUuid
Assembly: Akka.Persistence.Query.dll
Syntax
public sealed class TimeBasedUuid : Offset, IComparable<Offset>, IComparable<TimeBasedUuid>
Constructors
|
Edit this page
View Source
TimeBasedUuid(Guid)
Declaration
public TimeBasedUuid(Guid value)
Parameters
Type |
Name |
Description |
Guid |
value |
|
Properties
|
Edit this page
View Source
Value
Declaration
public Guid Value { get; }
Property Value
Methods
|
Edit this page
View Source
CompareTo(Offset)
Used to compare to other Offset implementations.
Declaration
public override int CompareTo(Offset other)
Parameters
Type |
Name |
Description |
Offset |
other |
The other offset to compare.
|
Returns
Overrides
|
Edit this page
View Source
CompareTo(TimeBasedUuid)
Declaration
public int CompareTo(TimeBasedUuid other)
Parameters
Returns
|
Edit this page
View Source
Equals(object)
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
object |
obj |
|
Returns
Overrides
|
Edit this page
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
|
Edit this page
View Source
ToString()
Used to log offset's value
Declaration
public override string ToString()
Returns
Overrides
Implements
Extension Methods