Package com.identityworksllc.iiq.common
Interface DelegatedConcurrentMap<K,V>
-
- Type Parameters:
K-V-
- All Superinterfaces:
ConcurrentMap<K,V>,DelegatedMap<K,V>,Map<K,V>
- All Known Implementing Classes:
TypeFriendlyDelegatedConcurrentMap
public interface DelegatedConcurrentMap<K,V> extends ConcurrentMap<K,V>, DelegatedMap<K,V>
An interface extendingDelegatedMapto implementConcurrentMapmethods.All method calls will be delegated to the return value of
getDelegate().
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ConcurrentMap<K,V>getDelegate()Gets the map to which all otherMapcalls are delegateddefault VputIfAbsent(K key, V value)default booleanremove(Object key, Object value)default Vreplace(K key, V value)default booleanreplace(K key, V oldValue, V newValue)-
Methods inherited from interface java.util.concurrent.ConcurrentMap
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, replaceAll
-
Methods inherited from interface com.identityworksllc.iiq.common.DelegatedMap
clear, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values
-
-
-
-
Method Detail
-
getDelegate
ConcurrentMap<K,V> getDelegate()
Gets the map to which all otherMapcalls are delegated- Specified by:
getDelegatein interfaceDelegatedMap<K,V>- Returns:
- The Map to which all calls are delegated
-
putIfAbsent
default V putIfAbsent(K key, V value)
- Specified by:
putIfAbsentin interfaceConcurrentMap<K,V>- Specified by:
putIfAbsentin interfaceMap<K,V>
-
-