← ZIO Cache docs

CacheStats

zio.cache.CacheStats
final case class CacheStats(hits: Long, misses: Long, size: Int)

CacheStats represents a snapshot of statistics for the cache as of a point in time.

Attributes

Source
CacheStats.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

An iterator over the names of all the elements of this product.

An iterator over the names of all the elements of this product.

Attributes

Inherited from:
Product
Source
Product.scala

An iterator over all the elements of this product.

An iterator over all the elements of this product.

Attributes

Returns

in the default implementation, an Iterator[Any]

Inherited from:
Product
Source
Product.scala