StatementCache

skunk.util.StatementCache
See theStatementCache companion object
sealed trait StatementCache[F[_], V]

An LRU (by access) cache, keyed by statement CacheKey.

Attributes

Companion
object
Source
StatementCache.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Abstract methods

def clear: F[Unit]

Attributes

Source
StatementCache.scala
def containsKey(k: Statement[_]): F[Boolean]

Attributes

Source
StatementCache.scala
def get(k: Statement[_]): F[Option[V]]

Attributes

Source
StatementCache.scala
def values: F[List[V]]

Attributes

Source
StatementCache.scala

Concrete methods

def mapK[G[_]](fk: FunctionK[F, G]): StatementCache[G, V]

Attributes

Source
StatementCache.scala