@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, getDelegate, getKeys, getManagedDelegate, getName, getStatistics, isFlushable, isLocal, isReplicateAsynchronously, isReplicateViaCopy, isStatisticsEnabled, put, putIfAbsent, remove, remove, removeAll, removeListener, replace, setTimeToLive, updateExpireAfterAccess, updateExpireAfterWrite, updateMaxEntries
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clear, currentExpireAfterAccessMillis, currentExpireAfterWriteMillis, currentMaxEntries, getName, getStatistics, isFlushable, isLocal, isReplicateAsynchronously, isReplicateViaCopy, isStatisticsEnabled, 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–2015 Atlassian. All rights reserved.