io
.
prismic
BuiltInCache
case class
BuiltInCache
(
maxDocuments:
Int
=
100
)
extends
Cache
with
Product
with
Serializable
Default HTTP cache implementation, relying on apache in-memory LRUMap (recommended)
Linear Supertypes
Serializable
,
Serializable
,
Product
,
Equals
,
Cache
,
AnyRef
,
Any
Ordering
Alphabetic
By inheritance
Inherited
BuiltInCache
Serializable
Serializable
Product
Equals
Cache
AnyRef
Any
Hide All
Show all
Learn more about member selection
Visibility
Public
All
Instance Constructors
new
BuiltInCache
(
maxDocuments:
Int
=
100
)
Value Members
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
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
finalize
()
:
Unit
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
classOf[java.lang.Throwable]
)
def
get
(
key:
String
)
:
Option
[
JsValue
]
Definition Classes
BuiltInCache
→
Cache
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
def
getOrSet
(
key:
String
,
ttl:
Long
)
(
f: ⇒
Future
[
JsValue
]
)
:
Future
[
JsValue
]
Definition Classes
BuiltInCache
→
Cache
def
isExpired
(
key:
String
)
:
Boolean
Definition Classes
BuiltInCache
→
Cache
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
def
isPending
(
key:
String
)
:
Boolean
Definition Classes
BuiltInCache
→
Cache
val
maxDocuments
:
Int
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
def
set
(
key:
String
,
data: (
Long
,
JsValue
)
)
:
Unit
Definition Classes
BuiltInCache
→
Cache
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
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
(
...
)
Inherited from
Serializable
Inherited from
Serializable
Inherited from
Product
Inherited from
Equals
Inherited from
Cache
Inherited from
AnyRef
Inherited from
Any
Ungrouped
Default HTTP cache implementation, relying on apache in-memory LRUMap (recommended)