com
.
rasterfoundry
.
common
.
cache
CacheClient
Related Doc:
package cache
class
CacheClient
extends
LazyLogging
with
RollbarNotifier
Linear Supertypes
RollbarNotifier
,
LazyLogging
,
AnyRef
,
Any
Ordering
Alphabetic
By Inheritance
Inherited
CacheClient
RollbarNotifier
LazyLogging
AnyRef
Any
Hide All
Show All
Visibility
Public
All
Instance Constructors
new
CacheClient
(
client: ⇒
MemcachedClient
)
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
val
cacheEnabled
:
Boolean
def
caching
[
T
]
(
cacheKey:
String
,
doCache:
Boolean
=
true
)
(
mappingFunction: ⇒
Future
[
Option
[
T
]]
)
:
Future
[
Option
[
T
]]
def
cachingOptionT
[
T
]
(
cacheKey:
String
,
doCache:
Boolean
=
true
)
(
mappingFunction: ⇒
OptionT
[
Future
,
T
]
)
:
OptionT
[
Future
,
T
]
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
def
delete
(
key:
String
)
:
Unit
val
environment
:
String
Definition Classes
RollbarNotifier
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
getOrElseUpdate
[
CachedType
]
(
cacheKey:
String
,
expensiveOperation: ⇒
Future
[
Option
[
CachedType
]]
,
doCache:
Boolean
=
true
)
:
Future
[
Option
[
CachedType
]]
def
getOrElseUpdateMemcached
[
CachedType
]
(
cacheKey:
String
,
expensiveOperation: ⇒
Future
[
Option
[
CachedType
]]
,
doCache:
Boolean
=
true
)
:
Future
[
Option
[
CachedType
]]
Annotations
@SuppressWarnings
()
def
hashCode
()
:
Int
Definition Classes
AnyRef → Any
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
val
keySize
:
Int
val
localCache
:
Cache
[
String
,
Option
[
Any
]]
val
localCacheEnabled
:
Boolean
val
localCacheSize
:
Int
final
def
localGetOrElse
[
CachedType
]
(
cacheKey:
String
,
expensiveOperation: ⇒
Future
[
Option
[
CachedType
]]
,
doCache:
Boolean
=
true
,
depth:
Int
=
0
)
(
fallbackFunction: (
String
, ⇒
Future
[
Option
[
CachedType
]],
Boolean
) ⇒
Future
[
Option
[
CachedType
]]
)
:
Future
[
Option
[
CachedType
]]
Annotations
@SuppressWarnings
()
@tailrec
()
lazy val
logger
:
Logger
Attributes
protected
Definition Classes
LazyLogging
val
maxRetryDepth
:
Int
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
val
retryMaxMillis
:
Int
val
retrySleepMillis
:
Int
val
rollbarApiToken
:
String
Definition Classes
RollbarNotifier
val
rollbarClient
:
Rollbar
Definition Classes
RollbarNotifier
def
sendError
(
s:
String
)
:
Unit
Definition Classes
RollbarNotifier
def
sendError
(
e:
Throwable
)
:
Unit
Definition Classes
RollbarNotifier
def
setValue
[
T
]
(
key:
String
,
value:
T
,
ttlSeconds:
Int
=
0
)
:
Unit
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
RollbarNotifier
Inherited from
LazyLogging
Inherited from
AnyRef
Inherited from
Any
Ungrouped