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.CacheProviderorg.hibernate.cache.CacheExceptionpublic long nextTimestamp()
nextTimestamp in interface org.hibernate.cache.CacheProviderpublic void start(Properties properties) throws org.hibernate.cache.CacheException
start in interface org.hibernate.cache.CacheProviderorg.hibernate.cache.CacheExceptionpublic void stop()
stop in interface org.hibernate.cache.CacheProviderpublic boolean isMinimalPutsEnabledByDefault()
isMinimalPutsEnabledByDefault in interface org.hibernate.cache.CacheProviderCopyright © 2005–2014 Alfresco Software. All rights reserved.