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
Show all

Members list

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

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product