public class J2HibernateCache extends Object
Constructor and Description |
---|
J2HibernateCache(String region,
CacheChannel cache) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
void |
destroy() |
Object |
get(Object key) |
long |
getElementCountInMemory() |
long |
getElementCountOnDisk() |
String |
getRegionName() |
long |
getSizeInMemory() |
int |
getTimeout() |
void |
lock(Object key) |
long |
nextTimestamp() |
void |
put(Object key,
Object value) |
Object |
read(Object key) |
void |
remove(Object key) |
Map |
toMap() |
void |
unlock(Object key) |
void |
update(Object key,
Object value) |
public J2HibernateCache(String region, CacheChannel cache)
public void clear() throws org.hibernate.cache.CacheException
org.hibernate.cache.CacheException
public void destroy() throws org.hibernate.cache.CacheException
org.hibernate.cache.CacheException
public Object get(Object key) throws org.hibernate.cache.CacheException
org.hibernate.cache.CacheException
public long getElementCountInMemory()
public long getElementCountOnDisk()
public String getRegionName()
public long getSizeInMemory()
public int getTimeout()
public void lock(Object key)
public long nextTimestamp()
public Object read(Object key) throws org.hibernate.cache.CacheException
org.hibernate.cache.CacheException
public void remove(Object key) throws org.hibernate.cache.CacheException
org.hibernate.cache.CacheException
public Map toMap()
public void unlock(Object key) throws org.hibernate.cache.CacheException
org.hibernate.cache.CacheException
Copyright © 2018. All rights reserved.