Class JvmCacheAdapter<K,V>
java.lang.Object
com.atlassian.confluence.impl.vcache.JvmCacheAdapter<K,V>
- All Implemented Interfaces:
com.atlassian.cache.Cache<K,,V> com.atlassian.cache.ReadThroughCache<K,V>
@Deprecated
public final class JvmCacheAdapter<K,V>
extends Object
implements com.atlassian.cache.Cache<K,V>
Deprecated.
since 7.20
An implementation of
Cache backed by a JvmCache. This can be useful for backwards compatibility code.- Since:
- 7.20
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddListener(@NonNull com.atlassian.cache.CacheEntryListener<K, V> listener, boolean includeValues) Deprecated.booleancontainsKey(@NonNull K key) Deprecated.@Nullable VDeprecated.@NonNull VDeprecated.@NonNull Collection<K>getKeys()Deprecated.@NonNull StringgetName()Deprecated.voidDeprecated.@Nullable VputIfAbsent(@NonNull K key, @NonNull V value) Deprecated.voidDeprecated.booleanDeprecated.voidDeprecated.voidremoveListener(@NonNull com.atlassian.cache.CacheEntryListener<K, V> listener) Deprecated.booleanDeprecated.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.atlassian.cache.ReadThroughCache
getBulk
-
Constructor Details
-
JvmCacheAdapter
Deprecated.
-
-
Method Details
-
getName
Deprecated. -
containsKey
Deprecated. -
getKeys
Deprecated. -
get
Deprecated. -
get
public @NonNull V get(@NonNull K key, @NonNull com.atlassian.cache.Supplier<? extends V> valueSupplier) Deprecated. -
put
Deprecated. -
putIfAbsent
Deprecated. -
remove
Deprecated. -
remove
Deprecated. -
removeAll
public void removeAll()Deprecated. -
replace
Deprecated. -
addListener
public void addListener(@NonNull com.atlassian.cache.CacheEntryListener<K, V> listener, boolean includeValues) Deprecated. -
removeListener
Deprecated.
-