Package | Description |
---|---|
com.atlassian.confluence.impl.vcache |
Modifier and Type | Method and Description |
---|---|
static <C extends com.atlassian.vcache.ExternalWriteOperationsUnbuffered<V> & com.atlassian.vcache.ExternalCache<V>,V> |
SynchronousExternalCache.synchronous(C cache)
Create a wrapper around the given cache.
|
static <C extends com.atlassian.vcache.ExternalWriteOperationsUnbuffered<V> & com.atlassian.vcache.ExternalCache<V>,V> |
SynchronousExternalCache.synchronous(com.atlassian.util.concurrent.Supplier<C> cacheRef)
Create a wrapper around the given cache supplier.
|
static <V extends Serializable> |
SynchronousExternalCache.synchronousStableReadExternalCache(com.atlassian.vcache.VCacheFactory cacheFactory,
String cacheName,
Class<V> valueType)
Create a wrapper around a
StableReadExternalCache with the given name and value type. |
static <V> SynchronousExternalCache<V> |
SynchronousExternalCache.synchronousStableReadExternalCache(com.atlassian.vcache.VCacheFactory cacheFactory,
String cacheName,
com.atlassian.vcache.Marshaller<V> marshaller)
Create a wrapper around a
StableReadExternalCache with the given name and marshaller. |
static <V> SynchronousExternalCache<V> |
SynchronousExternalCache.synchronousStableReadExternalCache(com.atlassian.vcache.VCacheFactory cacheFactory,
String cacheName,
com.atlassian.vcache.Marshaller<V> marshaller,
com.atlassian.vcache.ExternalCacheSettingsBuilder cacheSettingsBuilder)
Create a wrapper around a
StableReadExternalCache with the given name, marshaller and cache settings. |
Copyright © 2003–2017 Atlassian. All rights reserved.