toggle menu
apollo-kotlin-normalized-cache-incubating
0.0.5-SNAPSHOT
common
switch theme
search in API
normalized-cache-incubating
/
com.apollographql.cache.normalized.api
/
GlobalMaxAgeProvider
Global
Max
Age
Provider
class
GlobalMaxAgeProvider
(
maxAge
:
Duration
)
:
MaxAgeProvider
A provider that returns a single max age for all types.
Members
Constructors
Global
Max
Age
Provider
Link copied to clipboard
constructor
(
maxAge
:
Duration
)
Functions
get
Max
Age
Link copied to clipboard
open
override
fun
getMaxAge
(
maxAgeContext
:
MaxAgeContext
)
:
Duration
Returns the max age for the given field.