TxnVarMapOps
Provides transaction operations on TxnVarMap instances. Automatically available when an STM[F] is implicit.
Attributes
- Source
- STM.scala
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
Members list
Value members
Concrete methods
Retrieves an immutable snapshot of the entire map.
Retrieves an immutable snapshot of the entire map. Prefer per-key access for performance.
Attributes
- Source
- STM.scala
Retrieves the value for a key, returning None if the key was deleted in this transaction.
Retrieves the value for a key, returning None if the key was deleted in this transaction.
Attributes
- Source
- STM.scala
Modifies the entire map by applying a pure function.
Modifies the value for a key by applying a pure function.
Modifies the value for a key by applying a pure function. Throws if the key is absent.
Attributes
- Source
- STM.scala
Removes a key-value pair from the map.
Replaces the entire map state.
Replaces the entire map state. Creates/deletes keys as needed. Prefer per-key operations for performance.
Attributes
- Source
- STM.scala