EntityClock

data class EntityClock(id: UUID, createdAt: Long, logicalTime: Long) : Attribute, Comparable<EntityClock>

Functions

compareTo
Link copied to clipboard
common
open operator override fun compareTo(other: EntityClock): Int
component1
Link copied to clipboard
common
operator fun component1(): UUID
component2
Link copied to clipboard
common
operator fun component2(): Long
component3
Link copied to clipboard
common
operator fun component3(): Long
copy
Link copied to clipboard
common
fun copy(id: UUID, createdAt: Long = Clock.System.now().toEpochMilliseconds(), logicalTime: Long = 100): EntityClock
equals
Link copied to clipboard
common
open operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
common
open override fun hashCode(): Int
toString
Link copied to clipboard
common
open override fun toString(): String

Properties

createdAt
Link copied to clipboard
common
val createdAt: Long
id
Link copied to clipboard
common
open override val id: UUID
logicalTime
Link copied to clipboard
common
val logicalTime: Long = 100

Sources

(source)
Link copied to clipboard