public interface BlockingCache extends Cache
Cache.get(Object)
until an entry is put into the cache. This is mainly use to avoid concurrent
caching of the same resources.Modifier and Type | Method and Description |
---|---|
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.
|
void unlock(Object key)
int getBlockingTimeout()
Copyright © 2020 Magnolia International Ltd.. All rights reserved.