play.cache

AsyncCache

object AsyncCache extends Cache20

Linear Supertypes
Cache20, CacheAPI20, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. AsyncCache
  2. Cache20
  3. CacheAPI20
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

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

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

    Definition Classes
    AnyRef → Any
  10. def expire(key: String, expiration: Int): Unit

    refreshes expiration time on a given key, useful, e.

    refreshes expiration time on a given key, useful, e.g., when we want to refresh session duration

    Definition Classes
    Cache20CacheAPI20
  11. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. def get[T](key: String)(implicit classTag: ClassTag[T]): Future[Option[T]]

    Retrieve a value from the cache for the given type

    Retrieve a value from the cache for the given type

    Definition Classes
    Cache20CacheAPI20
  13. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  14. def getOrElse[T](key: String, expiration: Option[Int] = None)(orElse: ⇒ Future[T])(implicit classTag: ClassTag[T]): Future[T]

    Retrieve a value from the cache, or set it from a default function.

    Retrieve a value from the cache, or set it from a default function.

    Definition Classes
    Cache20CacheAPI20
  15. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  16. var internal: CacheAPI20

    Attributes
    protected
    Definition Classes
    Cache20
  17. def invalidate(): Future[Try[String]]

    invalidate cache

    invalidate cache

    Definition Classes
    Cache20CacheAPI20
  18. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  19. def matching(pattern: String): Future[Set[String]]

    finds all keys matching the pattern.

    finds all keys matching the pattern. complexity O(n)

    Definition Classes
    Cache20CacheAPI20
  20. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  21. final def notify(): Unit

    Definition Classes
    AnyRef
  22. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  23. def reload(): CacheAPI20

    looks up ExtendedCachePlugin and reassigns it into internal variable

    looks up ExtendedCachePlugin and reassigns it into internal variable

    Definition Classes
    Cache20
  24. def remove(keys: String*): Future[Try[String]]

    remove key from cache

    remove key from cache

    Definition Classes
    Cache20CacheAPI20
  25. def removeMatching(pattern: String): Future[Unit]

    removes all keys matching the pattern.

    removes all keys matching the pattern. complexity O(n)

    Definition Classes
    Cache20CacheAPI20
  26. def set[T](key: String, value: T, expiration: Option[Int] = None)(implicit classTag: ClassTag[T]): Future[Try[String]]

    Set a value into the cache.

    Set a value into the cache.

    Definition Classes
    Cache20CacheAPI20
  27. def setIfNotExists[T](key: String, expiration: Option[Int] = None)(orElse: ⇒ Future[T])(implicit classTag: ClassTag[T]): Future[Try[String]]

    Retrieve a value from the cache, or set it from a default function.

    Retrieve a value from the cache, or set it from a default function.

    Definition Classes
    Cache20CacheAPI20
  28. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  29. def toString(): String

    Definition Classes
    AnyRef → Any
  30. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long, arg1: Int): Unit

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Cache20

Inherited from CacheAPI20

Inherited from AnyRef

Inherited from Any

Ungrouped