ReadOnlyNormalizedCache
Properties
Some cache implementations (e.g. com.apollographql.cache.normalized.internal.OptimisticNormalizedCache and com.apollographql.cache.normalized.memory.MemoryCache) support chaining caches. For those, this returns the next cache in the chain or null if there is none. Implementations that don't support chaining return null.
Functions
Returns a Flow emitting all records stored in this cache.
Calls through to loadRecord. Implementations should override this method if the underlying storage technology can offer an optimized manner to read multiple records. There is no guarantee on the order of returned Record
Returns the size in bytes of a Record. This is an optional operation that can be implemented by caches for debug purposes, otherwise it defaults to -1, meaning unknown size.