@Internal public class HazelcastLockingCache<K,V> extends DefaultConfluenceCache<K,V> implements LockingCache<K,V>
Constructor and Description |
---|
HazelcastLockingCache(HazelcastHelper hazelCastHelper,
com.atlassian.cache.Cache<K,V> delegate) |
Modifier and Type | Method and Description |
---|---|
void |
lock(K key,
org.joda.time.Duration leaseTime) |
void |
unlock(K key) |
addListener, clear, containsKey, currentExpireAfterAccessMillis, currentExpireAfterWriteMillis, currentMaxEntries, get, get, getCacheCollector, getDelegate, getKeys, getManagedDelegate, getName, getStatistics, isFlushable, isLocal, isReplicateAsynchronously, isReplicateViaCopy, isStatisticsEnabled, put, putIfAbsent, remove, remove, removeAll, removeListener, replace, setStatistics, setTimeToLive, updateExpireAfterAccess, updateExpireAfterWrite, updateMaxEntries
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clear, currentExpireAfterAccessMillis, currentExpireAfterWriteMillis, currentMaxEntries, getCacheCollector, getName, getStatistics, isFlushable, isLocal, isReplicateAsynchronously, isReplicateViaCopy, isStatisticsEnabled, setStatistics, updateExpireAfterAccess, updateExpireAfterWrite, updateMaxEntries
setTimeToLive
public HazelcastLockingCache(HazelcastHelper hazelCastHelper, com.atlassian.cache.Cache<K,V> delegate)
public void lock(K key, org.joda.time.Duration leaseTime)
lock
in interface LockingCache<K,V>
public void unlock(K key)
unlock
in interface LockingCache<K,V>
Copyright © 2003–2017 Atlassian. All rights reserved.