CacheInfo

class CacheInfo : ExecutionContext.Element

Types

Link copied to clipboard
class Builder
Link copied to clipboard
object Key : ExecutionContext.Key<CacheInfo>

Properties

Link copied to clipboard
Link copied to clipboard
val cacheMissException: CacheMissException?

The exception that occurred while reading the cache.

Link copied to clipboard
Link copied to clipboard

True if all the fields are found in the cache, false for full or partial cache misses.

Link copied to clipboard

True if the response is from the cache, false if it's from the network.

Link copied to clipboard

True if at least one field in the response is stale. Always false if isFromCache is false.

Link copied to clipboard
open override val key: ExecutionContext.Key<*>
Link copied to clipboard
Link copied to clipboard
val networkException: ApolloException?

The exception that occurred while reading the network.

Link copied to clipboard

Functions

Link copied to clipboard
open override fun <R> fold(initial: R, operation: (R, ExecutionContext.Element) -> R): R
Link copied to clipboard
open operator override fun <E : ExecutionContext.Element> get(key: ExecutionContext.Key<E>): E?
Link copied to clipboard
open override fun minusKey(key: ExecutionContext.Key<*>): ExecutionContext
Link copied to clipboard
Link copied to clipboard
open operator fun plus(context: ExecutionContext): ExecutionContext