LeaseId

data class LeaseId(val epoch: Long, val seq: Long) : Comparable<LeaseId>

A lease's name: the epoch the engine that issued it was started with, and its place in that engine's issue order. Ordered by epoch, then by seq.

Constructors

Link copied to clipboard
constructor(epoch: Long, seq: Long)

Properties

Link copied to clipboard
val epoch: Long
Link copied to clipboard
val seq: Long

Functions

Link copied to clipboard
open operator override fun compareTo(other: LeaseId): Int