Class BambooCacheStats

java.lang.Object
com.atlassian.bamboo.plan.cache.BambooCacheStats

@Internal public class BambooCacheStats extends Object
A wrapper around CacheStats to provide other useful stats around the caches
Since:
v4.0
  • Constructor Details

    • BambooCacheStats

      public BambooCacheStats(com.google.common.cache.Cache<?,?> cache)
    • BambooCacheStats

      public BambooCacheStats(com.google.common.cache.Cache<?,?> cache, OptimisticLockingVersionMissesCounter optimisticLockingVersionMissesCounter)
  • Method Details

    • getStats

      public com.google.common.cache.CacheStats getStats()
    • getCacheSize

      public long getCacheSize()
    • getOptimisticLockingVersionMissesAndReset

      public long getOptimisticLockingVersionMissesAndReset()
    • toString

      public String toString()
      Overrides:
      toString in class Object