public class EhCacheHibernateProvider extends Object implements net.sf.hibernate.cache.CacheProvider
This is based upon Hibernate's own EhCacheProvider
implementation, which itself
goes direct to the EhCache API. The trivial timestamp and locking method implementations come from that.
Constructor and Description |
---|
EhCacheHibernateProvider(com.atlassian.cache.CacheManager cacheManager) |
Modifier and Type | Method and Description |
---|---|
net.sf.hibernate.cache.Cache |
buildCache(String name,
Properties properties) |
long |
nextTimestamp()
Implementation copied from
EhCacheProvider.nextTimestamp() |
void |
start(Properties properties) |
void |
stop() |
public EhCacheHibernateProvider(com.atlassian.cache.CacheManager cacheManager)
public net.sf.hibernate.cache.Cache buildCache(String name, Properties properties)
buildCache
in interface net.sf.hibernate.cache.CacheProvider
public long nextTimestamp()
EhCacheProvider.nextTimestamp()
nextTimestamp
in interface net.sf.hibernate.cache.CacheProvider
public void start(Properties properties)
start
in interface net.sf.hibernate.cache.CacheProvider
public void stop()
stop
in interface net.sf.hibernate.cache.CacheProvider
Copyright © 2003–2016 Atlassian. All rights reserved.