A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://www.playframework.com/documentation/2.5.x/api/scala/play/api/cache/CacheApi.html below:

CacheApi - play.api.cache.CacheApi

Abstract Value Members
  1. abstract def get[T](key: String)(implicit arg0: ClassTag[T]): Option[T]

    Retrieve a value from the cache for the given type

  2. abstract def getOrElse[A](key: String, expiration: Duration = Duration.Inf)(orElse: ⇒ A)(implicit arg0: ClassTag[A]): A

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

  3. abstract def remove(key: String): Unit

    Remove a value from the cache

  4. abstract def set(key: String, value: Any, expiration: Duration = Duration.Inf): Unit

    Set a value into the cache.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4