SemispaceCache

skunk.data.SemispaceCache
See theSemispaceCache companion object
sealed abstract case class SemispaceCache[K, V](gen0: Map[K, V], gen1: Map[K, V], max: Int)

Cache based on a two-generation GC. Taken from https://twitter.com/pchiusano/status/1260255494519865346

Attributes

Companion:
object
Source:
SemispaceCache.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

def containsKey(k: K): Boolean

Attributes

Source:
SemispaceCache.scala
def insert(k: K, v: V): SemispaceCache[K, V]

Attributes

Source:
SemispaceCache.scala
def lookup(k: K): Option[(SemispaceCache[K, V], V)]

Attributes

Source:
SemispaceCache.scala
def values: List[V]

Attributes

Source:
SemispaceCache.scala

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product