trait CacheMap[S <: stm.Sys[S], K, +Store] extends Cache[confluent.CacheMap.S.Tx]
- Alphabetic
- By Inheritance
- CacheMap
- Cache
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Abstract Value Members
- abstract def cacheContains(key: K, path: S.Acc)(implicit tx: S.Tx): Boolean
-
abstract
def
flushCache(term: Long)(implicit tx: S.Tx): Unit
This method should be invoked from the implementations flush hook after it has determined the terminal version at which the entries in the cache are written to the persistent store.
This method should be invoked from the implementations flush hook after it has determined the terminal version at which the entries in the cache are written to the persistent store. If this method is not called, the cache will just vanish and not be written out to the
persistent
store.- term
the new version to append to the paths in the cache (using the
PathLike
'saddTerm
method)- tx
the current transaction (should be in commit or right-before commit phase)
- abstract def getCacheOnly[A](key: K, path: S.Acc)(implicit tx: S.Tx): Option[A]
- abstract def removeCache(key: K, path: S.Acc)(implicit tx: S.Tx): Boolean
-
abstract
def
removeCacheOnly(key: K, path: S.Acc)(implicit tx: S.Tx): Boolean
Removes an entry from the cache, and only the cache.
Removes an entry from the cache, and only the cache. This will not affect any values also persisted to
persistent
! If the cache does not contain an entry at the givenkey
, this method simply returns.- key
key at which the entry is stored
- tx
the current transaction
-
abstract
def
store: Store
The persistent map to which the data is flushed or from which it is retrieved when not residing in cache.
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )