Class TimeBasedUUID

  • All Implemented Interfaces:, java.lang.Comparable<TimeBasedUUID>, scala.Equals, scala.math.Ordered<TimeBasedUUID>, scala.Product

    public final class TimeBasedUUID
    extends Offset
    implements scala.math.Ordered<TimeBasedUUID>, scala.Product,
    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.

    See Also:
    Serialized Form
    • Constructor Detail

      • TimeBasedUUID

        public TimeBasedUUID​(java.util.UUID value)
    • Method Detail

      • apply

        public static TimeBasedUUID apply​(java.util.UUID value)
      • unapply

        public static scala.Option<java.util.UUID> unapply​(TimeBasedUUID x$0)
      • value

        public java.util.UUID value()
      • copy$default$1

        public java.util.UUID copy$default$1()
      • productPrefix

        public java.lang.String productPrefix()
        Specified by:
        productPrefix in interface scala.Product
      • productArity

        public int productArity()
        Specified by:
        productArity in interface scala.Product
      • productElement

        public java.lang.Object productElement​(int x$1)
        Specified by:
        productElement in interface scala.Product
      • productIterator

        public scala.collection.Iterator<java.lang.Object> productIterator()
        Specified by:
        productIterator in interface scala.Product
      • canEqual

        public boolean canEqual​(java.lang.Object x$1)
        Specified by:
        canEqual in interface scala.Equals
      • productElementName

        public java.lang.String productElementName​(int x$1)
        Specified by:
        productElementName in interface scala.Product
      • hashCode

        public int hashCode()
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        toString in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object x$1)
        Specified by:
        equals in interface scala.Equals
        equals in class java.lang.Object