org.norther.tammi.root.hibernate.cache
Class FactoryCacheProvider
java.lang.Object
org.norther.tammi.root.hibernate.cache.FactoryCacheProvider
- All Implemented Interfaces:
- org.hibernate.cache.CacheProvider
public class FactoryCacheProvider
- extends Object
- implements org.hibernate.cache.CacheProvider
A persister factory cache provider.
- Author:
- Ilkka Priha
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CACHE_PROPERTY_PREFIX
public static final String CACHE_PROPERTY_PREFIX
- The cache property prefix.
- See Also:
- Constant Field Values
FactoryCacheProvider
public FactoryCacheProvider()
- Constructs a new provider.
buildCache
public org.hibernate.cache.Cache buildCache(String region,
Properties props)
throws org.hibernate.cache.CacheException
- Specified by:
buildCache in interface org.hibernate.cache.CacheProvider
- Throws:
org.hibernate.cache.CacheException
nextTimestamp
public long nextTimestamp()
- Specified by:
nextTimestamp in interface org.hibernate.cache.CacheProvider
start
public void start(Properties properties)
throws org.hibernate.cache.CacheException
- Specified by:
start in interface org.hibernate.cache.CacheProvider
- Throws:
org.hibernate.cache.CacheException
stop
public void stop()
- Specified by:
stop in interface org.hibernate.cache.CacheProvider
isMinimalPutsEnabledByDefault
public boolean isMinimalPutsEnabledByDefault()
- Specified by:
isMinimalPutsEnabledByDefault in interface org.hibernate.cache.CacheProvider
Copyright © 2004 The Norther Organization. All rights reserved.