|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectnet.sf.hibernate.cache.JCSCache
Support for Apache Turbine's JCS
| Constructor Summary | |
JCSCache(String regionName,
Properties properties)
Deprecated. |
|
| Method Summary | |
void |
clear()
Deprecated. Clear the cache |
void |
destroy()
Deprecated. Clean up |
Object |
get(Object key)
Deprecated. Get an item from the cache |
int |
getTimeout()
Deprecated. Get a reasonable "lock timeout" |
void |
lock(Object key)
Deprecated. If this is a clustered cache, lock the item |
long |
nextTimestamp()
Deprecated. Generate a timestamp |
void |
put(Object key,
Object value)
Deprecated. Add an item to the cache |
void |
remove(Object key)
Deprecated. Remove an item from the cache |
void |
unlock(Object key)
Deprecated. If this is a clustered cache, unlock the item |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public JCSCache(String regionName, Properties properties) throws CacheException
| Method Detail |
public Object get(Object key)
Cache
key -
public void put(Object key, Object value) throws CacheException
Cache
key - value -
CacheExceptionpublic void remove(Object key) throws CacheException
Cache
CacheException
public void clear()
throws CacheException
Cache
CacheException
public void destroy()
throws CacheException
Cache
CacheExceptionpublic long nextTimestamp()
Cache
nextTimestamp in interface Cachepublic void lock(Object key) throws CacheException
Cache
CacheExceptionpublic void unlock(Object key) throws CacheException
Cache
CacheExceptionpublic int getTimeout()
Cache
getTimeout in interface Cache
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||