HnswLock

class HnswLock

Provide (read-and-write) striped locks for access to nodes of an OnHeapHnswGraph. For use by HnswConcurrentMergeBuilder and its HnswGraphBuilders.

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
fun read(level: Int, node: Int): Lock
Link copied to clipboard
fun write(level: Int, node: Int): Lock