public class MemcachedVCacheService extends AbstractVCacheService
externalCacheKeyGenerator, lockTimeout, metricsCollector, threadLocalContextSupplier, transactionControlManager, workContextContextSupplier| Constructor and Description |
|---|
MemcachedVCacheService(MemcachedVCacheServiceSettings settings)
Creates an instance using the supplied settings.
|
| Modifier and Type | Method and Description |
|---|---|
protected <V> DirectExternalCache<V> |
createDirectExternalCache(String name,
ExternalCacheSettings settings,
com.atlassian.marshalling.api.MarshallingPair<V> valueMarshalling,
boolean valueSerializable)
Creates a
DirectExternalCache with the supplied parameters. |
protected <K,V> JvmCache<K,V> |
createJvmCache(String name,
JvmCacheSettings settings)
Creates a
JvmCache with the supplied parameters. |
protected <V> StableReadExternalCache<V> |
createStableReadExternalCache(String name,
ExternalCacheSettings settings,
com.atlassian.marshalling.api.MarshallingPair<V> valueMarshalling,
boolean valueSerializable)
Creates a
StableReadExternalCache with the supplied parameters. |
protected <V> TransactionalExternalCache<V> |
createTransactionalExternalCache(String name,
ExternalCacheSettings settings,
com.atlassian.marshalling.api.MarshallingPair<V> valueMarshalling,
boolean valueSerializable)
Creates a
TransactionalExternalCache with the supplied parameters. |
protected org.slf4j.Logger |
log()
Returns the logger for the implementation service.
|
allExternalCacheDetails, allJvmCacheDetails, allRequestCacheDetails, getDirectExternalCache, getDirectExternalCache, getJvmCache, getRequestCache, getStableReadExternalCache, getStableReadExternalCache, getTransactionalExternalCache, getTransactionalExternalCache, metrics, transactionDiscard, transactionSyncclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetRequestCachepublic MemcachedVCacheService(MemcachedVCacheServiceSettings settings)
settings - the settings to be used for creating the instance.protected org.slf4j.Logger log()
AbstractVCacheServicelog in class AbstractVCacheServiceprotected <K,V> JvmCache<K,V> createJvmCache(String name, JvmCacheSettings settings)
AbstractVCacheServiceJvmCache with the supplied parameters.createJvmCache in class AbstractVCacheServiceK - the key typeV - the value typename - the name of the cachesettings - the setting for the cacheJvmCacheprotected <V> TransactionalExternalCache<V> createTransactionalExternalCache(String name, ExternalCacheSettings settings, com.atlassian.marshalling.api.MarshallingPair<V> valueMarshalling, boolean valueSerializable)
AbstractVCacheServiceTransactionalExternalCache with the supplied parameters.createTransactionalExternalCache in class AbstractVCacheServiceV - the value typename - the name of the cachesettings - the settings for the cachevalueMarshalling - the marshalling pair for valuesvalueSerializable - whether the values are SerializableTransactionalExternalCacheprotected <V> StableReadExternalCache<V> createStableReadExternalCache(String name, ExternalCacheSettings settings, com.atlassian.marshalling.api.MarshallingPair<V> valueMarshalling, boolean valueSerializable)
AbstractVCacheServiceStableReadExternalCache with the supplied parameters.createStableReadExternalCache in class AbstractVCacheServiceV - the value typename - the name of the cachesettings - the settings for the cachevalueMarshalling - the marshalling pair for valuesvalueSerializable - whether the values are SerializableStableReadExternalCacheprotected <V> DirectExternalCache<V> createDirectExternalCache(String name, ExternalCacheSettings settings, com.atlassian.marshalling.api.MarshallingPair<V> valueMarshalling, boolean valueSerializable)
AbstractVCacheServiceDirectExternalCache with the supplied parameters.createDirectExternalCache in class AbstractVCacheServiceV - the value typename - the name of the cachesettings - the settings for the cachevalueMarshalling - the marshalling pair for valuesvalueSerializable - whether the values are SerializableDirectExternalCacheCopyright © 2019 Atlassian. All rights reserved.