Package | Description |
---|---|
fr.cnes.sirius.patrius.tools.cache |
Modifier and Type | Method and Description |
---|---|
CacheEntry<K,V> |
FIFOThreadSafeCache.computeIf(Predicate<CacheEntry<K,V>> cacheAvailabilityPredicate,
Supplier<CacheEntry<K,V>> entrySupplier)
Computes and add a new entry in the cache, if necessary.
|
CacheEntry<K,V> |
FIFOThreadSafeCache.computeIfAbsent(K key,
Supplier<CacheEntry<K,V>> entrySupplier)
Computes and add a new entry in the cache, if necessary.
|
Modifier and Type | Method and Description |
---|---|
CacheEntry<K,V> |
FIFOThreadSafeCache.computeIf(Predicate<CacheEntry<K,V>> cacheAvailabilityPredicate,
Supplier<CacheEntry<K,V>> entrySupplier)
Computes and add a new entry in the cache, if necessary.
|
CacheEntry<K,V> |
FIFOThreadSafeCache.computeIf(Predicate<CacheEntry<K,V>> cacheAvailabilityPredicate,
Supplier<CacheEntry<K,V>> entrySupplier)
Computes and add a new entry in the cache, if necessary.
|
CacheEntry<K,V> |
FIFOThreadSafeCache.computeIfAbsent(K key,
Supplier<CacheEntry<K,V>> entrySupplier)
Computes and add a new entry in the cache, if necessary.
|
Copyright © 2023 CNES. All rights reserved.