CacheInfo

class CacheInfo : ExecutionContext.Element

Parameters

isCacheHit

true if this was a cache hit

cacheMissException

the exception while reading the cache. Note that it's possible to have isCacheHit == false &&cacheMissException == null if no cache read was attempted

Constructors

Link copied to clipboard
constructor(millisStart: Long, millisEnd: Long, hit: Boolean, missedKey: String?, missedField: String?)

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?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val key: ExecutionContext.Key<*>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val networkException: ApolloException?
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