|
|||||||||||
| 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
get in interface Cachekey -
public void put(Object key,
Object value)
throws CacheException
Cache
put in interface Cachekey - value -
CacheException
public void remove(Object key)
throws CacheException
Cache
remove in interface CacheCacheException
public void clear()
throws CacheException
Cache
clear in interface CacheCacheException
public void destroy()
throws CacheException
Cache
destroy in interface CacheCacheExceptionpublic long nextTimestamp()
Cache
nextTimestamp in interface Cache
public void lock(Object key)
throws CacheException
Cache
lock in interface CacheCacheException
public void unlock(Object key)
throws CacheException
Cache
unlock in interface CacheCacheExceptionpublic int getTimeout()
Cache
getTimeout in interface Cache
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||