com.atlassian.confluence.it.admin
Class CacheStatisticsChangeTracker

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

public final class CacheStatisticsChangeTracker
extends java.lang.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 Summary
CacheStatisticsChangeTracker(CacheStatistics initialStats)
           
 
Method Summary
 void assertChanges(CacheStatistics newStats, int expectedMoreHits, int expectedMoreMisses)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CacheStatisticsChangeTracker

public CacheStatisticsChangeTracker(CacheStatistics initialStats)
Method Detail

assertChanges

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


Copyright © 2003-2014 Atlassian. All Rights Reserved.