Package com.epam.reportportal.service
Class LaunchImpl.ComputationConcurrentHashMap
- java.lang.Object
-
- java.util.AbstractMap<K,V>
-
- java.util.concurrent.ConcurrentHashMap<io.reactivex.Maybe<java.lang.String>,LaunchImpl.TreeItem>
-
- com.epam.reportportal.service.LaunchImpl.ComputationConcurrentHashMap
-
- All Implemented Interfaces:
java.io.Serializable,java.util.concurrent.ConcurrentMap<io.reactivex.Maybe<java.lang.String>,LaunchImpl.TreeItem>,java.util.Map<io.reactivex.Maybe<java.lang.String>,LaunchImpl.TreeItem>
- Enclosing class:
- LaunchImpl
protected static class LaunchImpl.ComputationConcurrentHashMap extends java.util.concurrent.ConcurrentHashMap<io.reactivex.Maybe<java.lang.String>,LaunchImpl.TreeItem>
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class java.util.concurrent.ConcurrentHashMap
java.util.concurrent.ConcurrentHashMap.KeySetView<K extends java.lang.Object,V extends java.lang.Object>
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedComputationConcurrentHashMap()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LaunchImpl.TreeItemgetOrCompute(io.reactivex.Maybe<java.lang.String> key)Returns an existing tree item by key or creates and stores a new one atomically if absent.-
Methods inherited from class java.util.concurrent.ConcurrentHashMap
clear, compute, computeIfAbsent, computeIfPresent, contains, containsKey, containsValue, elements, entrySet, equals, forEach, forEach, forEach, forEachEntry, forEachEntry, forEachKey, forEachKey, forEachValue, forEachValue, get, getOrDefault, hashCode, isEmpty, keys, keySet, keySet, mappingCount, merge, newKeySet, newKeySet, put, putAll, putIfAbsent, reduce, reduceEntries, reduceEntries, reduceEntriesToDouble, reduceEntriesToInt, reduceEntriesToLong, reduceKeys, reduceKeys, reduceKeysToDouble, reduceKeysToInt, reduceKeysToLong, reduceToDouble, reduceToInt, reduceToLong, reduceValues, reduceValues, reduceValuesToDouble, reduceValuesToInt, reduceValuesToLong, remove, remove, replace, replace, replaceAll, search, searchEntries, searchKeys, searchValues, size, toString, values
-
-
-
-
Method Detail
-
getOrCompute
public LaunchImpl.TreeItem getOrCompute(io.reactivex.Maybe<java.lang.String> key)
Returns an existing tree item by key or creates and stores a new one atomically if absent.- Parameters:
key- the key representing an item ID promise- Returns:
- the existing or newly created
LaunchImpl.TreeItem
-
-