toggle menu
KacheController
common
switch theme
search in API
kachecontroller-cache-memory
/
com.funyinkash.kachecontroller.cache
/
InMemoryCacheClient
In
Memory
Cache
Client
class
InMemoryCacheClient
Thread-safe in-memory CacheClient. No external dependencies.
Members
Constructors
In
Memory
Cache
Client
Link copied to clipboard
constructor
(
)
Functions
del
Link copied to clipboard
open
suspend
fun
del
(
vararg
keys
:
String
)
:
Long
exists
Link copied to clipboard
open
suspend
fun
exists
(
key
:
String
)
:
Boolean
expire
Link copied to clipboard
open
suspend
fun
expire
(
key
:
String
,
ttl
:
<Error class: unknown class>
)
hdel
Link copied to clipboard
open
suspend
fun
hdel
(
key
:
String
,
vararg
fields
:
String
)
:
Long
hexpire
Link copied to clipboard
open
suspend
fun
hexpire
(
key
:
String
,
ttl
:
<Error class: unknown class>
,
vararg
fields
:
String
)
hget
Link copied to clipboard
open
suspend
fun
hget
(
key
:
String
,
field
:
String
)
:
String
?
hget
All
Link copied to clipboard
open
suspend
fun
hgetAll
(
key
:
String
)
:
Map
<
String
,
String
>
hset
Link copied to clipboard
open
suspend
fun
hset
(
key
:
String
,
entries
:
Map
<
String
,
String
>
)
:
Long
open
suspend
fun
hset
(
key
:
String
,
field
:
String
,
value
:
String
)
:
Boolean