Search in sources :

Example 1 with EhcacheStatsImpl

use of org.hibernate.cache.ehcache.management.impl.EhcacheStatsImpl in project hibernate-orm by hibernate.

the class EhcacheStatsImplTest method createCache.

@BeforeClass
public static void createCache() throws Exception {
    CacheManager manager = CacheManager.getInstance();
    stats = new EhcacheStatsImpl(manager);
}
Also used : EhcacheStatsImpl(org.hibernate.cache.ehcache.management.impl.EhcacheStatsImpl) CacheManager(net.sf.ehcache.CacheManager) BeforeClass(org.junit.BeforeClass)

Aggregations

CacheManager (net.sf.ehcache.CacheManager)1 EhcacheStatsImpl (org.hibernate.cache.ehcache.management.impl.EhcacheStatsImpl)1 BeforeClass (org.junit.BeforeClass)1