@Internal public final class UnblockingRemovalJvmCache<K,V> extends Object
Unlike normal JvmCache
, this cache will not block when it is cleared while a value
is being generated. It has the following properties:
Constructor and Description |
---|
UnblockingRemovalJvmCache(com.atlassian.vcache.VCacheFactory cacheFactory,
String name,
com.atlassian.vcache.JvmCacheSettings settings) |
Modifier and Type | Method and Description |
---|---|
V |
get(K key,
Supplier<? extends V> supplier) |
void |
removeAll() |
public UnblockingRemovalJvmCache(com.atlassian.vcache.VCacheFactory cacheFactory, String name, com.atlassian.vcache.JvmCacheSettings settings)
Copyright © 2003–2017 Atlassian. All rights reserved.