Package lumis.portal.dao.hibernate
Class PortalCacheProvider
- java.lang.Object
-
- lumis.portal.dao.hibernate.PortalCacheProvider
-
- All Implemented Interfaces:
org.hibernate.cache.CacheProvider
public class PortalCacheProvider extends java.lang.Object implements org.hibernate.cache.CacheProvider
A PortalCache provider for hibernate.- Since:
- 4.0.11
- Version:
- $Revision: 20509 $ $Date: 2017-09-11 16:18:14 -0300 (Mon, 11 Sep 2017) $
-
-
Constructor Summary
Constructors Constructor Description PortalCacheProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.hibernate.cache.Cache
buildCache(java.lang.String regionName, java.util.Properties properties)
boolean
isMinimalPutsEnabledByDefault()
long
nextTimestamp()
void
start(java.util.Properties properties)
void
stop()
-
-
-
Method Detail
-
buildCache
public org.hibernate.cache.Cache buildCache(java.lang.String regionName, java.util.Properties properties) throws org.hibernate.cache.CacheException
- Specified by:
buildCache
in interfaceorg.hibernate.cache.CacheProvider
- Throws:
org.hibernate.cache.CacheException
-
nextTimestamp
public long nextTimestamp()
- Specified by:
nextTimestamp
in interfaceorg.hibernate.cache.CacheProvider
-
start
public void start(java.util.Properties properties) throws org.hibernate.cache.CacheException
- Specified by:
start
in interfaceorg.hibernate.cache.CacheProvider
- Throws:
org.hibernate.cache.CacheException
-
stop
public void stop()
- Specified by:
stop
in interfaceorg.hibernate.cache.CacheProvider
-
isMinimalPutsEnabledByDefault
public boolean isMinimalPutsEnabledByDefault()
- Specified by:
isMinimalPutsEnabledByDefault
in interfaceorg.hibernate.cache.CacheProvider
-
-