apollo-kotlin-normalized-cache
Toggle table of contents
1.0.0-beta.2-SNAPSHOT
common
Target filter
common
Switch theme
Search in API
Skip to content
apollo-kotlin-normalized-cache
normalized-cache
/
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.