ktor
2.0.3
3.0.0
3.0.0-rc-1
3.0.0-beta-2
3.0.0-beta-1
2.3.12
2.2.4
2.0.3
1.6.8
ktor-server-sessions
/
io.ktor.server.sessions
/
Cache
Cache
interface
Cache
<
in
K
:
Any
,
V
:
Any
>
Content copied to clipboard
Functions
Functions
get
Or
Compute
Link copied to clipboard
abstract
suspend
fun
getOrCompute
(
key
:
K
)
:
V
Content copied to clipboard
invalidate
Link copied to clipboard
abstract
fun
invalidate
(
key
:
K
)
:
V
?
Content copied to clipboard
abstract
fun
invalidate
(
key
:
K
,
value
:
V
)
:
Boolean
Content copied to clipboard
invalidate
All
Link copied to clipboard
abstract
fun
invalidateAll
(
)
Content copied to clipboard
peek
Link copied to clipboard
abstract
fun
peek
(
key
:
K
)
:
V
?
Content copied to clipboard