Package com.soffid.iam.spring
Class JCSCacheProvider
- java.lang.Object
-
- com.soffid.iam.spring.JCSCacheProvider
-
- All Implemented Interfaces:
org.hibernate.cache.CacheProvider
public class JCSCacheProvider extends Object implements org.hibernate.cache.CacheProvider
-
-
Constructor Summary
Constructors Constructor Description JCSCacheProvider()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static <K,V>
org.apache.commons.jcs.access.behavior.ICacheAccess<K,V>buildCache(String regionName)
org.hibernate.cache.Cache
buildCache(String regionName, Properties properties)
static boolean
isEnabled()
boolean
isMinimalPutsEnabledByDefault()
long
nextTimestamp()
void
start(Properties properties)
void
stop()
-
-
-
Field Detail
-
PREFIX
public static final String PREFIX
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
JCSCacheProvider
public JCSCacheProvider() throws FileNotFoundException, IOException
- Throws:
FileNotFoundException
IOException
-
-
Method Detail
-
isEnabled
public static boolean isEnabled()
-
buildCache
public org.hibernate.cache.Cache buildCache(String regionName, 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(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
-
buildCache
public static <K,V> org.apache.commons.jcs.access.behavior.ICacheAccess<K,V> buildCache(String regionName)
-
-