org.terracotta.cache
Interface IncoherentDistributedCacheInternals<K,V>
- All Superinterfaces:
- ConcurrentMap<K,V>, DistributedCache<K,V>, IncoherentDistributedCache<K,V>, LockableMap<K>, Map<K,V>
- All Known Implementing Classes:
- TerracottaDistributedCache
public interface IncoherentDistributedCacheInternals<K,V>
- extends IncoherentDistributedCache<K,V>
| Nested classes/interfaces inherited from interface java.util.Map |
Map.Entry<K,V> |
| Methods inherited from interface java.util.Map |
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values |
unlockedPutIfAbsentNoReturn
void unlockedPutIfAbsentNoReturn(K key,
V value)
- Same as
ConcurrentMap.putIfAbsent(Object, Object) except this operation is performed without any locking
and the is performed only when a current mapping exists and is equal to currentValue
- Parameters:
key - currentValue -
unlockedRemoveNoReturn
void unlockedRemoveNoReturn(K key,
V currentValue)
- Same as
DistributedCache.removeNoReturn(Object) except this operation is performed without any locking and
the remove is performed only when a current mapping exists and is equal to currentValue
- Parameters:
key - currentValue -
unlockedReplaceNoReturn
void unlockedReplaceNoReturn(K key,
V currentValue,
V newValue)
- Same as
DistributedCache.putNoReturn(Object, Object) except that this operation is performed without any
locking and puts in the cache only if there is already a mapping for key that is equal to currentValue
- Parameters:
key - currentValue - newValue -
Copyright © 2015 Terracotta, Inc.. All Rights Reserved.