|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BlockingCache
Marker interface to expose the fact that this cache will block further calls to
Cache.get(Object)
until an entry is put into the cache. This is mainly use to avoid concurrent
caching of the same resources.
Method Summary | |
---|---|
int |
getBlockingTimeout()
If the timeout is reached an exception is thrown to unlock the blocked thread (in milliseconds). |
void |
unlock(Object key)
Will unlock the key. |
Methods inherited from interface info.magnolia.module.cache.Cache |
---|
clear, get, getName, getSize, hasElement, put, remove |
Method Detail |
---|
void unlock(Object key)
int getBlockingTimeout()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |