@ParametersAreNonnullByDefault public interface CacheAdapter<K,V> extends com.atlassian.vcache.LocalCacheOperations<K,V>
This WILL be removed once all atlassian caches have been converted to vcache.
| Modifier and Type | Method and Description |
|---|---|
static <K,V> CacheAdapter<K,V> |
of(com.atlassian.cache.Cache<K,V> cache)
Creates wrapper over
Cache. |
static <K,V> CacheAdapter<K,V> |
of(com.atlassian.vcache.LocalCacheOperations<K,V> cache)
Creates wrapper over
LocalCacheOperations. |
static <K,V> CacheAdapter<K,V> of(com.atlassian.vcache.LocalCacheOperations<K,V> cache)
LocalCacheOperations.cache - that would used as a backend. It should not be used directly by anything else.CacheAdapter backed by a supplied cache.static <K,V> CacheAdapter<K,V> of(com.atlassian.cache.Cache<K,V> cache)
Cache.cache - that would used as a backend. It should not be used directly by anything else.Cache backed by a supplied cache.Copyright © 2002-2016 Atlassian. All Rights Reserved.