Class/Object

fm.common

Cache

Related Docs: object Cache | package common

Permalink

sealed class Cache[K, V] extends AnyRef

Wrapper around com.google.common.cache.Cache

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

Instance Constructors

  1. new Cache(cache: com.google.common.cache.Cache[K, V])

    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. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def asMap(): ConcurrentMap[K, V]

    Permalink

    Returns a view of the entries stored in this cache as a thread-safe map.

  6. def cleanUp(): Unit

    Permalink

    Performs any pending maintenance operations needed by the cache.

  7. def clone(): AnyRef

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  10. def get(key: K, valueLoader: ⇒ V): V

    Permalink

    Returns the value associated with key in this cache, obtaining that value from valueLoader if necessary.

  11. def getAllPresent(keys: Iterable[K]): Map[K, V]

    Permalink

    Returns a map of the values associated with keys in this cache.

  12. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  13. def getIfPresent(key: K): Option[V]

    Permalink

    Returns the value associated with key in this cache, or None if there is no cached value for key.

  14. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  15. def invalidate(key: K): Unit

    Permalink

    Discards any cached value for key key.

  16. def invalidateAll(keys: Iterable[K]): Unit

    Permalink

    Discards any cached values for keys keys.

  17. def invalidateAll(): Unit

    Permalink

    Discards all entries in the cache.

  18. final def isInstanceOf[T0]: Boolean

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  22. def put(key: K, value: V): Unit

    Permalink

    Associates value with key in this cache.

  23. def putAll(entries: Traversable[(K, V)]): Unit

    Permalink

    Copies all of the mappings from the specified map to the cache.

  24. def size(): Long

    Permalink

    Returns the approximate number of entries in this cache.

  25. def stats(): CacheStats

    Permalink

    Returns a current snapshot of this cache's cumulative statistics.

  26. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. 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