public class HibernateJvmVCacheProvider extends Object implements net.sf.hibernate.cache.CacheProvider
VCacheFactory, using
JvmCache implementations.
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 |
|---|
HibernateJvmVCacheProvider(com.atlassian.vcache.VCacheFactory cacheFactory) |
| 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 HibernateJvmVCacheProvider(com.atlassian.vcache.VCacheFactory cacheFactory)
public net.sf.hibernate.cache.Cache buildCache(String name, Properties properties)
buildCache in interface net.sf.hibernate.cache.CacheProviderpublic long nextTimestamp()
EhCacheProvider.nextTimestamp()nextTimestamp in interface net.sf.hibernate.cache.CacheProviderpublic void start(Properties properties)
start in interface net.sf.hibernate.cache.CacheProviderpublic void stop()
stop in interface net.sf.hibernate.cache.CacheProviderCopyright © 2003–2017 Atlassian. All rights reserved.