LogPosition

object LogPosition
Companion
class
class Object
trait Matchable
class Any

Type members

Classlikes

case object End extends LogPosition
sealed abstract case class Exact(commit: Long, prepare: Long) extends LogPosition
Companion
object
object Exact
Companion
class
final class LogPositionOps(val lp: LogPosition) extends AnyVal

Value members

Concrete methods

def apply(commit: Long, prepare: Long): Either[InvalidInput, Exact]

Constructs an exact log position in the global stream. Provided values are validated for 0L <= Long.MaxValue and that @param commit is larger than @param prepare.

Constructs an exact log position in the global stream. Provided values are validated for 0L <= Long.MaxValue and that @param commit is larger than @param prepare.

Concrete fields

val Start: Exact

Implicits

Implicits

implicit val orderForExact: Order[Exact]
implicit val orderForLogPosition: Order[LogPosition]