Package | Description |
---|---|
com.atlassian.bamboo.utils.scopedcaches |
Modifier and Type | Method and Description |
---|---|
static <K,V> ThreadScopedCaches.Key<K,V> |
ThreadScopedCaches.makeKey(Class<?> aClass)
The returned keys rely on identity comparison.
|
Modifier and Type | Method and Description |
---|---|
static <K,V> V |
ThreadScopedCaches.getValue(ThreadScopedCaches.Key<K,V> cacheKey,
K key,
Supplier<? extends V> supplier)
Returns the value called by
supplier.get or a previously cached value. |
Copyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.