toggle menu
apollo-kotlin-normalized-cache-incubating
0.0.4-SNAPSHOT
common
switch theme
search in API
normalized-cache-incubating
/
com.apollographql.cache.normalized.api.internal.store
/
CacheBuilder
Cache
Builder
class
CacheBuilder
<
Key
:
Any
,
Output
:
Any
>
Members
Constructors
Cache
Builder
Link copied to clipboard
constructor
(
)
Types
Companion
Link copied to clipboard
object
Companion
Functions
build
Link copied to clipboard
fun
build
(
)
:
Cache
<
Key
,
Output
>
concurrency
Level
Link copied to clipboard
fun
concurrencyLevel
(
producer
:
(
)
->
Int
)
:
CacheBuilder
<
Key
,
Output
>
expire
After
Access
Link copied to clipboard
fun
expireAfterAccess
(
duration
:
Duration
)
:
CacheBuilder
<
Key
,
Output
>
expire
After
Write
Link copied to clipboard
fun
expireAfterWrite
(
duration
:
Duration
)
:
CacheBuilder
<
Key
,
Output
>
maximum
Size
Link copied to clipboard
fun
maximumSize
(
maximumSize
:
Long
)
:
CacheBuilder
<
Key
,
Output
>
ticker
Link copied to clipboard
fun
ticker
(
ticker
:
Ticker
)
:
CacheBuilder
<
Key
,
Output
>
weigher
Link copied to clipboard
fun
weigher
(
maximumWeight
:
Long
,
weigher
:
Weigher
<
Key
,
Output
>
)
:
CacheBuilder
<
Key
,
Output
>