MigrationReport

class MigrationReport(val source: String, val target: String, val copied: Long, val resumed: Boolean, val sourceCount: Long, val targetCount: Long, val sampledPairs: Int, val recall: Double?, val aliasMoved: Boolean)

What a migration did, and what it checked before it was willing to move an alias.

Constructors

Link copied to clipboard
constructor(source: String, target: String, copied: Long, resumed: Boolean, sourceCount: Long, targetCount: Long, sampledPairs: Int, recall: Double?, aliasMoved: Boolean)

Properties

Link copied to clipboard

whether the alias now points at target.

Link copied to clipboard

points written by this run. A resumed run counts only what it wrote itself; add resumedFrom's copied for the total across runs.

Link copied to clipboard

the mean overlap between the source's neighbours and the target's, over sampledPairs queries. null when nothing was sampled.

Link copied to clipboard

whether this run picked up a checkpoint rather than starting from the first point.

Link copied to clipboard

how many points the neighbour check could compare. Zero when the caller turned the sample off.

Link copied to clipboard

the collection read from.

Link copied to clipboard

points in the source when the copy finished.

Link copied to clipboard

the collection written to.

Link copied to clipboard

points in the target when the copy finished.

Functions

Link copied to clipboard
open override fun toString(): String