Showing content from https://www.playframework.com/documentation/2.5.x/api/scala/play/api/cache/CachedBuilder.html below:
CachedBuilder - play.api.cache.CachedBuilder
final def !=(arg0: Any): Boolean
-
Definition Classes
-
AnyRef â Any
final def ##(): Int
-
Definition Classes
-
AnyRef â Any
final def ==(arg0: Any): Boolean
-
Definition Classes
-
AnyRef â Any
def apply(action: EssentialAction): EssentialAction
Compose the cache with an action
final def asInstanceOf[T0]: T0
def build(action: EssentialAction): EssentialAction
Compose the cache with an action
def clone(): AnyRef
-
Attributes
-
protected[java.lang]
-
Definition Classes
-
AnyRef
-
Annotations
-
@throws( ... )
def compose(alternative: PartialFunction[ResponseHeader, Duration]): CachedBuilder
Compose the cache with new caching function
Compose the cache with new caching function
-
alternative
-
a closure getting the reponseheader and returning the duration we should cache for
def default(duration: Int): CachedBuilder
The returned cache will store all responses whatever they may contain
The returned cache will store all responses whatever they may contain
-
duration
-
the number of seconds we should store responses
def default(duration: Duration): CachedBuilder
The returned cache will store all responses whatever they may contain
The returned cache will store all responses whatever they may contain
-
duration
-
how long we should store responses
final def eq(arg0: AnyRef): Boolean
-
Definition Classes
-
AnyRef
def equals(arg0: Any): Boolean
-
Definition Classes
-
AnyRef â Any
def finalize(): Unit
-
Attributes
-
protected[java.lang]
-
Definition Classes
-
AnyRef
-
Annotations
-
@throws( classOf[java.lang.Throwable] )
final def getClass(): Class[_]
-
Definition Classes
-
AnyRef â Any
def hashCode(): Int
-
Definition Classes
-
AnyRef â Any
def includeStatus(status: Int, duration: Duration): CachedBuilder
Whether this cache should cache the specified response if the status code match This method will cache the result for duration seconds
Whether this cache should cache the specified response if the status code match This method will cache the result for duration seconds
-
status
-
the status code to check
-
duration
-
how long should we cache the result for
def includeStatus(status: Int, duration: Int): CachedBuilder
Whether this cache should cache the specified response if the status code match This method will cache the result for duration seconds
Whether this cache should cache the specified response if the status code match This method will cache the result for duration seconds
-
status
-
the status code to check
-
duration
-
the number of seconds to cache the result for
def includeStatus(status: Int): CachedBuilder
Whether this cache should cache the specified response if the status code match This method will cache the result forever
final def isInstanceOf[T0]: Boolean
final def ne(arg0: AnyRef): Boolean
-
Definition Classes
-
AnyRef
final def notify(): Unit
-
Definition Classes
-
AnyRef
final def notifyAll(): Unit
-
Definition Classes
-
AnyRef
final def synchronized[T0](arg0: â T0): T0
-
Definition Classes
-
AnyRef
def toString(): String
-
Definition Classes
-
AnyRef â Any
final def wait(): Unit
-
Definition Classes
-
AnyRef
-
Annotations
-
@throws( ... )
final def wait(arg0: Long, arg1: Int): Unit
-
Definition Classes
-
AnyRef
-
Annotations
-
@throws( ... )
final def wait(arg0: Long): Unit
-
Definition Classes
-
AnyRef
-
Annotations
-
@throws( ... )
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