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
- abstract def get[T](key: String)(implicit arg0: ClassTag[T]): Option[T]
Retrieve a value from the cache for the given type
- 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.
- abstract def remove(key: String): Unit
Remove a value from the cache
- 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