@Internal public final class InvalidatableCacheLoader<K,V> extends Object implements com.atlassian.cache.CacheLoader<K,V>
Modifier and Type | Method and Description |
---|---|
static <K,V> InvalidatableCacheLoader<K,V> |
createLocal(com.atlassian.cache.CacheLoader<K,V> delegate)
Creates a new InvalidatableCacheLoader that only invalidates values
being created on the local JVM.
|
void |
invalidateAll()
Invalidates all values that are in the process of being loaded and
forces them to be loaded again immediately.
|
V |
load(K key) |
public static <K,V> InvalidatableCacheLoader<K,V> createLocal(com.atlassian.cache.CacheLoader<K,V> delegate)
delegate
- CacheLoader to use for creating the valuespublic void invalidateAll()
Copyright © 2003–2015 Atlassian. All rights reserved.