public class GuavaVCacheService extends AbstractVCacheService
externalCacheKeyGenerator, lockTimeout, metricsCollector, threadLocalContextSupplier, transactionControlManager, workContextContextSupplier| Constructor and Description |
|---|
GuavaVCacheService(String productIdentifier,
Supplier<RequestContext> threadLocalContextSupplier,
Supplier<RequestContext> workContextContextSupplier,
VCacheSettingsDefaultsProvider defaultsProvider,
VCacheCreationHandler creationHandler,
MetricsCollector metricsCollector,
GuavaServiceSettings serviceSettings,
BegunTransactionalActivityHandler begunTransactionalActivityHandler) |
GuavaVCacheService(Supplier<RequestContext> threadLocalContextSupplier,
Supplier<RequestContext> workContextContextSupplier,
VCacheSettingsDefaultsProvider defaultsProvider,
VCacheCreationHandler creationHandler,
MetricsCollector metricsCollector,
ExternalCacheKeyGenerator externalCacheKeyGenerator,
GuavaServiceSettings serviceSettings,
BegunTransactionalActivityHandler begunTransactionalActivityHandler) |
| 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, transactionSyncpublic GuavaVCacheService(String productIdentifier, Supplier<RequestContext> threadLocalContextSupplier, Supplier<RequestContext> workContextContextSupplier, VCacheSettingsDefaultsProvider defaultsProvider, VCacheCreationHandler creationHandler, MetricsCollector metricsCollector, GuavaServiceSettings serviceSettings, BegunTransactionalActivityHandler begunTransactionalActivityHandler)
public GuavaVCacheService(Supplier<RequestContext> threadLocalContextSupplier, Supplier<RequestContext> workContextContextSupplier, VCacheSettingsDefaultsProvider defaultsProvider, VCacheCreationHandler creationHandler, MetricsCollector metricsCollector, ExternalCacheKeyGenerator externalCacheKeyGenerator, GuavaServiceSettings serviceSettings, BegunTransactionalActivityHandler begunTransactionalActivityHandler)
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 © 2016 Atlassian. All rights reserved.