scalatra-cache-javax
scalatra-cache-javax
API
org.scalatra.cache
guava
Entry
GuavaCache
Cache
CacheSupport
DefaultHeaderStrategy
DefaultKeyStrategy
HeaderStrategy
KeyStrategy
scalatra-cache-javax
/
org.scalatra.cache
/
CacheSupport
CacheSupport
org.scalatra.cache.CacheSupport
trait
CacheSupport
Attributes
Graph
Reset zoom
Hide graph
Show graph
Supertypes
class
Object
trait
Matchable
class
Any
Self type
ScalatraBase
Members list
Clear all
Value members
Concrete methods
def
cache
[
A
](
key
:
String
,
ttl
:
Option
[
Duration
])(
value
:
=>
A
):
A
def
cached
[
A
](
ttl
:
Option
[
Duration
])(
result
:
=>
A
)(
implicit
keyStrategy
:
KeyStrategy
,
headerStrategy
:
HeaderStrategy
,
request
:
HttpServletRequest
,
response
:
HttpServletResponse
):
A
Implicits
Implicits
implicit
val
cacheBackend
:
Cache
implicit
val
headerStrategy
:
HeaderStrategy
implicit
val
keyStrategy
:
KeyStrategy
In this article
Attributes
Members list
Value members
Concrete methods
Implicits
Implicits