public class DefaultCacheProvider extends Object implements org.hibernate.cache.CacheProvider
CacheProvider
that allows Hibernate to create DefaultSimpleCache
based caches.Constructor and Description |
---|
DefaultCacheProvider() |
Modifier and Type | Method and Description |
---|---|
org.hibernate.cache.Cache |
buildCache(String regionName,
Properties properties) |
boolean |
isMinimalPutsEnabledByDefault() |
long |
nextTimestamp() |
void |
start(Properties properties) |
void |
stop() |
public org.hibernate.cache.Cache buildCache(String regionName, Properties properties) throws org.hibernate.cache.CacheException
buildCache
in interface org.hibernate.cache.CacheProvider
org.hibernate.cache.CacheException
public long nextTimestamp()
nextTimestamp
in interface org.hibernate.cache.CacheProvider
public void start(Properties properties) throws org.hibernate.cache.CacheException
start
in interface org.hibernate.cache.CacheProvider
org.hibernate.cache.CacheException
public void stop()
stop
in interface org.hibernate.cache.CacheProvider
public boolean isMinimalPutsEnabledByDefault()
isMinimalPutsEnabledByDefault
in interface org.hibernate.cache.CacheProvider
Copyright © 2005–2017 Alfresco Software. All rights reserved.