Mongo

class Mongo(uri: String, database: String) : WalkStore

Constructors

Link copied to clipboard
constructor(uri: String, database: String)

Functions

Link copied to clipboard
open override fun close()
Link copied to clipboard
open override fun inWalkOrder(count: Int, last: Boolean): List<String>

The walk's order: partition by partition, each by the version key.

Link copied to clipboard
open override fun settle()

Flushes what the seeding and unstamp left to do: the measured window pays for neither.

Link copied to clipboard
open override fun unstamp(except: List<String>, walkRecord: Boolean)

Removes the access attributes from the history of every account but except, as an import writes a log. The account's walk record goes too, unless walkRecord keeps it: a run with nothing to walk.

Link copied to clipboard
open override fun waits(): Map<String, Int>

The database's operations in progress (currentOp), by operation, collection and whether they wait for a lock.

Link copied to clipboard
open override fun walk(): WalkRecord?

The account's walk record; null when none is recorded.