Object/Class

fm.common

LoadingCache

Related Docs: class LoadingCache | package common

Permalink

object LoadingCache

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. LoadingCache
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. abstract class CacheLoader[K, V] extends AnyRef

    Permalink

    Mirrors com.google.common.cache.CacheLoader

  2. final class CacheLoaderBuilder extends AnyRef

    Permalink
  3. final class InvalidCacheLoadException extends RuntimeException

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. object CacheLoader

    Permalink
  5. def apply[K <: AnyRef, V <: AnyRef](loader: CacheLoader[K, V]): LoadingCache[K, V]

    Permalink
  6. def apply[K <: AnyRef, V <: AnyRef](loader: (K, Option[V]) ⇒ V): LoadingCache[K, V]

    Permalink
  7. def apply[K <: AnyRef, V <: AnyRef](loader: (K) ⇒ V): LoadingCache[K, V]

    Permalink
  8. def apply[K <: AnyRef, V <: AnyRef](initialCapacity: Int = 1, maxSize: Long = 1L, concurrencyLevel: Int = 1, expireAfterAccess: Duration = Duration.Inf, expireAfterWrite: Duration = Duration.Inf, refreshAfterWrite: Duration = Duration.Inf, recordStats: Boolean = false, weakKeys: Boolean = false, weakValues: Boolean = false, softValues: Boolean = false, removalListener: (RemovalNotification[K, V]) ⇒ Unit = null): CacheLoaderBuilder

    Permalink

    A simplified wrapper around com.google.common.cache.CacheBuilder

    A simplified wrapper around com.google.common.cache.CacheBuilder

    initialCapacity

    Sets the minimum total size for the internal hash tables.

    maxSize

    Specifies the maximum number of entries the cache may contain.

    concurrencyLevel

    Guides the allowed concurrency among update operations.

    expireAfterAccess

    Specifies that each entry should be automatically removed from the cache once a fixed duration has elapsed after the entry's creation, the most recent replacement of its value, or its last access.

    expireAfterWrite

    Specifies that each entry should be automatically removed from the cache once a fixed duration has elapsed after the entry's creation, or the most recent replacement of its value.

    refreshAfterWrite

    Specifies that active entries are eligible for automatic refresh once a fixed duration has elapsed after the entry's creation, or the most recent replacement of its value.

    recordStats

    Enable the accumulation of CacheStats during the operation of the cache.

    weakKeys

    Specifies that each key (not value) stored in the cache should be wrapped in a WeakReference (by default, strong references are used).

    weakValues

    Specifies that each value (not key) stored in the cache should be wrapped in a WeakReference (by default, strong references are used).

    softValues

    Specifies that each value (not key) stored in the cache should be wrapped in a SoftReference (by default, strong references are used).

    removalListener

    Specifies a listener instance that caches should notify each time an entry is removed for any reason.

  9. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  10. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @throws( ... )
  11. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  13. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  14. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  15. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  16. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  17. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  18. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  19. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  20. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  21. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  22. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from AnyRef

Inherited from Any

Ungrouped