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/Cached$.html below:

Cached - play.api.cache.Cached

  • def apply(key: (RequestHeader) ⇒ String, duration: Int): UnboundCachedBuilder

    Cache an action.

    Cache an action.

    key

    Cache key

    duration

    Cache duration (in seconds)

    Annotations
    @deprecated
    Deprecated

    (Since version 2.5.0) Inject Cached into your component

  • def apply(key: String): UnboundCachedBuilder

    Cache an action.

    Cache an action.

    key

    Cache key

    Annotations
    @deprecated
    Deprecated

    (Since version 2.5.0) Inject Cached into your component

  • def apply(key: (RequestHeader) ⇒ String): UnboundCachedBuilder

    Cache an action.

    Cache an action.

    key

    Compute a key from the request header

    Annotations
    @deprecated
    Deprecated

    (Since version 2.5.0) Inject Cached into your component

  • def apply(key: (RequestHeader) ⇒ String, caching: PartialFunction[ResponseHeader, Duration]): UnboundCachedBuilder

    Cache an action.

    Cache an action.

    key

    Compute a key from the request header

    caching

    Compute a cache duration from the respone header

    Annotations
    @deprecated
    Deprecated

    (Since version 2.5.0) Inject Cached into your component

  • def empty(key: (RequestHeader) ⇒ String): UnboundCachedBuilder

    A cached instance caching nothing Useful for composition

    A cached instance caching nothing Useful for composition

    Annotations
    @deprecated
    Deprecated

    (Since version 2.5.0) Inject Cached into your component

  • def everything(key: (RequestHeader) ⇒ String, duration: Int): UnboundCachedBuilder

    Caches everything for the specified seconds

    Caches everything for the specified seconds

    Annotations
    @deprecated
    Deprecated

    (Since version 2.5.0) Inject Cached into your component

  • def everything(key: (RequestHeader) ⇒ String): UnboundCachedBuilder

    Caches everything, forever

    Caches everything, forever

    Annotations
    @deprecated
    Deprecated

    (Since version 2.5.0) Inject Cached into your component

  • def status(key: (RequestHeader) ⇒ String, status: Int): UnboundCachedBuilder

    Caches the specified status forever

    Caches the specified status forever

    Annotations
    @deprecated
    Deprecated

    (Since version 2.5.0) Inject Cached into your component

  • def status(key: (RequestHeader) ⇒ String, status: Int, duration: Int): UnboundCachedBuilder

    Caches the specified status, for the specified number of seconds

    Caches the specified status, for the specified number of seconds

    Annotations
    @deprecated
    Deprecated

    (Since version 2.5.0) Inject Cached into your component


  • 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