final case class CacheStats(stats: com.google.common.cache.CacheStats) extends Product with Serializable
- Source
- Cache.scala
- Alphabetic
- By Inheritance
- CacheStats
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new CacheStats(stats: com.google.common.cache.CacheStats)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def averageLoadPenalty: Double
Returns the average time spent loading new values.
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def evictionCount: Long
Returns the number of times an entry has been evicted.
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hitCount: Long
Returns the number of times Cache lookup methods have returned a cached value.
- def hitRate: Double
Returns the ratio of cache requests which were hits.
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def loadCount: Long
Returns the total number of times that Cache lookup methods attempted to load new values.
- def loadExceptionCount: Long
Returns the number of times Cache lookup methods threw an exception while loading a new value.
- def loadExceptionRate: Double
Returns the ratio of cache loading attempts which threw exceptions.
- def loadSuccessCount: Long
Returns the number of times Cache lookup methods have successfully loaded a new value.
- def minus(other: CacheStats): CacheStats
Returns a new CacheStats representing the difference between this CacheStats and other.
- def missCount: Long
Returns the number of times Cache lookup methods have returned an uncached (newly loaded) value, or null.
- def missRate: Double
Returns the ratio of cache requests which were misses.
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def plus(other: CacheStats): CacheStats
Returns a new CacheStats representing the sum of this CacheStats and other.
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def requestCount: Long
Returns the number of times Cache lookup methods have returned either a cached or uncached value.
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- CacheStats → AnyRef → Any
- def totalLoadTime: Long
Returns the total number of nanoseconds the cache has spent loading new values.
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])