scalacache
.
guava
GuavaCache
Related Docs:
object GuavaCache
|
package guava
class
GuavaCache
[
V
]
extends
AbstractCache
[
V
]
Linear Supertypes
AbstractCache
[
V
],
LoggingSupport
,
Cache
[
V
],
CacheAlg
[
V
],
AnyRef
,
Any
Ordering
Alphabetic
By Inheritance
Inherited
GuavaCache
AbstractCache
LoggingSupport
Cache
CacheAlg
AnyRef
Any
Hide All
Show All
Visibility
Public
All
Instance Constructors
new
GuavaCache
(
underlying:
com.google.common.cache.Cache
[
String
,
Entry
[
V
]]
)
(
implicit
config:
CacheConfig
,
clock:
Clock
=
Clock.systemUTC()
)
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
final
def
caching
[
F
[
_
]
]
(
keyParts:
Any
*
)
(
ttl:
Option
[
Duration
]
)
(
f: ⇒
V
)
(
implicit
mode:
Mode
[
F
]
,
flags:
Flags
)
:
F
[
V
]
Definition Classes
AbstractCache → CacheAlg
def
cachingF
[
F
[
_
]
]
(
keyParts:
Any
*
)
(
ttl:
Option
[
Duration
]
)
(
f: ⇒
F
[
V
]
)
(
implicit
mode:
Mode
[
F
]
,
flags:
Flags
)
:
F
[
V
]
Definition Classes
AbstractCache → CacheAlg
def
cachingForMemoize
[
F
[
_
]
]
(
baseKey:
String
)
(
ttl:
Option
[
Duration
]
)
(
f: ⇒
V
)
(
implicit
mode:
Mode
[
F
]
,
flags:
Flags
)
:
F
[
V
]
Definition Classes
AbstractCache → Cache
def
cachingForMemoizeF
[
F
[
_
]
]
(
baseKey:
String
)
(
ttl:
Option
[
Duration
]
)
(
f: ⇒
F
[
V
]
)
(
implicit
mode:
Mode
[
F
]
,
flags:
Flags
)
:
F
[
V
]
Definition Classes
AbstractCache → Cache
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
def
close
[
F
[
_
]
]
()
(
implicit
mode:
Mode
[
F
]
)
:
F
[
Any
]
Definition Classes
GuavaCache
→ CacheAlg
implicit
val
config
:
CacheConfig
Definition Classes
GuavaCache
→ Cache
def
doGet
[
F
[
_
]
]
(
key:
String
)
(
implicit
mode:
Mode
[
F
]
)
:
F
[
Option
[
V
]]
Definition Classes
GuavaCache
→ AbstractCache
def
doPut
[
F
[
_
]
]
(
key:
String
,
value:
V
,
ttl:
Option
[
Duration
]
)
(
implicit
mode:
Mode
[
F
]
)
:
F
[
Any
]
Definition Classes
GuavaCache
→ AbstractCache
def
doRemove
[
F
[
_
]
]
(
key:
String
)
(
implicit
mode:
Mode
[
F
]
)
:
F
[
Any
]
Definition Classes
GuavaCache
→ AbstractCache
def
doRemoveAll
[
F
[
_
]
]
()
(
implicit
mode:
Mode
[
F
]
)
:
F
[
Any
]
Definition Classes
GuavaCache
→ AbstractCache
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
get
[
F
[
_
]
]
(
keyParts:
Any
*
)
(
implicit
mode:
Mode
[
F
]
,
flags:
Flags
)
:
F
[
Option
[
V
]]
Definition Classes
AbstractCache → CacheAlg
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
def
hashCode
()
:
Int
Definition Classes
AnyRef → Any
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
def
logCacheHitOrMiss
[
A
]
(
key:
String
,
result:
Option
[
A
]
)
:
Unit
Attributes
protected
Definition Classes
LoggingSupport
def
logCachePut
(
key:
String
,
ttl:
Option
[
Duration
]
)
:
Unit
Attributes
protected
Definition Classes
LoggingSupport
final
val
logger
:
Logger
Attributes
protected
Definition Classes
GuavaCache
→ LoggingSupport
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
put
[
F
[
_
]
]
(
keyParts:
Any
*
)
(
value:
V
,
ttl:
Option
[
Duration
]
)
(
implicit
mode:
Mode
[
F
]
,
flags:
Flags
)
:
F
[
Any
]
Definition Classes
AbstractCache → CacheAlg
final
def
remove
[
F
[
_
]
]
(
keyParts:
Any
*
)
(
implicit
mode:
Mode
[
F
]
)
:
F
[
Any
]
Definition Classes
AbstractCache → CacheAlg
final
def
removeAll
[
F
[
_
]
]
()
(
implicit
mode:
Mode
[
F
]
)
:
F
[
Any
]
Definition Classes
AbstractCache → CacheAlg
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
(
...
)
Inherited from
AbstractCache
[
V
]
Inherited from
LoggingSupport
Inherited from
Cache
[
V
]
Inherited from
CacheAlg
[
V
]
Inherited from
AnyRef
Inherited from
Any
Ungrouped