Packages

trait DurableCacheMapImpl[T <: Txn[T], K] extends CacheMap.Durable[T, K, DurablePersistentMap[T, K]] with CacheMapImpl[T, K, DurablePersistentMap[T, K]]

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DurableCacheMapImpl
  2. CacheMapImpl
  3. Durable
  4. CacheMap
  5. Cache
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract def store: DurablePersistentMap[T, K]

    The persistent map to which the data is flushed or from which it is retrieved when not residing in cache.

    The persistent map to which the data is flushed or from which it is retrieved when not residing in cache.

    Definition Classes
    CacheMap

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. final def cacheContains(key: K, tx: T)(implicit path: CacheMapImpl.T.Acc): Boolean
    Definition Classes
    CacheMapImplCacheMap
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  9. final def flushCache(term: Long)(implicit tx: T): 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's addTerm method)

    tx

    the current transaction (should be in commit or right-before commit phase)

    Definition Classes
    CacheMapImplCacheMapCache
  10. final def getCacheNonTxn[A](key: K, tx: T)(implicit path: T.Acc, format: ConstFormat[A]): Option[A]

    Retrieves a value from the cache _or_ the underlying store (if not found in the cache), where a non-transactional format exists.

    Retrieves a value from the cache _or_ the underlying store (if not found in the cache), where a non-transactional format exists.

    If no value is found for the current path, this will try to read the most recent entry along the path.

    A

    the type of value stored

    key

    key at which the entry is stored

    tx

    the current transaction

    path

    access path for the read

    format

    the format to use for the value

    returns

    the most recent value found, or None if a value cannot be found for the given path, neither in the cache nor in the persistent store.

    Definition Classes
    DurableCacheMapImplDurable
  11. final def getCacheOnly[A](key: K, tx: T)(implicit path: CacheMapImpl.T.Acc): Option[A]
    Definition Classes
    CacheMapImplCacheMap
  12. final def getCacheTxn[A](key: K, tx: T)(implicit path: T.Acc, format: TFormat[T, A]): Option[A]

    Retrieves a value from the cache _or_ the underlying store (if not found in the cache), where 'only' a transactional format exists.

    Retrieves a value from the cache _or_ the underlying store (if not found in the cache), where 'only' a transactional format exists.

    If no value is found for the current path, this will try to read the most recent entry along the path.

    A

    the type of value stored

    key

    key at which the entry is stored

    tx

    the current transaction

    path

    access path for the read

    format

    the format to use for the value

    returns

    the most recent value found, or None if a value cannot be found for the given path, neither in the cache nor in the persistent store.

    Definition Classes
    DurableCacheMapImplDurable
  13. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  19. final def putCacheNonTxn[A](key: K, value: A, tx: T)(implicit path: T.Acc, format: ConstFormat[A]): Unit

    Stores an entry in the cache for which a non-transactional format exists.

    Stores an entry in the cache for which a non-transactional format exists.

    Note that the caller is responsible for monitoring this call, and if necessary installing a before-commit handler which will call into the abstract method flushCache().

    A

    the type of value stored

    key

    key at which the entry will be stored

    value

    value to be stored (entry)

    tx

    the current transaction

    path

    write path when persisting

    format

    the format to use for the value

    Definition Classes
    DurableCacheMapImplDurable
  20. final def putCacheOnly(key: K, e: Entry[T, K, DurablePersistentMap[T, K]])(implicit tx: T): Unit
    Attributes
    protected
    Definition Classes
    CacheMapImpl
  21. final def putCacheTxn[A](key: K, value: A, tx: T)(implicit path: T.Acc, format: TFormat[T, A]): Unit

    Stores an entry in the cache for which 'only' a transactional format exists.

    Stores an entry in the cache for which 'only' a transactional format exists.

    Note that the caller is responsible for monitoring this call, and if necessary installing a before-commit handler which will call into the abstract method flushCache().

    A

    the type of value stored

    key

    key at which the entry will be stored

    value

    value to be stored (entry)

    tx

    the current transaction

    path

    write path when persisting

    format

    the format to use for the value

    Definition Classes
    DurableCacheMapImplDurable
  22. final def removeCache(key: K, tx: T)(implicit path: T.Acc): Boolean
    Definition Classes
    DurableCacheMapImplCacheMap
  23. final def removeCacheOnly(key: K, tx: T)(implicit path: CacheMapImpl.T.Acc): 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 given key, this method simply returns.

    key

    key at which the entry is stored

    tx

    the current transaction

    Definition Classes
    CacheMapImplCacheMap
  24. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  25. def toString(): String
    Definition Classes
    AnyRef → Any
  26. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  27. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  28. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from CacheMapImpl[T, K, DurablePersistentMap[T, K]]

Inherited from CacheMap.Durable[T, K, DurablePersistentMap[T, K]]

Inherited from CacheMap[T, K, DurablePersistentMap[T, K]]

Inherited from Cache[T]

Inherited from AnyRef

Inherited from Any

Ungrouped