Class CacheInfo

java.lang.Object
org.apache.jena.atlas.lib.cache.CacheInfo

public class CacheInfo extends Object
Cache statistics. Simplified version of Caffein/Guava CacheStats.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    final double
     
    final long
     
    final long
     
    final long
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    CacheInfo(long requests, long hits, long misses, double hitRate)
     
    CacheInfo(com.github.benmanes.caffeine.cache.stats.CacheStats stats)
     
  • Method Summary

    Modifier and Type
    Method
    Description
     

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • requests

      public final long requests
    • hits

      public final long hits
    • misses

      public final long misses
    • hitRate

      public final double hitRate
  • Constructor Details

    • CacheInfo

      public CacheInfo(com.github.benmanes.caffeine.cache.stats.CacheStats stats)
    • CacheInfo

      public CacheInfo(long requests, long hits, long misses, double hitRate)
  • Method Details