Class ConcurrentHashMapStorage.TaskMap
java.lang.Object
org.keycloak.models.map.storage.chm.ConcurrentHashMapStorage.TaskMap
- Enclosing class:
- ConcurrentHashMapStorage<K,
V extends AbstractEntity & UpdatableEntity, M, CRUD extends CrudOperations<V, M>>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
clear()
boolean
containsKey
(String key) Set<Map.Entry<ConcurrentHashMapStorage.TaskKey,
ConcurrentHashMapStorage<K, V, M, CRUD>.MapTaskWithValue>> entrySet()
boolean
isEmpty()
merge
(String key, ConcurrentHashMapStorage<K, V, M, CRUD>.MapTaskWithValue value, BiFunction<? super ConcurrentHashMapStorage<K, V, M, CRUD>.MapTaskWithValue, ? super ConcurrentHashMapStorage<K, V, M, CRUD>.MapTaskWithValue, ? extends ConcurrentHashMapStorage<K, V, M, CRUD>.MapTaskWithValue> remappingFunction) put
(String key, ConcurrentHashMapStorage<K, V, M, CRUD>.MapTaskWithValue value) values()
-
Constructor Details
-
TaskMap
protected TaskMap()
-
-
Method Details
-
isEmpty
public boolean isEmpty() -
containsKey
-
get
-
put
public ConcurrentHashMapStorage<K,V, putM, CRUD>.MapTaskWithValue (String key, ConcurrentHashMapStorage<K, V, M, CRUD>.MapTaskWithValue value) -
clear
public void clear() -
values
-
entrySet
public Set<Map.Entry<ConcurrentHashMapStorage.TaskKey,ConcurrentHashMapStorage<K, entrySet()V, M, CRUD>.MapTaskWithValue>> -
merge
public ConcurrentHashMapStorage<K,V, mergeM, CRUD>.MapTaskWithValue (String key, ConcurrentHashMapStorage<K, V, M, CRUD>.MapTaskWithValue value, BiFunction<? super ConcurrentHashMapStorage<K, V, M, CRUD>.MapTaskWithValue, ? super ConcurrentHashMapStorage<K, V, M, CRUD>.MapTaskWithValue, ? extends ConcurrentHashMapStorage<K, V, M, CRUD>.MapTaskWithValue> remappingFunction)
-