Package com.soffid.iam.spring
Class JCSCache
- java.lang.Object
-
- com.soffid.iam.spring.JCSCache
-
- All Implemented Interfaces:
org.hibernate.cache.Cache
public class JCSCache extends Object implements org.hibernate.cache.Cache
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()voiddestroy()Objectget(Object key)longgetElementCountInMemory()longgetElementCountOnDisk()StringgetRegionName()longgetSizeInMemory()intgetTimeout()voidlock(Object key)longnextTimestamp()voidput(Object key, Object value)Objectread(Object key)voidremove(Object key)MaptoMap()voidunlock(Object key)voidupdate(Object key, Object value)
-
-
-
Constructor Detail
-
JCSCache
public JCSCache(String regionName)
-
-
Method Detail
-
read
public Object read(Object key) throws org.hibernate.cache.CacheException
- Specified by:
readin interfaceorg.hibernate.cache.Cache- Throws:
org.hibernate.cache.CacheException
-
get
public Object get(Object key) throws org.hibernate.cache.CacheException
- Specified by:
getin interfaceorg.hibernate.cache.Cache- Throws:
org.hibernate.cache.CacheException
-
put
public void put(Object key, Object value) throws org.hibernate.cache.CacheException
- Specified by:
putin interfaceorg.hibernate.cache.Cache- Throws:
org.hibernate.cache.CacheException
-
update
public void update(Object key, Object value) throws org.hibernate.cache.CacheException
- Specified by:
updatein interfaceorg.hibernate.cache.Cache- Throws:
org.hibernate.cache.CacheException
-
remove
public void remove(Object key) throws org.hibernate.cache.CacheException
- Specified by:
removein interfaceorg.hibernate.cache.Cache- Throws:
org.hibernate.cache.CacheException
-
clear
public void clear() throws org.hibernate.cache.CacheException- Specified by:
clearin interfaceorg.hibernate.cache.Cache- Throws:
org.hibernate.cache.CacheException
-
destroy
public void destroy() throws org.hibernate.cache.CacheException- Specified by:
destroyin interfaceorg.hibernate.cache.Cache- Throws:
org.hibernate.cache.CacheException
-
lock
public void lock(Object key) throws org.hibernate.cache.CacheException
- Specified by:
lockin interfaceorg.hibernate.cache.Cache- Throws:
org.hibernate.cache.CacheException
-
unlock
public void unlock(Object key) throws org.hibernate.cache.CacheException
- Specified by:
unlockin interfaceorg.hibernate.cache.Cache- Throws:
org.hibernate.cache.CacheException
-
nextTimestamp
public long nextTimestamp()
- Specified by:
nextTimestampin interfaceorg.hibernate.cache.Cache
-
getTimeout
public int getTimeout()
- Specified by:
getTimeoutin interfaceorg.hibernate.cache.Cache
-
getRegionName
public String getRegionName()
- Specified by:
getRegionNamein interfaceorg.hibernate.cache.Cache
-
getSizeInMemory
public long getSizeInMemory()
- Specified by:
getSizeInMemoryin interfaceorg.hibernate.cache.Cache
-
getElementCountInMemory
public long getElementCountInMemory()
- Specified by:
getElementCountInMemoryin interfaceorg.hibernate.cache.Cache
-
getElementCountOnDisk
public long getElementCountOnDisk()
- Specified by:
getElementCountOnDiskin interfaceorg.hibernate.cache.Cache
-
toMap
public Map toMap()
- Specified by:
toMapin interfaceorg.hibernate.cache.Cache
-
-