Class LogicalTimestamp

    • Constructor Detail

      • LogicalTimestamp

        public LogicalTimestamp​(long value)
    • Method Detail

      • of

        public static LogicalTimestamp of​(long value)
        Returns a new logical timestamp for the given logical time.
        Parameters:
        value - the logical time for which to create a new logical timestamp
        Returns:
        the logical timestamp
      • value

        public long value()
        Returns the sequence value.
        Returns:
        sequence value
      • asVersion

        public Version asVersion()
        Returns the timestamp as a version.
        Returns:
        the timestamp as a version