com.atlassian.confluence.cache.ehcache.hibernate
Class EhCacheHibernateCacheFactory

java.lang.Object
  extended by com.atlassian.confluence.cache.ehcache.hibernate.EhCacheHibernateCacheFactory
All Implemented Interfaces:
HibernateCacheFactory

public class EhCacheHibernateCacheFactory
extends java.lang.Object
implements HibernateCacheFactory


Constructor Summary
EhCacheHibernateCacheFactory()
           
 
Method Summary
 net.sf.hibernate.cache.CacheProvider getCacheProvider()
          Gets a new instance of the configured hibernate cache provider
 net.sf.hibernate.cache.CacheConcurrencyStrategy getReadWriteCacheConcurrencyStrategy()
          Gets a new instance of the configured hibernate Read/Write cache strategy
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EhCacheHibernateCacheFactory

public EhCacheHibernateCacheFactory()
Method Detail

getCacheProvider

public net.sf.hibernate.cache.CacheProvider getCacheProvider()
Description copied from interface: HibernateCacheFactory
Gets a new instance of the configured hibernate cache provider

Specified by:
getCacheProvider in interface HibernateCacheFactory
Returns:
a hibernate cache provider instance

getReadWriteCacheConcurrencyStrategy

public net.sf.hibernate.cache.CacheConcurrencyStrategy getReadWriteCacheConcurrencyStrategy()
Description copied from interface: HibernateCacheFactory
Gets a new instance of the configured hibernate Read/Write cache strategy

Specified by:
getReadWriteCacheConcurrencyStrategy in interface HibernateCacheFactory
Returns:
a hibernate read/write cache strategy


Copyright © 2003-2010 Atlassian. All Rights Reserved.