Class CacheStatisticsChangeTracker

java.lang.Object
com.atlassian.confluence.it.admin.CacheStatisticsChangeTracker

public final class CacheStatisticsChangeTracker extends Object
Helper to check the changes in cache statistics. This is helpful because hits and misses aren't reset when the cache is flushed. (that may or may not be a bug).
  • Constructor Details

    • CacheStatisticsChangeTracker

      public CacheStatisticsChangeTracker(CacheStatistics initialStats)
  • Method Details

    • assertChanges

      public void assertChanges(CacheStatistics newStats, int expectedMoreHits, int expectedMoreMisses)