|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
@Internal public interface LockingCache<K,V>
Interface that extends atlassian-cache to have locking semantics. Note: In our codebase, this is only used for our old hibernate 2 cache
| Method Summary | |
|---|---|
void |
lock(K key,
org.joda.time.Duration leaseTime)
|
void |
unlock(K key)
|
| Methods inherited from interface com.atlassian.cache.ManagedCache |
|---|
clear, currentExpireAfterAccessMillis, currentExpireAfterWriteMillis, currentMaxEntries, getName, getStatistics, isFlushable, isLocal, isReplicateAsynchronously, isReplicateViaCopy, updateExpireAfterAccess, updateExpireAfterWrite, updateMaxEntries |
| Methods inherited from interface com.atlassian.confluence.cache.ConfigurableCache |
|---|
setTimeToLive |
| Methods inherited from interface com.atlassian.cache.Cache |
|---|
addListener, containsKey, get, get, getKeys, getName, put, putIfAbsent, remove, remove, removeAll, removeListener, replace |
| Method Detail |
|---|
void lock(K key,
org.joda.time.Duration leaseTime)
void unlock(K key)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||