Skip navigation links
A B C D E F G H I J K L M N O P R S T U V W 

A

AbstractDirectExternalCacheIT - Class in com.atlassian.vcache.internal.test
Base test class for the DirectExternalCache.
AbstractDirectExternalCacheIT() - Constructor for class com.atlassian.vcache.internal.test.AbstractDirectExternalCacheIT
 
AbstractExternalCache<V> - Class in com.atlassian.vcache.internal.core.service
Provides common operations for ExternalCache instances.
AbstractExternalCache(String, Duration) - Constructor for class com.atlassian.vcache.internal.core.service.AbstractExternalCache
 
AbstractExternalCacheRequestContext<V> - Class in com.atlassian.vcache.internal.core.service
Represents the request context for an ExternalCache.
AbstractExternalCacheRequestContext(ExternalCacheKeyGenerator, String, Supplier<String>, Duration) - Constructor for class com.atlassian.vcache.internal.core.service.AbstractExternalCacheRequestContext
 
AbstractExternalCacheRequestContext.DeferredOperation<V> - Class in com.atlassian.vcache.internal.core.service
Represents a deferred operation.
AbstractJvmCacheTest - Class in com.atlassian.vcache.internal.test
Base test class for the JvmCache.
AbstractJvmCacheTest() - Constructor for class com.atlassian.vcache.internal.test.AbstractJvmCacheTest
 
AbstractLocalCacheOperationsTest - Class in com.atlassian.vcache.internal.test
Base test class for the LocalCacheOperations.
AbstractLocalCacheOperationsTest() - Constructor for class com.atlassian.vcache.internal.test.AbstractLocalCacheOperationsTest
 
AbstractRequestCacheTest - Class in com.atlassian.vcache.internal.test
Base test class for the RequestCache.
AbstractRequestCacheTest() - Constructor for class com.atlassian.vcache.internal.test.AbstractRequestCacheTest
 
AbstractStableReadExternalCache<V> - Class in com.atlassian.vcache.internal.core.service
Provides operations common to StableReadExternalCache instances.
AbstractStableReadExternalCache(String, MetricsRecorder, Duration) - Constructor for class com.atlassian.vcache.internal.core.service.AbstractStableReadExternalCache
 
AbstractStableReadExternalCacheIT - Class in com.atlassian.vcache.internal.test
Base test class for the StableReadExternalCache.
AbstractStableReadExternalCacheIT() - Constructor for class com.atlassian.vcache.internal.test.AbstractStableReadExternalCacheIT
 
AbstractTransactionalExternalCache<V> - Class in com.atlassian.vcache.internal.core.service
Provides operations common for TransactionalExternalCache instances.
AbstractTransactionalExternalCache(String, Supplier<RequestContext>, MetricsRecorder, Duration) - Constructor for class com.atlassian.vcache.internal.core.service.AbstractTransactionalExternalCache
 
AbstractTransactionalExternalCacheIT - Class in com.atlassian.vcache.internal.test
Base test class for the TransactionalExternalCache.
AbstractTransactionalExternalCacheIT() - Constructor for class com.atlassian.vcache.internal.test.AbstractTransactionalExternalCacheIT
 
AbstractVCacheService - Class in com.atlassian.vcache.internal.core.service
Base implementation of a service.
AbstractVCacheService(Supplier<RequestContext>, Supplier<RequestContext>, VCacheSettingsDefaultsProvider, VCacheCreationHandler, MetricsCollector, ExternalCacheKeyGenerator, BegunTransactionalActivityHandler, Duration) - Constructor for class com.atlassian.vcache.internal.core.service.AbstractVCacheService
 
AbstractVCacheServiceIT - Class in com.atlassian.vcache.internal.test
Base test class for the VCacheService.
AbstractVCacheServiceIT() - Constructor for class com.atlassian.vcache.internal.test.AbstractVCacheServiceIT
 
allExternalCacheDetails() - Method in class com.atlassian.vcache.internal.core.service.AbstractVCacheService
 
allExternalCacheDetails() - Method in interface com.atlassian.vcache.internal.VCacheManagement
 
allExternalCacheLongMetrics() - Method in class com.atlassian.vcache.internal.core.metrics.EmptyRequestMetrics
 
allExternalCacheLongMetrics() - Method in interface com.atlassian.vcache.internal.RequestMetrics
Returns a map of metrics for ExternalCache accessed for a request.
allJvmCacheDetails() - Method in class com.atlassian.vcache.internal.core.service.AbstractVCacheService
 
allJvmCacheDetails() - Method in interface com.atlassian.vcache.internal.VCacheManagement
 
allJvmCacheLongMetrics() - Method in class com.atlassian.vcache.internal.core.metrics.EmptyRequestMetrics
 
allJvmCacheLongMetrics() - Method in interface com.atlassian.vcache.internal.RequestMetrics
Returns a map of metrics for JvmCache accessed for a request.
allRequestCacheDetails() - Method in class com.atlassian.vcache.internal.core.service.AbstractVCacheService
 
allRequestCacheDetails() - Method in interface com.atlassian.vcache.internal.VCacheManagement
 
allRequestCacheLongMetrics() - Method in class com.atlassian.vcache.internal.core.metrics.EmptyRequestMetrics
 
allRequestCacheLongMetrics() - Method in interface com.atlassian.vcache.internal.RequestMetrics
Returns a map of metrics for RequestCache accessed for a request.
apply(RequestMetrics) - Method in class com.atlassian.vcache.internal.core.metrics.GsonJsonableFactory
 
apply(RequestMetrics) - Method in class com.atlassian.vcache.internal.core.metrics.JacksonJsonableFactory
 
apply(RequestMetrics) - Method in interface com.atlassian.vcache.internal.JsonableFactory
 

B

BegunTransactionalActivityHandler - Interface in com.atlassian.vcache.internal
Specifies the interface for a handler that is called when transactional activity has begun for a request.
begunTransactionalActivityHandler(BegunTransactionalActivityHandler) - Method in class com.atlassian.vcache.internal.memcached.MemcachedVCacheServiceSettingsBuilder
Sets the begun transaction activity handler.
begunTxnActivityHandler - Variable in class com.atlassian.vcache.internal.test.AbstractVCacheServiceIT
 
both_get_and_getBulk_fail() - Method in class com.atlassian.vcache.internal.test.AbstractStableReadExternalCacheIT
 
both_getBulk_and_get_fail() - Method in class com.atlassian.vcache.internal.test.AbstractStableReadExternalCacheIT
 
build() - Method in class com.atlassian.vcache.ExternalCacheSettingsBuilder
Returns a new ExternalCacheSettings instance configured using the supplied settings.
build() - Method in class com.atlassian.vcache.internal.guava.GuavaServiceSettingsBuilder
Returns a new GuavaServiceSettings instance configured using the supplied settings.
build() - Method in class com.atlassian.vcache.internal.legacy.LegacyServiceSettingsBuilder
Returns a new LegacyServiceSettings instance configured using the supplied settings.
build() - Method in class com.atlassian.vcache.internal.memcached.MemcachedVCacheServiceSettingsBuilder
Returns a new MemcachedVCacheServiceSettings instance configured using the supplied settings.
build() - Method in class com.atlassian.vcache.JvmCacheSettingsBuilder
Returns a new JvmCacheSettings instance configured using the supplied settings.
buildDelegate(ExternalCacheSettings) - Static method in class com.atlassian.vcache.internal.guava.GuavaUtils
 

C

cache() - Method in class com.atlassian.vcache.internal.test.AbstractTransactionalExternalCacheIT
 
CACHE_NAME - Static variable in class com.atlassian.vcache.internal.test.AbstractTransactionalExternalCacheIT
 
CacheMetricsMatcher - Class in com.atlassian.vcache.internal.test
 
cacheTransactionDiscard() - Method in class com.atlassian.vcache.internal.test.AbstractTransactionalExternalCacheIT
 
cacheTransactionSync() - Method in class com.atlassian.vcache.internal.test.AbstractTransactionalExternalCacheIT
 
CacheType - Enum in com.atlassian.vcache.internal.core.metrics
Represents the different supported cache types.
cacheVersion() - Method in class com.atlassian.vcache.internal.core.service.AbstractExternalCacheRequestContext
 
cacheVersion() - Method in class com.atlassian.vcache.internal.core.service.UnversionedExternalCacheRequestContext
 
cacheVersion() - Method in class com.atlassian.vcache.internal.core.service.VersionedExternalCacheRequestContext
 
cacheVersionKey(String, String) - Method in class com.atlassian.vcache.internal.core.ExternalCacheKeyGenerator
Generates the key used to hold the cache version number.
CasIdentifier - Interface in com.atlassian.vcache
Represents an identifier for use in compare-and-swap operations.
ChangeRate - Enum in com.atlassian.vcache
Provides a scale for the rate of change of a measure.
check_get_null_detection() - Method in class com.atlassian.vcache.internal.test.AbstractTransactionalExternalCacheIT
 
check_null_detection() - Method in class com.atlassian.vcache.internal.test.AbstractDirectExternalCacheIT
 
check_null_detection() - Method in class com.atlassian.vcache.internal.test.AbstractStableReadExternalCacheIT
 
check_null_detection_with_cas() - Method in class com.atlassian.vcache.internal.test.AbstractDirectExternalCacheIT
 
check_null_key() - Method in class com.atlassian.vcache.internal.test.AbstractDirectExternalCacheIT
 
check_put_null_detection() - Method in class com.atlassian.vcache.internal.test.AbstractTransactionalExternalCacheIT
 
cleanContext() - Static method in class com.atlassian.vcache.internal.test.utils.VCacheTestHelper
Clean up vcache context.
clearKeyMaps() - Method in class com.atlassian.vcache.internal.core.service.AbstractExternalCacheRequestContext
 
clearThread() - Method in class com.atlassian.vcache.internal.core.ThreadLocalRequestContextSupplier
Clears the thread's RequestContext.
clientSupplier(Supplier<MemcachedClientIF>) - Method in class com.atlassian.vcache.internal.memcached.MemcachedVCacheServiceSettingsBuilder
Sets the client supplier.
close() - Method in class com.atlassian.vcache.internal.core.metrics.ElapsedTimer
 
close() - Method in class com.atlassian.vcache.internal.core.metrics.TimedSupplier
 
com.atlassian.vcache - package com.atlassian.vcache
Contains the core types for Atlassian VCache API.
com.atlassian.vcache.internal - package com.atlassian.vcache.internal
Contains the Atlassian internal API.
com.atlassian.vcache.internal.core - package com.atlassian.vcache.internal.core
Contains the core implementation details that is common for Atlassian VCache API implementations.
com.atlassian.vcache.internal.core.cas - package com.atlassian.vcache.internal.core.cas
Contains the core implementation details for CasIdentifier instances.
com.atlassian.vcache.internal.core.metrics - package com.atlassian.vcache.internal.core.metrics
Contains the core metrics implementations that is common for Atlassian VCache API implementations.
com.atlassian.vcache.internal.core.service - package com.atlassian.vcache.internal.core.service
Contains the core implementation for a service.
com.atlassian.vcache.internal.guava - package com.atlassian.vcache.internal.guava
Contains the implementation based on Guava.
com.atlassian.vcache.internal.harness - package com.atlassian.vcache.internal.harness
Contains test harnesses.
com.atlassian.vcache.internal.legacy - package com.atlassian.vcache.internal.legacy
Contains the implementation based on the Atlassian Cache.
com.atlassian.vcache.internal.memcached - package com.atlassian.vcache.internal.memcached
Implementation of the VCache API that uses: Memcached for the ExternalCache Guava for the JvmCache.
com.atlassian.vcache.internal.redis - package com.atlassian.vcache.internal.redis
Implementation of the VCache API that uses: Redis for the ExternalCache Guava for the JvmCache.
com.atlassian.vcache.internal.test - package com.atlassian.vcache.internal.test
 
com.atlassian.vcache.internal.test.utils - package com.atlassian.vcache.internal.test.utils
Contains test utils.
com.atlassian.vcache.marshallers - package com.atlassian.vcache.marshallers
Contains common implementations of the Marshaller interface.
CompletionStageSuccessful<T> - Class in com.atlassian.vcache.internal.test
Matcher for CompletionStage
CompletionStageSuccessful(Optional<Matcher<T>>) - Constructor for class com.atlassian.vcache.internal.test.CompletionStageSuccessful
 
computeIfAbsent(Object, Supplier<T>) - Method in class com.atlassian.vcache.internal.core.DefaultRequestContext
 
computeIfAbsent(Object, Supplier<T>) - Method in interface com.atlassian.vcache.internal.RequestContext
Returns the value associated with the specified key, or computes it atomically using the provided supplier.
contextSupplier - Variable in class com.atlassian.vcache.internal.core.service.AbstractTransactionalExternalCache
 
createCache(String, ExternalCacheSettings) - Method in class com.atlassian.vcache.internal.test.AbstractDirectExternalCacheIT
 
createCache(String, JvmCacheSettings, Duration) - Method in class com.atlassian.vcache.internal.test.AbstractJvmCacheTest
 
createCache(String, Duration) - Method in class com.atlassian.vcache.internal.test.AbstractJvmCacheTest
 
createCache(String) - Method in class com.atlassian.vcache.internal.test.AbstractJvmCacheTest
 
createCache(String, Duration) - Method in class com.atlassian.vcache.internal.test.AbstractLocalCacheOperationsTest
 
createCache(String) - Method in class com.atlassian.vcache.internal.test.AbstractLocalCacheOperationsTest
 
createCache(String, Duration) - Method in class com.atlassian.vcache.internal.test.AbstractRequestCacheTest
 
createCache(String) - Method in class com.atlassian.vcache.internal.test.AbstractRequestCacheTest
 
createCache(String, ExternalCacheSettings, Duration) - Method in class com.atlassian.vcache.internal.test.AbstractStableReadExternalCacheIT
 
createCache(String, ExternalCacheSettings) - Method in class com.atlassian.vcache.internal.test.AbstractStableReadExternalCacheIT
 
createDirectExternalCache(String, ExternalCacheSettings, MarshallingPair<V>, boolean) - Method in class com.atlassian.vcache.internal.core.service.AbstractVCacheService
Creates a DirectExternalCache with the supplied parameters.
createDirectExternalCache(String, ExternalCacheSettings, MarshallingPair<V>, boolean) - Method in class com.atlassian.vcache.internal.guava.GuavaVCacheService
 
createDirectExternalCache(String, ExternalCacheSettings, MarshallingPair<V>, boolean) - Method in class com.atlassian.vcache.internal.legacy.LegacyVCacheService
 
createDirectExternalCache(String, ExternalCacheSettings, MarshallingPair<V>, boolean) - Method in class com.atlassian.vcache.internal.memcached.MemcachedVCacheService
 
createDirectExternalCache(String, ExternalCacheSettings, MarshallingPair<V>, boolean) - Method in class com.atlassian.vcache.internal.redis.RedisVCacheService
 
createJvmCache(String, JvmCacheSettings) - Method in class com.atlassian.vcache.internal.core.service.AbstractVCacheService
Creates a JvmCache with the supplied parameters.
createJvmCache(String, JvmCacheSettings) - Method in class com.atlassian.vcache.internal.guava.GuavaVCacheService
 
createJvmCache(String, JvmCacheSettings) - Method in class com.atlassian.vcache.internal.legacy.LegacyVCacheService
 
createJvmCache(String, JvmCacheSettings) - Method in class com.atlassian.vcache.internal.memcached.MemcachedVCacheService
 
createJvmCache(String, JvmCacheSettings) - Method in class com.atlassian.vcache.internal.redis.RedisVCacheService
 
createStableReadExternalCache(String, ExternalCacheSettings, MarshallingPair<V>, boolean) - Method in class com.atlassian.vcache.internal.core.service.AbstractVCacheService
Creates a StableReadExternalCache with the supplied parameters.
createStableReadExternalCache(String, ExternalCacheSettings, MarshallingPair<V>, boolean) - Method in class com.atlassian.vcache.internal.guava.GuavaVCacheService
 
createStableReadExternalCache(String, ExternalCacheSettings, MarshallingPair<V>, boolean) - Method in class com.atlassian.vcache.internal.legacy.LegacyVCacheService
 
createStableReadExternalCache(String, ExternalCacheSettings, MarshallingPair<V>, boolean) - Method in class com.atlassian.vcache.internal.memcached.MemcachedVCacheService
 
createStableReadExternalCache(String, ExternalCacheSettings, MarshallingPair<V>, boolean) - Method in class com.atlassian.vcache.internal.redis.RedisVCacheService
 
createTransactionalExternalCache(String, ExternalCacheSettings, MarshallingPair<V>, boolean) - Method in class com.atlassian.vcache.internal.core.service.AbstractVCacheService
Creates a TransactionalExternalCache with the supplied parameters.
createTransactionalExternalCache(String, ExternalCacheSettings, MarshallingPair<V>, boolean) - Method in class com.atlassian.vcache.internal.guava.GuavaVCacheService
 
createTransactionalExternalCache(String, ExternalCacheSettings, MarshallingPair<V>, boolean) - Method in class com.atlassian.vcache.internal.legacy.LegacyVCacheService
 
createTransactionalExternalCache(String, ExternalCacheSettings, MarshallingPair<V>, boolean) - Method in class com.atlassian.vcache.internal.memcached.MemcachedVCacheService
 
createTransactionalExternalCache(String, ExternalCacheSettings, MarshallingPair<V>, boolean) - Method in class com.atlassian.vcache.internal.redis.RedisVCacheService
 
creationHandler(VCacheCreationHandler) - Method in class com.atlassian.vcache.internal.memcached.MemcachedVCacheServiceSettingsBuilder
Set the creation handler.
currentRequestContext() - Method in class com.atlassian.vcache.internal.test.AbstractVCacheServiceIT
 

D

dataChangeRateHint(ChangeRate) - Method in class com.atlassian.vcache.ExternalCacheSettingsBuilder
Provides a hint on the expected change rate for data updates.
deal_with_deadlock_scenario() - Method in class com.atlassian.vcache.internal.test.AbstractLocalCacheOperationsTest
 
DefaultExternalCacheDetails - Class in com.atlassian.vcache.internal.core
Default immutable implementation of ExternalCacheDetails.
DefaultExternalCacheDetails(String, ExternalCacheDetails.BufferPolicy, ExternalCacheSettings) - Constructor for class com.atlassian.vcache.internal.core.DefaultExternalCacheDetails
 
DefaultIdentifiedValue<T> - Class in com.atlassian.vcache.internal.core
Implementation of IdentifiedValue
DefaultIdentifiedValue(CasIdentifier, T) - Constructor for class com.atlassian.vcache.internal.core.DefaultIdentifiedValue
 
DefaultJvmCacheDetails - Class in com.atlassian.vcache.internal.core
Default immutable implementation of JvmCacheDetails.
DefaultJvmCacheDetails(String, JvmCacheSettings) - Constructor for class com.atlassian.vcache.internal.core.DefaultJvmCacheDetails
 
DefaultLongMetric - Class in com.atlassian.vcache.internal.core.metrics
Implementation of the LongMetric interface that is NOT multi-thread safe.
DefaultLongMetric() - Constructor for class com.atlassian.vcache.internal.core.metrics.DefaultLongMetric
 
DefaultMetricsCollector - Class in com.atlassian.vcache.internal.core.metrics
Implementation of MetricsCollector.
DefaultMetricsCollector(Supplier<RequestContext>) - Constructor for class com.atlassian.vcache.internal.core.metrics.DefaultMetricsCollector
 
DefaultRequestCacheDetails - Class in com.atlassian.vcache.internal.core
Default immutable implementation of RequestCacheDetails.
DefaultRequestCacheDetails(String) - Constructor for class com.atlassian.vcache.internal.core.DefaultRequestCacheDetails
 
DefaultRequestContext - Class in com.atlassian.vcache.internal.core
An implementation of the RequestContext.
DefaultRequestContext(String) - Constructor for class com.atlassian.vcache.internal.core.DefaultRequestContext
 
defaultsProvider(VCacheSettingsDefaultsProvider) - Method in class com.atlassian.vcache.internal.memcached.MemcachedVCacheServiceSettingsBuilder
Sets the defaults provider.
DefaultTransactionControlManager - Class in com.atlassian.vcache.internal.core
Default implementation of TransactionControlManager.
DefaultTransactionControlManager(Instrumentor, BegunTransactionalActivityHandler) - Constructor for class com.atlassian.vcache.internal.core.DefaultTransactionControlManager
 
defaultTtl(Duration) - Method in class com.atlassian.vcache.ExternalCacheSettingsBuilder
Specifies the default time-to-live for entries to be held in the cache and must be a positive number.
defaultTtl(Duration) - Method in class com.atlassian.vcache.JvmCacheSettingsBuilder
Specifies the default time-to-live for entries to be held in the cache and must be a positive number.
DefaultVCacheCreationHandler - Class in com.atlassian.vcache.internal.core
Implementation of VCacheCreationHandler that enforces maximum allowed values.
DefaultVCacheCreationHandler(int, Duration, int, ChangeRate, ChangeRate) - Constructor for class com.atlassian.vcache.internal.core.DefaultVCacheCreationHandler
 
describeMismatchSafely(CompletionStage<T>, Description) - Method in class com.atlassian.vcache.internal.test.CompletionStageSuccessful
 
describeTo(Description) - Method in class com.atlassian.vcache.internal.test.CacheMetricsMatcher
 
describeTo(Description) - Method in class com.atlassian.vcache.internal.test.CompletionStageSuccessful
 
directCache() - Method in class com.atlassian.vcache.internal.test.AbstractTransactionalExternalCacheIT
 
directCacheRefresh() - Method in class com.atlassian.vcache.internal.test.AbstractTransactionalExternalCacheIT
 
DirectExternalCache<V> - Interface in com.atlassian.vcache
Represents an ExternalCache where all operations are performed directly on the external cache system.
directexternalcache_duplicate_obtain() - Method in class com.atlassian.vcache.internal.test.AbstractVCacheServiceIT
 
directExternalCache_normal_marshaller() - Method in class com.atlassian.vcache.internal.test.AbstractVCacheServiceIT
 
directExternalCache_normal_marshalling() - Method in class com.atlassian.vcache.internal.test.AbstractVCacheServiceIT
 
directGet(String) - Method in class com.atlassian.vcache.internal.core.service.AbstractStableReadExternalCache
Performs a direct get operation against the external cache using the supplied external key.
directGet(String) - Method in class com.atlassian.vcache.internal.core.service.AbstractTransactionalExternalCache
Performs a direct get operation against the external cache using the supplied external key.
directGet(String) - Method in class com.atlassian.vcache.internal.guava.GuavaStableReadExternalCache
 
directGet(String) - Method in class com.atlassian.vcache.internal.guava.GuavaTransactionalExternalCache
 
directGetBulk(Set<String>) - Method in class com.atlassian.vcache.internal.core.service.AbstractStableReadExternalCache
Performs a direct bulk get operation against the external cache using the supplied external keys.
directGetBulk(Set<String>) - Method in class com.atlassian.vcache.internal.core.service.AbstractTransactionalExternalCache
Performs a direct bulk get operation against the external cache using the supplied external keys.
directGetBulk(Set<String>) - Method in class com.atlassian.vcache.internal.guava.GuavaStableReadExternalCache
 
directGetBulk(Set<String>) - Method in class com.atlassian.vcache.internal.guava.GuavaTransactionalExternalCache
 
discardAll(RequestContext) - Method in class com.atlassian.vcache.internal.core.DefaultTransactionControlManager
 
discardAll(RequestContext) - Method in interface com.atlassian.vcache.internal.core.TransactionControlManager
dontExternaliseCache(Function<String, Boolean>) - Method in class com.atlassian.vcache.internal.memcached.MemcachedVCacheServiceSettingsBuilder
Sets the function to determine whether an ExternalCache should really be externalised.
dual_cache_get_set() - Method in class com.atlassian.vcache.internal.test.AbstractStableReadExternalCacheIT
 
dual_cache_get_with_supplier() - Method in class com.atlassian.vcache.internal.test.AbstractStableReadExternalCacheIT
 
dual_cache_get_with_supplier_take2() - Method in class com.atlassian.vcache.internal.test.AbstractStableReadExternalCacheIT
 
dual_cache_getBulk() - Method in class com.atlassian.vcache.internal.test.AbstractStableReadExternalCacheIT
 
dual_getBulk_function() - Method in class com.atlassian.vcache.internal.test.AbstractStableReadExternalCacheIT
 
duplicate_names_different_policys() - Method in class com.atlassian.vcache.internal.test.AbstractVCacheServiceIT
 

E

ElapsedTimer - Class in com.atlassian.vcache.internal.core.metrics
Utility timer for measuring the elapsed time using System.nanoTime().
ElapsedTimer(LongConsumer) - Constructor for class com.atlassian.vcache.internal.core.metrics.ElapsedTimer
Create an instance with a handler to be called with the total elapsed time.
EmptyRequestMetrics - Class in com.atlassian.vcache.internal.core.metrics
An implementation of RequestMetrics that has nothing.
EmptyRequestMetrics() - Constructor for class com.atlassian.vcache.internal.core.metrics.EmptyRequestMetrics
 
EmptyVCacheSettingsDefaultsProvider - Class in com.atlassian.vcache.internal.test
Implementation that returns empty defaults.
EmptyVCacheSettingsDefaultsProvider() - Constructor for class com.atlassian.vcache.internal.test.EmptyVCacheSettingsDefaultsProvider
 
enableAvoidCasOperations() - Method in class com.atlassian.vcache.internal.legacy.LegacyServiceSettingsBuilder
Enable avoiding the use of CAS-style operations.
enableSerializationHack() - Method in class com.atlassian.vcache.internal.guava.GuavaServiceSettingsBuilder
Enable the serialization hack, whereby if an ExternalCache's values are Serializable, then the values are not marshalled before they are passed to the delegate Guava Cache.
enableSerializationHack() - Method in class com.atlassian.vcache.internal.legacy.LegacyServiceSettingsBuilder
Enable the serialization hack, whereby if an ExternalCache's values are Serializable, then the values are not marshalled before they are passed to the delegate Atlassian Cache.
enableSerializationHack() - Method in class com.atlassian.vcache.internal.memcached.MemcachedVCacheServiceSettingsBuilder
Enable the serialization hack, whereby if an ExternalCache's values are Serializable, then the values are not marshalled before they are passed to the delegate Atlassian Cache.
encode(String) - Method in class com.atlassian.vcache.internal.core.ExternalCacheKeyGenerator
Responsible for encoding the plain key using the appropriate algorithm.
encode(String) - Method in class com.atlassian.vcache.internal.core.LoggingExternalCacheKeyGenerator
 
encode(String) - Method in class com.atlassian.vcache.internal.core.PlainExternalCacheKeyGenerator
 
encode(String) - Method in class com.atlassian.vcache.internal.core.Sha1ExternalCacheKeyGenerator
 
ensureCache() - Method in class com.atlassian.vcache.internal.test.AbstractDirectExternalCacheIT
 
ensureCache() - Method in class com.atlassian.vcache.internal.test.AbstractStableReadExternalCacheIT
 
ensureCacheContext() - Method in class com.atlassian.vcache.internal.core.service.AbstractExternalCache
Returns the cache context for the current request.
ensureCacheContext() - Method in class com.atlassian.vcache.internal.guava.GuavaDirectExternalCache
 
ensureCacheContext() - Method in class com.atlassian.vcache.internal.guava.GuavaStableReadExternalCache
 
ensureCacheContext() - Method in class com.atlassian.vcache.internal.guava.GuavaTransactionalExternalCache
 
entryCountHint(int) - Method in class com.atlassian.vcache.ExternalCacheSettingsBuilder
Provides a hint on the expected number of entries to be held in the cache.
entryGrowthRateHint(ChangeRate) - Method in class com.atlassian.vcache.ExternalCacheSettingsBuilder
Provides a hint on the expected change rate for entry additions.
entryKey(String, String, long, String) - Method in class com.atlassian.vcache.internal.core.ExternalCacheKeyGenerator
Generates the key for an individual entry.
equals(Object) - Method in interface com.atlassian.vcache.CasIdentifier
 
equals(Object) - Method in class com.atlassian.vcache.internal.core.cas.IdentifiedData
 
equals(Object) - Method in class com.atlassian.vcache.internal.core.cas.IdentifiedDataBytes
 
equals(Object) - Method in class com.atlassian.vcache.internal.core.cas.IdentifiedDataSerializable
 
exact_getIdentified_removeIf() - Method in class com.atlassian.vcache.internal.test.AbstractDirectExternalCacheIT
Tests where the cas id is genuinely unique, and not just a copy of the original value.
exact_getIdentified_replaceIf() - Method in class com.atlassian.vcache.internal.test.AbstractDirectExternalCacheIT
Tests where the cas id is genuinely unique, and not just a copy of the original value.
existing_remove_get() - Method in class com.atlassian.vcache.internal.test.AbstractTransactionalExternalCacheIT
 
existing_remove_getBulk() - Method in class com.atlassian.vcache.internal.test.AbstractTransactionalExternalCacheIT
 
existing_remove_getSupplier() - Method in class com.atlassian.vcache.internal.test.AbstractTransactionalExternalCacheIT
 
existing_removeAll_get() - Method in class com.atlassian.vcache.internal.test.AbstractTransactionalExternalCacheIT
 
existing_removeAll_getBulk() - Method in class com.atlassian.vcache.internal.test.AbstractTransactionalExternalCacheIT
 
existing_removeAll_getSupplier() - Method in class com.atlassian.vcache.internal.test.AbstractTransactionalExternalCacheIT
 
ExternalCache<V> - Interface in com.atlassian.vcache
Represents an external cache, where the data is ultimately stored in external cache systems like Memcached or Redis.
externalCacheCreation(ExternalCacheDetails) - Method in class com.atlassian.vcache.internal.core.DefaultVCacheCreationHandler
 
externalCacheCreation(ExternalCacheDetails) - Method in interface com.atlassian.vcache.internal.VCacheCreationHandler
Validates the settings for a ExternalCache.
ExternalCacheDetails - Interface in com.atlassian.vcache.internal
Details for a configured ExternalCache
ExternalCacheDetails.BufferPolicy - Enum in com.atlassian.vcache.internal
Represents the different buffering policies for ExternalCache instances.
ExternalCacheException - Exception in com.atlassian.vcache
Represents a failure occurred with an ExternalCache.
ExternalCacheException(ExternalCacheException.Reason) - Constructor for exception com.atlassian.vcache.ExternalCacheException
Creates an instance for the specified reason.
ExternalCacheException(ExternalCacheException.Reason, Throwable) - Constructor for exception com.atlassian.vcache.ExternalCacheException
Creates an instance for the specified reason and cause.
ExternalCacheException.Reason - Enum in com.atlassian.vcache
The reasons for failure.
ExternalCacheKeyGenerator - Class in com.atlassian.vcache.internal.core
Represents the ability to generate the keys used with an external cache.
ExternalCacheKeyGenerator(String) - Constructor for class com.atlassian.vcache.internal.core.ExternalCacheKeyGenerator
 
externalCacheKeyGenerator - Variable in class com.atlassian.vcache.internal.core.service.AbstractVCacheService
 
externalCacheKeyGenerator(ExternalCacheKeyGenerator) - Method in class com.atlassian.vcache.internal.memcached.MemcachedVCacheServiceSettingsBuilder
Set the external cache key generator.
ExternalCacheSettings - Class in com.atlassian.vcache
An immutable representation of settings for an ExternalCache.
ExternalCacheSettingsBuilder - Class in com.atlassian.vcache
Builder for creating ExternalCacheSettings instances.
ExternalCacheSettingsBuilder() - Constructor for class com.atlassian.vcache.ExternalCacheSettingsBuilder
Creates an instance with no settings initialised.
ExternalCacheSettingsBuilder(ExternalCacheSettings) - Constructor for class com.atlassian.vcache.ExternalCacheSettingsBuilder
Constructs an instance initialised with the supplied settings.
externalCacheVersionKey - Variable in class com.atlassian.vcache.internal.core.service.VersionedExternalCacheRequestContext
 
externalCacheVersionKey() - Method in class com.atlassian.vcache.internal.core.service.VersionedExternalCacheRequestContext
 
externalEntryKeyFor(String) - Method in class com.atlassian.vcache.internal.core.service.AbstractExternalCacheRequestContext
 
ExternalWriteOperationsBuffered<V> - Interface in com.atlassian.vcache
Represents the buffered write operations on an ExternalCache.
ExternalWriteOperationsUnbuffered<V> - Interface in com.atlassian.vcache
Represents the unbuffered write operations on an ExternalCache.

F

FactoryUtils - Class in com.atlassian.vcache.internal.core.service
Provides common functionality for factories.
FactoryUtils() - Constructor for class com.atlassian.vcache.internal.core.service.FactoryUtils
 
failed(CompletionStage<T>, Throwable) - Static method in class com.atlassian.vcache.internal.core.VCacheCoreUtils
Returns a failed CompletionStage with the specified cause.
finished(Description) - Method in class com.atlassian.vcache.internal.test.LoggingTestWatcher
 
fold(CompletionStage<T>, Function<T, R>, Function<Throwable, R>) - Static method in class com.atlassian.vcache.VCacheUtils
Syntactic sugar for handling the result (either success or failure) from a CompletionStage.
fold(CompletionStage<T>, BiFunction<T, Throwable, R>) - Static method in class com.atlassian.vcache.VCacheUtils
Syntactic sugar for writing stage.handle(fn).toCompletableFuture().unsafeJoin().
forceNewRequestContext() - Method in class com.atlassian.vcache.internal.test.AbstractVCacheServiceIT
 
forgetAll() - Method in class com.atlassian.vcache.internal.core.service.AbstractExternalCacheRequestContext
 
forgetAllValues() - Method in class com.atlassian.vcache.internal.core.service.AbstractExternalCacheRequestContext
 
forgetValue(String) - Method in class com.atlassian.vcache.internal.core.service.AbstractExternalCacheRequestContext
 

G

get(String) - Method in interface com.atlassian.vcache.ExternalCache
Returns a value that is associated with a specified key.
get(String, Supplier<V>) - Method in interface com.atlassian.vcache.ExternalCache
Returns a value that may be associated with a specified key.
get(Object) - Method in class com.atlassian.vcache.internal.core.DefaultRequestContext
 
get() - Method in class com.atlassian.vcache.internal.core.metrics.TimedSupplier
 
get(String) - Method in class com.atlassian.vcache.internal.core.service.AbstractStableReadExternalCache
 
get(String, Supplier<V>) - Method in class com.atlassian.vcache.internal.core.service.AbstractStableReadExternalCache
 
get(String) - Method in class com.atlassian.vcache.internal.core.service.AbstractTransactionalExternalCache
 
get(String, Supplier<V>) - Method in class com.atlassian.vcache.internal.core.service.AbstractTransactionalExternalCache
 
get(K) - Method in class com.atlassian.vcache.internal.core.service.GuavaJvmCache
 
get(K, Supplier<? extends V>) - Method in class com.atlassian.vcache.internal.core.service.GuavaJvmCache
 
get() - Method in class com.atlassian.vcache.internal.core.ThreadLocalRequestContextSupplier
 
get() - Method in class com.atlassian.vcache.internal.core.WorkContextRequestContextSupplier
 
get(String) - Method in class com.atlassian.vcache.internal.guava.GuavaDirectExternalCache
 
get(String, Supplier<V>) - Method in class com.atlassian.vcache.internal.guava.GuavaDirectExternalCache
 
get(Object) - Method in interface com.atlassian.vcache.internal.RequestContext
Returns the value associated with the specified key, or Optional.empty().
get(K) - Method in interface com.atlassian.vcache.LocalCacheOperations
Returns a value that is associated with a specified key.
get(K, Supplier<? extends V>) - Method in interface com.atlassian.vcache.LocalCacheOperations
Returns a value that may be associated with a specified key.
get_fails_and_getBulk_succeeds() - Method in class com.atlassian.vcache.internal.test.AbstractStableReadExternalCacheIT
 
get_remove_concurrently() - Method in class com.atlassian.vcache.internal.test.AbstractJvmCacheTest
 
getBegunTransactionalActivityHandler() - Method in class com.atlassian.vcache.internal.memcached.MemcachedVCacheServiceSettings
 
getBulk(String...) - Method in interface com.atlassian.vcache.ExternalCache
Returns the values that are associated with the specified keys.
getBulk(Iterable<String>) - Method in interface com.atlassian.vcache.ExternalCache
Returns the values that are associated with the specified keys.
getBulk(Function<Set<String>, Map<String, V>>, String...) - Method in interface com.atlassian.vcache.ExternalCache
Returns the values that are associated with the specified keys.
getBulk(Function<Set<String>, Map<String, V>>, Iterable<String>) - Method in interface com.atlassian.vcache.ExternalCache
Returns the values that are associated with the specified keys.
getBulk(Iterable<String>) - Method in class com.atlassian.vcache.internal.core.service.AbstractStableReadExternalCache
 
getBulk(Function<Set<String>, Map<String, V>>, Iterable<String>) - Method in class com.atlassian.vcache.internal.core.service.AbstractStableReadExternalCache
 
getBulk(Iterable<String>) - Method in class com.atlassian.vcache.internal.core.service.AbstractTransactionalExternalCache
 
getBulk(Function<Set<String>, Map<String, V>>, Iterable<String>) - Method in class com.atlassian.vcache.internal.core.service.AbstractTransactionalExternalCache
 
getBulk(Function<Set<K>, Map<K, V>>, K...) - Method in class com.atlassian.vcache.internal.core.service.GuavaJvmCache
 
getBulk(Function<Set<K>, Map<K, V>>, Iterable<K>) - Method in class com.atlassian.vcache.internal.core.service.GuavaJvmCache
 
getBulk(Function<Set<K>, Map<K, V>>, Iterable<K>, Function<K, Optional<V>>, Function<LocalCacheUtils.PutArgs<K, V>, Optional<V>>, VCacheLock) - Static method in class com.atlassian.vcache.internal.core.service.LocalCacheUtils
Performs a bulk get.
getBulk(Iterable<String>) - Method in class com.atlassian.vcache.internal.guava.GuavaDirectExternalCache
 
getBulk(Function<Set<String>, Map<String, V>>, Iterable<String>) - Method in class com.atlassian.vcache.internal.guava.GuavaDirectExternalCache
 
getBulk(Function<Set<K>, Map<K, V>>, K...) - Method in interface com.atlassian.vcache.LocalCacheOperations
Returns the values that are associated with the specified keys.
getBulk(Function<Set<K>, Map<K, V>>, Iterable<K>) - Method in interface com.atlassian.vcache.LocalCacheOperations
Returns the values that are associated with the specified keys.
getBulk_fail_and_get_succeed() - Method in class com.atlassian.vcache.internal.test.AbstractStableReadExternalCacheIT
 
getBulk_getBulkFunction_directPut_sync() - Method in class com.atlassian.vcache.internal.test.AbstractTransactionalExternalCacheIT
 
getBulk_pass_and_get_reuse() - Method in class com.atlassian.vcache.internal.test.AbstractStableReadExternalCacheIT
 
getBulkFactory() - Method in class com.atlassian.vcache.internal.test.AbstractLocalCacheOperationsTest
 
getBulkIdentified(String...) - Method in interface com.atlassian.vcache.DirectExternalCache
Returns the IdentifiedValue's that are associated with the specified keys.
getBulkIdentified(Iterable<String>) - Method in interface com.atlassian.vcache.DirectExternalCache
Returns the IdentifiedValue's that are associated with the specified keys.
getBulkIdentified(Iterable<String>) - Method in class com.atlassian.vcache.internal.guava.GuavaDirectExternalCache
 
getBytes() - Method in class com.atlassian.vcache.internal.core.cas.IdentifiedDataBytes
 
getClientSupplier() - Method in class com.atlassian.vcache.internal.memcached.MemcachedVCacheServiceSettings
 
getContextSupplier() - Method in class com.atlassian.vcache.internal.memcached.MemcachedVCacheServiceSettings
 
getCreationHandler() - Method in class com.atlassian.vcache.internal.memcached.MemcachedVCacheServiceSettings
 
getDataChangeRateHint() - Method in class com.atlassian.vcache.ExternalCacheSettings
Returns the hint for the expected change rate for data updates.
getDefaultsProvider() - Method in class com.atlassian.vcache.internal.memcached.MemcachedVCacheServiceSettings
 
getDefaultTtl() - Method in class com.atlassian.vcache.ExternalCacheSettings
Returns the default time-to-live for entries when added.
getDefaultTtl() - Method in class com.atlassian.vcache.JvmCacheSettings
Returns the default time-to-live for entries when added.
getDescription() - Method in enum com.atlassian.vcache.internal.MetricLabel
 
getDirectExternalCache(String, MarshallingPair<V>, ExternalCacheSettings) - Method in class com.atlassian.vcache.internal.core.service.AbstractVCacheService
 
getDirectExternalCache(String, Marshaller<V>, ExternalCacheSettings) - Method in class com.atlassian.vcache.internal.core.service.AbstractVCacheService
 
getDirectExternalCache(String, Marshaller<V>, ExternalCacheSettings) - Method in interface com.atlassian.vcache.VCacheFactory
getDirectExternalCache(String, MarshallingPair<V>, ExternalCacheSettings) - Method in interface com.atlassian.vcache.VCacheFactory
Obtains a DirectExternalCache with the specified details.
getDontExternaliseCache() - Method in class com.atlassian.vcache.internal.memcached.MemcachedVCacheServiceSettings
 
getEntryCountHint() - Method in class com.atlassian.vcache.ExternalCacheSettings
Returns the hint for the expected number of entries
getEntryGrowthRateHint() - Method in class com.atlassian.vcache.ExternalCacheSettings
Returns the hint for the expected change rate for entry additions.
getExternalCache(VCacheFactory, String, Class<T>) - Static method in class com.atlassian.vcache.internal.test.utils.VCacheTestHelper
Build DirectExternalCache and set up mockito expectations for appropriate calls of VCacheFactory
getExternalCache(VCacheFactory, String, Class<T>, ExternalCacheSettings) - Static method in class com.atlassian.vcache.internal.test.utils.VCacheTestHelper
Build DirectExternalCache and set up mockito expectations for appropriate calls of VCacheFactory
getExternalCacheKeyGenerator() - Method in class com.atlassian.vcache.internal.memcached.MemcachedVCacheServiceSettings
 
getExternalDefaults(String) - Method in class com.atlassian.vcache.internal.test.EmptyVCacheSettingsDefaultsProvider
 
getExternalDefaults(String) - Method in interface com.atlassian.vcache.internal.VCacheSettingsDefaultsProvider
Obtain the default settings for an ExternalCache.
getFactory() - Static method in class com.atlassian.vcache.internal.test.utils.VCacheTestHelper
Build VCacheFactory and set-up all necessary context.
getFactory(Supplier<RequestContext>) - Static method in class com.atlassian.vcache.internal.test.utils.VCacheTestHelper
Build VCacheFactory and set-up all necessary context.
getGlobalLock() - Method in class com.atlassian.vcache.internal.core.service.AbstractExternalCacheRequestContext
 
getIdentified(String) - Method in interface com.atlassian.vcache.DirectExternalCache
Returns an identified value that is associated with a specified key.
getIdentified(String, Supplier<V>) - Method in interface com.atlassian.vcache.DirectExternalCache
Returns an identified value that is associated with a specified key.
getIdentified(String) - Method in class com.atlassian.vcache.internal.guava.GuavaDirectExternalCache
 
getIdentified(String, Supplier<V>) - Method in class com.atlassian.vcache.internal.guava.GuavaDirectExternalCache
 
getJvmCache(String, JvmCacheSettings) - Method in class com.atlassian.vcache.internal.core.service.AbstractVCacheService
 
getJvmCache(VCacheFactory, String) - Static method in class com.atlassian.vcache.internal.test.utils.VCacheTestHelper
Build JvmCache and set up mockito expectations for appropriate calls of VCacheFactory
getJvmCache(VCacheFactory, String, JvmCacheSettings) - Static method in class com.atlassian.vcache.internal.test.utils.VCacheTestHelper
Build JvmCache and set up mockito expectations for appropriate calls of VCacheFactory
getJvmCache(String, JvmCacheSettings) - Method in interface com.atlassian.vcache.VCacheFactory
Obtains a JvmCache with the specified details.
getJvmDefaults(String) - Method in class com.atlassian.vcache.internal.test.EmptyVCacheSettingsDefaultsProvider
 
getJvmDefaults(String) - Method in interface com.atlassian.vcache.internal.VCacheSettingsDefaultsProvider
Obtain the default settings for a JvmCache.
getKeyedOperations() - Method in class com.atlassian.vcache.internal.core.service.AbstractExternalCacheRequestContext
 
getKeys() - Method in class com.atlassian.vcache.internal.core.service.GuavaJvmCache
 
getKeys() - Method in interface com.atlassian.vcache.JvmCache
Gets the keys of all objects currently stored in the cache.
getLockTimeout() - Method in class com.atlassian.vcache.internal.guava.GuavaServiceSettings
 
getLockTimeout() - Method in class com.atlassian.vcache.internal.legacy.LegacyServiceSettings
 
getLockTimeout() - Method in class com.atlassian.vcache.internal.memcached.MemcachedVCacheServiceSettings
 
getLogger() - Method in class com.atlassian.vcache.internal.core.service.AbstractExternalCache
Returns the logging instance for the implementation class.
getLogger() - Method in class com.atlassian.vcache.internal.guava.GuavaDirectExternalCache
 
getLogger() - Method in class com.atlassian.vcache.internal.guava.GuavaStableReadExternalCache
 
getLogger() - Method in class com.atlassian.vcache.internal.guava.GuavaTransactionalExternalCache
 
getMaxEntries() - Method in class com.atlassian.vcache.JvmCacheSettings
Returns the maximum number of entries allowed.
getMaxSample() - Method in class com.atlassian.vcache.internal.core.metrics.DefaultLongMetric
 
getMaxSample() - Method in interface com.atlassian.vcache.internal.LongMetric
Returns the maximum sample value recorded.
getMetricsCollector() - Method in class com.atlassian.vcache.internal.memcached.MemcachedVCacheServiceSettings
 
getMinSample() - Method in class com.atlassian.vcache.internal.core.metrics.DefaultLongMetric
 
getMinSample() - Method in interface com.atlassian.vcache.internal.LongMetric
Returns the minimum sample value recorded.
getName() - Method in class com.atlassian.vcache.internal.core.DefaultExternalCacheDetails
 
getName() - Method in class com.atlassian.vcache.internal.core.DefaultJvmCacheDetails
 
getName() - Method in class com.atlassian.vcache.internal.core.DefaultRequestCacheDetails
 
getName() - Method in class com.atlassian.vcache.internal.core.service.AbstractExternalCache
 
getName() - Method in class com.atlassian.vcache.internal.core.service.GuavaJvmCache
 
getName() - Method in interface com.atlassian.vcache.internal.ExternalCacheDetails
The name of the cache, uniquely identifies this cache.
getName() - Method in interface com.atlassian.vcache.internal.JvmCacheDetails
 
getName() - Method in interface com.atlassian.vcache.internal.RequestCacheDetails
 
getName() - Method in interface com.atlassian.vcache.VCache
The name of the cache, uniquely identifies this cache.
getObject() - Method in class com.atlassian.vcache.internal.core.cas.IdentifiedDataSerializable
 
getPolicy() - Method in class com.atlassian.vcache.internal.core.DefaultExternalCacheDetails
 
getPolicy() - Method in class com.atlassian.vcache.internal.core.service.AbstractExternalCacheRequestContext.DeferredOperation
 
getPolicy() - Method in interface com.atlassian.vcache.internal.ExternalCacheDetails
 
getProxiedFactory() - Static method in class com.atlassian.vcache.internal.test.utils.VCacheTestHelper
Build VCacheFactory and set-up all necessary context.
getReason() - Method in exception com.atlassian.vcache.ExternalCacheException
Returns the reason for failure.
getRequestCache(String) - Method in class com.atlassian.vcache.internal.core.service.AbstractVCacheService
 
getRequestCache(String) - Method in interface com.atlassian.vcache.VCacheFactory
Obtains a RequestCache with the specified details.
getSampleCount() - Method in class com.atlassian.vcache.internal.core.metrics.DefaultLongMetric
 
getSampleCount() - Method in interface com.atlassian.vcache.internal.LongMetric
Returns the number of samples recorded.
getSamplesTotal() - Method in class com.atlassian.vcache.internal.core.metrics.DefaultLongMetric
 
getSamplesTotal() - Method in interface com.atlassian.vcache.internal.LongMetric
Returns the total of all samples recorded.
getSettings() - Method in class com.atlassian.vcache.internal.core.DefaultExternalCacheDetails
 
getSettings() - Method in class com.atlassian.vcache.internal.core.DefaultJvmCacheDetails
 
getSettings() - Method in interface com.atlassian.vcache.internal.ExternalCacheDetails
 
getSettings() - Method in interface com.atlassian.vcache.internal.JvmCacheDetails
 
getStableReadExternalCache(String, MarshallingPair<V>, ExternalCacheSettings) - Method in class com.atlassian.vcache.internal.core.service.AbstractVCacheService
 
getStableReadExternalCache(String, Marshaller<V>, ExternalCacheSettings) - Method in class com.atlassian.vcache.internal.core.service.AbstractVCacheService
 
getStableReadExternalCache(String, Marshaller<V>, ExternalCacheSettings) - Method in interface com.atlassian.vcache.VCacheFactory
getStableReadExternalCache(String, MarshallingPair<V>, ExternalCacheSettings) - Method in interface com.atlassian.vcache.VCacheFactory
Obtains a StableReadExternalCache with the specified details.
getSupplier_removeAll_get() - Method in class com.atlassian.vcache.internal.test.AbstractTransactionalExternalCacheIT
 
getSupplier_removeAll_getBulk_getBulk() - Method in class com.atlassian.vcache.internal.test.AbstractTransactionalExternalCacheIT
 
getSupplier_removeAll_getSupplier_getSupplier() - Method in class com.atlassian.vcache.internal.test.AbstractTransactionalExternalCacheIT
 
getTransactionalCache(VCacheFactory, String, Class<T>) - Static method in class com.atlassian.vcache.internal.test.utils.VCacheTestHelper
Build TransactionalExternalCache and set up mockito expectations for appropriate calls of VCacheFactory
getTransactionalCache(VCacheFactory, String, Class<T>, ExternalCacheSettings) - Static method in class com.atlassian.vcache.internal.test.utils.VCacheTestHelper
Build TransactionalExternalCache and set up mockito expectations for appropriate calls of VCacheFactory
getTransactionalExternalCache(String, MarshallingPair<V>, ExternalCacheSettings) - Method in class com.atlassian.vcache.internal.core.service.AbstractVCacheService
 
getTransactionalExternalCache(String, Marshaller<V>, ExternalCacheSettings) - Method in class com.atlassian.vcache.internal.core.service.AbstractVCacheService
 
getTransactionalExternalCache(String, Marshaller<V>, ExternalCacheSettings) - Method in interface com.atlassian.vcache.VCacheFactory
getTransactionalExternalCache(String, MarshallingPair<V>, ExternalCacheSettings) - Method in interface com.atlassian.vcache.VCacheFactory
Obtains a TransactionalExternalCache with the specified details.
getValue() - Method in class com.atlassian.vcache.internal.core.service.AbstractExternalCacheRequestContext.DeferredOperation
 
getValueRecorded(String) - Method in class com.atlassian.vcache.internal.core.service.AbstractExternalCacheRequestContext
 
getWorkContextContextSupplier() - Method in class com.atlassian.vcache.internal.memcached.MemcachedVCacheServiceSettings
 
GsonJsonableFactory - Class in com.atlassian.vcache.internal.core.metrics
Implementation of JsonableFactory that uses the Google Gson library.
GsonJsonableFactory() - Constructor for class com.atlassian.vcache.internal.core.metrics.GsonJsonableFactory
 
GuavaDirectExternalCache<V> - Class in com.atlassian.vcache.internal.guava
Guava based implementation of DirectExternalCache.
GuavaDirectExternalCache(String, Cache<String, IdentifiedData>, Supplier<RequestContext>, ExternalCacheKeyGenerator, Optional<MarshallingPair<V>>, Duration) - Constructor for class com.atlassian.vcache.internal.guava.GuavaDirectExternalCache
 
GuavaJvmCache<K,V> - Class in com.atlassian.vcache.internal.core.service
Implementation of the JvmCache that uses Guava.
GuavaJvmCache(String, JvmCacheSettings, Duration) - Constructor for class com.atlassian.vcache.internal.core.service.GuavaJvmCache
Creates an instance.
GuavaServiceSettings - Class in com.atlassian.vcache.internal.guava
Represents the settings for the Guava service.
GuavaServiceSettingsBuilder - Class in com.atlassian.vcache.internal.guava
Builder for GuavaServiceSettings instances.
GuavaServiceSettingsBuilder() - Constructor for class com.atlassian.vcache.internal.guava.GuavaServiceSettingsBuilder
 
GuavaStableReadExternalCache<V> - Class in com.atlassian.vcache.internal.guava
Guava implementation of StableReadExternalCache.
GuavaStableReadExternalCache(String, Cache<String, IdentifiedData>, Supplier<RequestContext>, ExternalCacheKeyGenerator, Optional<MarshallingPair<V>>, MetricsRecorder, Duration) - Constructor for class com.atlassian.vcache.internal.guava.GuavaStableReadExternalCache
 
GuavaTestServiceSettings - Class in com.atlassian.vcache.internal.guava
Wrapper of GuavaServiceSettings, available for test utils.
GuavaTestServiceSettings(boolean, Duration) - Constructor for class com.atlassian.vcache.internal.guava.GuavaTestServiceSettings
 
GuavaTransactionalExternalCache<V> - Class in com.atlassian.vcache.internal.guava
Guava implementation of a TransactionalExternalCache.
GuavaTransactionalExternalCache(String, Cache<String, IdentifiedData>, Supplier<RequestContext>, ExternalCacheKeyGenerator, Optional<MarshallingPair<V>>, TransactionControlManager, MetricsRecorder, Duration) - Constructor for class com.atlassian.vcache.internal.guava.GuavaTransactionalExternalCache
 
GuavaUtils - Class in com.atlassian.vcache.internal.guava
Common utility methods that are specific for the Legacy implementation.
GuavaUtils() - Constructor for class com.atlassian.vcache.internal.guava.GuavaUtils
 
GuavaVCacheService - Class in com.atlassian.vcache.internal.guava
Main service that is backed by Guava.
GuavaVCacheService(String, Supplier<RequestContext>, Supplier<RequestContext>, VCacheSettingsDefaultsProvider, VCacheCreationHandler, MetricsCollector, GuavaServiceSettings, BegunTransactionalActivityHandler) - Constructor for class com.atlassian.vcache.internal.guava.GuavaVCacheService
 
GuavaVCacheService(Supplier<RequestContext>, Supplier<RequestContext>, VCacheSettingsDefaultsProvider, VCacheCreationHandler, MetricsCollector, ExternalCacheKeyGenerator, GuavaServiceSettings, BegunTransactionalActivityHandler) - Constructor for class com.atlassian.vcache.internal.guava.GuavaVCacheService
 

H

handle_legal_recursion_factory() - Method in class com.atlassian.vcache.internal.test.AbstractLocalCacheOperationsTest
 
handle_legal_recursion_supplier() - Method in class com.atlassian.vcache.internal.test.AbstractLocalCacheOperationsTest
 
handle_legal_recursive_get_supplier() - Method in class com.atlassian.vcache.internal.test.AbstractVCacheServiceIT
 
handle_legal_recursive_get_supplier2() - Method in class com.atlassian.vcache.internal.test.AbstractVCacheServiceIT
 
handle_recursion_supplier() - Method in class com.atlassian.vcache.internal.test.AbstractRequestCacheTest
 
handleCreation(String, V) - Method in class com.atlassian.vcache.internal.core.service.AbstractStableReadExternalCache
Handles the creation of an entry, if required.
handleCreation(String, V) - Method in class com.atlassian.vcache.internal.guava.GuavaStableReadExternalCache
 
hashCode() - Method in class com.atlassian.vcache.internal.core.cas.IdentifiedDataBytes
 
hashCode() - Method in class com.atlassian.vcache.internal.core.cas.IdentifiedDataSerializable
 
hasMetric(MetricLabel, Matcher<Long>, Matcher<Long>) - Static method in class com.atlassian.vcache.internal.test.CacheMetricsMatcher
 
hasPendingOperations() - Method in class com.atlassian.vcache.internal.core.service.AbstractExternalCacheRequestContext
 
hasRemoveAll() - Method in class com.atlassian.vcache.internal.core.service.AbstractExternalCacheRequestContext
 
hasSize(Matcher<Integer>) - Static method in class com.atlassian.vcache.internal.test.CacheMetricsMatcher
 

I

IdentifiedData - Class in com.atlassian.vcache.internal.core.cas
Implementation of CasIdentifier that uses current time as the unique identifier.
IdentifiedData() - Constructor for class com.atlassian.vcache.internal.core.cas.IdentifiedData
 
IdentifiedDataBytes - Class in com.atlassian.vcache.internal.core.cas
Implementation of IdentifiedData that holds an array of bytes.
IdentifiedDataBytes(byte[]) - Constructor for class com.atlassian.vcache.internal.core.cas.IdentifiedDataBytes
 
IdentifiedDataSerializable - Class in com.atlassian.vcache.internal.core.cas
Implementation of IdentifiedData that hold a Serializable object.
IdentifiedDataSerializable(Serializable) - Constructor for class com.atlassian.vcache.internal.core.cas.IdentifiedDataSerializable
 
IdentifiedUtils - Class in com.atlassian.vcache.internal.core.cas
Contains common methods for dealing with IdentifiedData.
IdentifiedUtils() - Constructor for class com.atlassian.vcache.internal.core.cas.IdentifiedUtils
 
IdentifiedValue<T> - Interface in com.atlassian.vcache
Represents a value that has an associated CasIdentifier that can be used for "compare-and-swap" operations.
identifier() - Method in interface com.atlassian.vcache.IdentifiedValue
Returns the CasIdentifier associated with the value.
identifier() - Method in class com.atlassian.vcache.internal.core.DefaultIdentifiedValue
 
init() - Method in class com.atlassian.vcache.internal.test.AbstractLocalCacheOperationsTest
 
initThread(String) - Method in class com.atlassian.vcache.internal.core.ThreadLocalRequestContextSupplier
Initialises the thread's RequestContext.
Instrumentor - Interface in com.atlassian.vcache.internal.core
Provides methods to wrap standard VCache types for instrumentation.
internalEntryKeyFor(String) - Method in class com.atlassian.vcache.internal.core.service.AbstractExternalCacheRequestContext
Returns the internal key for a supplied external key.
internalPut(String, V, PutPolicy) - Method in class com.atlassian.vcache.internal.core.service.AbstractStableReadExternalCache
 
internalPut(String, V, PutPolicy) - Method in class com.atlassian.vcache.internal.guava.GuavaStableReadExternalCache
 
internalRemove(Iterable<String>) - Method in class com.atlassian.vcache.internal.core.service.AbstractStableReadExternalCache
 
internalRemove(Iterable<String>) - Method in class com.atlassian.vcache.internal.guava.GuavaStableReadExternalCache
 
internalRemoveAll() - Method in class com.atlassian.vcache.internal.core.service.AbstractStableReadExternalCache
 
internalRemoveAll() - Method in class com.atlassian.vcache.internal.guava.GuavaStableReadExternalCache
 
invocationsOfBegunTxns - Variable in class com.atlassian.vcache.internal.test.AbstractVCacheServiceIT
 
isAvoidCasOps() - Method in class com.atlassian.vcache.internal.legacy.LegacyServiceSettings
 
isEmpty(Iterable<K>) - Static method in class com.atlassian.vcache.internal.core.VCacheCoreUtils
 
isPut() - Method in class com.atlassian.vcache.internal.core.service.AbstractExternalCacheRequestContext.DeferredOperation
 
isRemove() - Method in class com.atlassian.vcache.internal.core.service.AbstractExternalCacheRequestContext.DeferredOperation
 
isSerializationHack() - Method in class com.atlassian.vcache.internal.guava.GuavaServiceSettings
 
isSerializationHack() - Method in class com.atlassian.vcache.internal.legacy.LegacyServiceSettings
 
isSerializationHack() - Method in class com.atlassian.vcache.internal.memcached.MemcachedVCacheServiceSettings
 
isValidCacheName(String) - Static method in class com.atlassian.vcache.internal.NameValidator
Returns whether the specified name is valid for a cache.
isValidKeyName(String) - Static method in class com.atlassian.vcache.internal.NameValidator
Returns whether the specified name is valid for a key.
isValidPartitionIdentifier(String) - Static method in class com.atlassian.vcache.internal.NameValidator
Returns whether the specified name is valid for a partition identifier.
isValidProductIdentifier(String) - Static method in class com.atlassian.vcache.internal.NameValidator
Returns whether the specified name is valid for a product identifier.

J

JacksonJsonableFactory - Class in com.atlassian.vcache.internal.core.metrics
Implementation of JsonableFactory that uses the Jackson library.
JacksonJsonableFactory() - Constructor for class com.atlassian.vcache.internal.core.metrics.JacksonJsonableFactory
 
join(CompletionStage<V>) - Static method in class com.atlassian.vcache.VCacheUtils
Deprecated.
since 1.5.0 - use VCacheUtils.unsafeJoin(CompletionStage) instead (if you must).
JsonableFactory - Interface in com.atlassian.vcache.internal
Represents a factory for building Jsonable instances for a supplied RequestMetrics.
JvmCache<K,V> - Interface in com.atlassian.vcache
Interface that defines the JVM cache operations.
jvmCache_normal() - Method in class com.atlassian.vcache.internal.test.AbstractVCacheServiceIT
 
jvmCacheCreation(JvmCacheDetails) - Method in class com.atlassian.vcache.internal.core.DefaultVCacheCreationHandler
 
jvmCacheCreation(JvmCacheDetails) - Method in interface com.atlassian.vcache.internal.VCacheCreationHandler
Validates the settings for a JvmCache.
JvmCacheDetails - Interface in com.atlassian.vcache.internal
Details for a configured JvmCache
JvmCacheSettings - Class in com.atlassian.vcache
An immutable representation of settings for an JvmCache.
JvmCacheSettingsBuilder - Class in com.atlassian.vcache
Builder for creating JvmCacheSettings instances.
JvmCacheSettingsBuilder() - Constructor for class com.atlassian.vcache.JvmCacheSettingsBuilder
Creates an instance with no settings initialised.
JvmCacheSettingsBuilder(JvmCacheSettings) - Constructor for class com.atlassian.vcache.JvmCacheSettingsBuilder
Constructs an instance initialised with the supplied settings.

K

key - Variable in class com.atlassian.vcache.internal.core.service.LocalCacheUtils.PutArgs
 

L

LegacyServiceSettings - Class in com.atlassian.vcache.internal.legacy
Represents the settings for the legacy service.
LegacyServiceSettingsBuilder - Class in com.atlassian.vcache.internal.legacy
Builder for LegacyServiceSettings instances.
LegacyServiceSettingsBuilder() - Constructor for class com.atlassian.vcache.internal.legacy.LegacyServiceSettingsBuilder
 
LegacyVCacheService - Class in com.atlassian.vcache.internal.legacy
Main service that is backed by Atlassian Cache.
LegacyVCacheService(String, Supplier<RequestContext>, Supplier<RequestContext>, VCacheSettingsDefaultsProvider, VCacheCreationHandler, MetricsCollector, Supplier<CacheFactory>, LegacyServiceSettings, BegunTransactionalActivityHandler) - Constructor for class com.atlassian.vcache.internal.legacy.LegacyVCacheService
 
LegacyVCacheService(Supplier<RequestContext>, Supplier<RequestContext>, VCacheSettingsDefaultsProvider, VCacheCreationHandler, MetricsCollector, ExternalCacheKeyGenerator, Supplier<CacheFactory>, LegacyServiceSettings, BegunTransactionalActivityHandler) - Constructor for class com.atlassian.vcache.internal.legacy.LegacyVCacheService
 
lenientSupplier(Supplier<String>) - Static method in class com.atlassian.vcache.internal.core.ThreadLocalRequestContextSupplier
Returns a lenient supplier, which will break TransactionalExternalCaches.
LocalCacheOperations<K,V> - Interface in com.atlassian.vcache
Represents the common operations that can be performed on a JVM local cache.
LocalCacheUtils - Class in com.atlassian.vcache.internal.core.service
Provides common functionality for local cache operations.
LocalCacheUtils() - Constructor for class com.atlassian.vcache.internal.core.service.LocalCacheUtils
 
LocalCacheUtils.PutArgs<K,V> - Class in com.atlassian.vcache.internal.core.service
Arguments for a put operation
lockTimeout - Variable in class com.atlassian.vcache.internal.core.service.AbstractExternalCache
 
lockTimeout - Variable in class com.atlassian.vcache.internal.core.service.AbstractVCacheService
 
lockTimeout(Duration) - Method in class com.atlassian.vcache.internal.guava.GuavaServiceSettingsBuilder
Change the timeout that is used when acquiring locks.
lockTimeout(Duration) - Method in class com.atlassian.vcache.internal.legacy.LegacyServiceSettingsBuilder
Change the timeout that is used when acquiring locks.
lockTimeout(Duration) - Method in class com.atlassian.vcache.internal.memcached.MemcachedVCacheServiceSettingsBuilder
Change the timeout that is used when acquiring locks.
log() - Method in class com.atlassian.vcache.internal.core.service.AbstractVCacheService
Returns the logger for the implementation service.
log() - Method in class com.atlassian.vcache.internal.guava.GuavaVCacheService
 
log() - Method in class com.atlassian.vcache.internal.legacy.LegacyVCacheService
 
log() - Method in class com.atlassian.vcache.internal.memcached.MemcachedVCacheService
 
log() - Method in class com.atlassian.vcache.internal.redis.RedisVCacheService
 
LoggingExternalCacheKeyGenerator - Class in com.atlassian.vcache.internal.core
Implementation of ExternalCacheKeyGenerator that logs at debug level the key before and after.
LoggingExternalCacheKeyGenerator(String, ExternalCacheKeyGenerator) - Constructor for class com.atlassian.vcache.internal.core.LoggingExternalCacheKeyGenerator
 
LoggingTestWatcher - Class in com.atlassian.vcache.internal.test
Logs the start and finish of tests.
LoggingTestWatcher(Logger) - Constructor for class com.atlassian.vcache.internal.test.LoggingTestWatcher
 
LongMetric - Interface in com.atlassian.vcache.internal
A metric for tracking Long values.

M

main(String[]) - Static method in class com.atlassian.vcache.internal.harness.StressHarness
 
mapException(Exception) - Method in class com.atlassian.vcache.internal.core.service.AbstractExternalCache
Maps a generic Exception to a corresponding ExternalCacheException.
mapException(Exception) - Method in class com.atlassian.vcache.internal.guava.GuavaDirectExternalCache
 
mapException(Exception) - Method in class com.atlassian.vcache.internal.guava.GuavaStableReadExternalCache
 
mapException(Exception) - Method in class com.atlassian.vcache.internal.guava.GuavaTransactionalExternalCache
 
marshall(V, Optional<MarshallingPair<V>>) - Static method in class com.atlassian.vcache.internal.core.cas.IdentifiedUtils
 
marshall(V, MarshallingPair<V>) - Static method in class com.atlassian.vcache.internal.core.VCacheCoreUtils
 
marshall(T) - Method in interface com.atlassian.vcache.Marshaller
Deprecated.
Responsible for converting a object into an array of bytes.
Marshaller<T> - Interface in com.atlassian.vcache
Deprecated.
since 1.5.0. Use the Atlassian Marshalling API and implementations instead.
MarshallerException - Exception in com.atlassian.vcache
Deprecated.
since 1.5.0. Use the Atlassian Marshalling API and implementations instead.
MarshallerException(String) - Constructor for exception com.atlassian.vcache.MarshallerException
Deprecated.
Creates an instance with the supplied message.
MarshallerException(String, Throwable) - Constructor for exception com.atlassian.vcache.MarshallerException
Deprecated.
Creates an instance with the supplied message and causing Throwable.
MarshallerFactory - Class in com.atlassian.vcache.marshallers
Deprecated.
since 1.5.0. Use the Atlassian Marshalling API and implementations instead.
MarshallerFactory() - Constructor for class com.atlassian.vcache.marshallers.MarshallerFactory
Deprecated.
 
marshallToBytes(T) - Method in interface com.atlassian.vcache.Marshaller
Deprecated.
 
matchesSafely(EnumMap<MetricLabel, ? extends LongMetric>, Description) - Method in class com.atlassian.vcache.internal.test.CacheMetricsMatcher
 
matchesSafely(CompletionStage<T>) - Method in class com.atlassian.vcache.internal.test.CompletionStageSuccessful
 
MAX_ENTRIES - Static variable in class com.atlassian.vcache.internal.test.AbstractVCacheServiceIT
 
MAX_TTL - Static variable in class com.atlassian.vcache.internal.test.AbstractVCacheServiceIT
 
maxEntries(int) - Method in class com.atlassian.vcache.JvmCacheSettingsBuilder
Specifies the maximum number of entries to be held in the cache.
MemcachedVCacheService - Class in com.atlassian.vcache.internal.memcached
Main service that is backed by Memcached.
MemcachedVCacheService(MemcachedVCacheServiceSettings) - Constructor for class com.atlassian.vcache.internal.memcached.MemcachedVCacheService
Creates an instance using the supplied settings.
MemcachedVCacheServiceSettings - Class in com.atlassian.vcache.internal.memcached
Represents the settings for a MemcachedVCacheService.
MemcachedVCacheServiceSettingsBuilder - Class in com.atlassian.vcache.internal.memcached
Builder for creating MemcachedVCacheServiceSettings instances.
MemcachedVCacheServiceSettingsBuilder() - Constructor for class com.atlassian.vcache.internal.memcached.MemcachedVCacheServiceSettingsBuilder
 
MetricLabel - Enum in com.atlassian.vcache.internal
Represents all the metrics.
metrics(RequestContext) - Method in class com.atlassian.vcache.internal.core.service.AbstractVCacheService
 
metrics(RequestContext) - Method in interface com.atlassian.vcache.internal.VCacheLifecycleManager
Return the cache metrics for the supplied context.
MetricsCollector - Interface in com.atlassian.vcache.internal.core.metrics
Provides the ability to collect and obtain metrics at the RequestContext level.
metricsCollector - Variable in class com.atlassian.vcache.internal.core.service.AbstractVCacheService
 
metricsCollector(MetricsCollector) - Method in class com.atlassian.vcache.internal.memcached.MemcachedVCacheServiceSettingsBuilder
Sets the metrics collector.
MetricsRecorder - Interface in com.atlassian.vcache.internal.core.metrics
Provides the ability to record metrics for a cache.
metricsRecorder - Variable in class com.atlassian.vcache.internal.core.service.AbstractStableReadExternalCache
 
metricsRecorder - Variable in class com.atlassian.vcache.internal.core.service.AbstractTransactionalExternalCache
 

N

name - Variable in class com.atlassian.vcache.internal.core.service.AbstractExternalCache
 
name - Variable in class com.atlassian.vcache.internal.core.service.AbstractExternalCacheRequestContext
 
NameValidator - Class in com.atlassian.vcache.internal
Provides utility methods to validate a name as being legitimate for use with VCache.
NameValidator() - Constructor for class com.atlassian.vcache.internal.NameValidator
 
NoopMetricsCollector - Class in com.atlassian.vcache.internal.core.metrics
An implementation of MetricsCollector that collects nothing.
NoopMetricsCollector() - Constructor for class com.atlassian.vcache.internal.core.metrics.NoopMetricsCollector
 

O

obtainDirectCache(String, ExternalCacheSettings) - Method in class com.atlassian.vcache.internal.test.AbstractStableReadExternalCacheIT
 
obtainMetrics(RequestContext) - Method in class com.atlassian.vcache.internal.core.metrics.SamplingMetricsCollector
 
obtainRequestMetrics(RequestContext) - Method in class com.atlassian.vcache.internal.core.metrics.DefaultMetricsCollector
 
obtainRequestMetrics(RequestContext) - Method in interface com.atlassian.vcache.internal.core.metrics.MetricsCollector
 
obtainRequestMetrics(RequestContext) - Method in class com.atlassian.vcache.internal.core.metrics.NoopMetricsCollector
 
onRequest(RequestContext) - Method in interface com.atlassian.vcache.internal.BegunTransactionalActivityHandler
Called for the request that has begun transactional activity.
optionalMarshaller(Marshaller<T>) - Static method in class com.atlassian.vcache.marshallers.MarshallerFactory
Deprecated.
Returns a Marshaller for Optional objects.
override(ExternalCacheSettings) - Method in class com.atlassian.vcache.ExternalCacheSettings
Returns a new ExternalCacheSettings instance where the current settings are overridden with settings specified in overrides.
override(JvmCacheSettings) - Method in class com.atlassian.vcache.JvmCacheSettings
Returns a new JvmCacheSettings instance where the current settings are overridden with settings specified in overrides.

P

partitionIdentifier() - Method in class com.atlassian.vcache.internal.core.DefaultRequestContext
 
partitionIdentifier() - Method in interface com.atlassian.vcache.internal.RequestContext
Returns the partition identifier
perform(Callable<T>) - Method in class com.atlassian.vcache.internal.core.service.AbstractExternalCache
Performs a transaction and handles all the standard exceptions that may occur.
perform(Callable<T>, Consumer<T>) - Method in class com.atlassian.vcache.internal.core.service.AbstractExternalCache
Performs a transaction and handles all the standard exceptions that may occur.
PlainExternalCacheKeyGenerator - Class in com.atlassian.vcache.internal.core
Implementation of ExternalCacheKeyGenerator that does not do any encoding.
PlainExternalCacheKeyGenerator(String) - Constructor for class com.atlassian.vcache.internal.core.PlainExternalCacheKeyGenerator
 
potential_deadlock() - Method in class com.atlassian.vcache.internal.test.AbstractDirectExternalCacheIT
 
potential_deadlock() - Method in class com.atlassian.vcache.internal.test.AbstractStableReadExternalCacheIT
 
productIdentifier(String) - Method in class com.atlassian.vcache.internal.memcached.MemcachedVCacheServiceSettingsBuilder
Equivalent to calling MemcachedVCacheServiceSettingsBuilder.externalCacheKeyGenerator(ExternalCacheKeyGenerator) passing a Sha1ExternalCacheKeyGenerator instance created using the supplied product identifier.
put(String, V, PutPolicy) - Method in interface com.atlassian.vcache.ExternalWriteOperationsBuffered
Puts the value under the specified key using the specified policy.
put(String, V, PutPolicy) - Method in interface com.atlassian.vcache.ExternalWriteOperationsUnbuffered
Puts the value under the specified key using the specified policy.
put(String, V, PutPolicy) - Method in class com.atlassian.vcache.internal.core.service.AbstractStableReadExternalCache
 
put(String, V, PutPolicy) - Method in class com.atlassian.vcache.internal.core.service.AbstractTransactionalExternalCache
 
put(K, V) - Method in class com.atlassian.vcache.internal.core.service.GuavaJvmCache
 
put(String, V, PutPolicy) - Method in class com.atlassian.vcache.internal.guava.GuavaDirectExternalCache
 
put(K, V) - Method in interface com.atlassian.vcache.LocalCacheOperations
Unconditionally puts the value under the specified key.
put_get_discard() - Method in class com.atlassian.vcache.internal.test.AbstractTransactionalExternalCacheIT
 
put_get_remove_get() - Method in class com.atlassian.vcache.internal.test.AbstractTransactionalExternalCacheIT
 
put_get_sync_successful2() - Method in class com.atlassian.vcache.internal.test.AbstractTransactionalExternalCacheIT
 
put_get_sync_unsuccessful2() - Method in class com.atlassian.vcache.internal.test.AbstractTransactionalExternalCacheIT
 
put_with_huge_key() - Method in class com.atlassian.vcache.internal.test.AbstractDirectExternalCacheIT
 
putIfAbsent(K, V) - Method in class com.atlassian.vcache.internal.core.service.GuavaJvmCache
 
putIfAbsent(K, V) - Method in interface com.atlassian.vcache.LocalCacheOperations
Conditionally puts the value under the specified key, if no entry currently exists.
putOperation(V, PutPolicy) - Static method in class com.atlassian.vcache.internal.core.service.AbstractExternalCacheRequestContext.DeferredOperation
 
PutPolicy - Enum in com.atlassian.vcache
Represents the different policies for a put operation on a cache.

R

record(long) - Method in class com.atlassian.vcache.internal.core.metrics.DefaultLongMetric
Records a sample.
record(String, CacheType, MetricLabel, long) - Method in class com.atlassian.vcache.internal.core.metrics.DefaultMetricsCollector
 
record(String, CacheType, MetricLabel, long) - Method in interface com.atlassian.vcache.internal.core.metrics.MetricsRecorder
 
record(String, CacheType, MetricLabel, long) - Method in class com.atlassian.vcache.internal.core.metrics.NoopMetricsCollector
 
recordPut(String, V, PutPolicy) - Method in class com.atlassian.vcache.internal.core.service.AbstractExternalCacheRequestContext
Saves a new value in the value map and adds the put policy for this operation.
recordPutPolicy(String, V, PutPolicy) - Method in class com.atlassian.vcache.internal.core.service.AbstractExternalCacheRequestContext
Stores the policy for the recordPut().
recordRemove(Iterable<String>) - Method in class com.atlassian.vcache.internal.core.service.AbstractExternalCacheRequestContext
 
recordRemoveAll() - Method in class com.atlassian.vcache.internal.core.service.AbstractExternalCacheRequestContext
 
recordValue(String, Optional<V>) - Method in class com.atlassian.vcache.internal.core.service.AbstractExternalCacheRequestContext
 
recordValues(Map<String, V>) - Method in class com.atlassian.vcache.internal.core.service.AbstractExternalCacheRequestContext
 
RedisVCacheService - Class in com.atlassian.vcache.internal.redis
Main service that is backed by Redis.
RedisVCacheService(String, Supplier<Jedis>, Supplier<RequestContext>, Supplier<RequestContext>, VCacheSettingsDefaultsProvider, VCacheCreationHandler, MetricsCollector, BegunTransactionalActivityHandler, Duration) - Constructor for class com.atlassian.vcache.internal.redis.RedisVCacheService
Creates an instance, with the default ExternalCacheKeyGenerator.
RedisVCacheService(Supplier<Jedis>, Supplier<RequestContext>, Supplier<RequestContext>, VCacheSettingsDefaultsProvider, VCacheCreationHandler, MetricsCollector, ExternalCacheKeyGenerator, BegunTransactionalActivityHandler, Duration) - Constructor for class com.atlassian.vcache.internal.redis.RedisVCacheService
Creates an instance, with a supplied ExternalCacheKeyGenerator.
registerTransactionalExternalCache(RequestContext, String, TransactionControl) - Method in class com.atlassian.vcache.internal.core.DefaultTransactionControlManager
 
registerTransactionalExternalCache(RequestContext, String, TransactionControl) - Method in interface com.atlassian.vcache.internal.core.TransactionControlManager
Register a TransactionalExternalCache for synchronisation.
remove(String...) - Method in interface com.atlassian.vcache.ExternalWriteOperationsBuffered
Remove the entries with the specified keys.
remove(Iterable<String>) - Method in interface com.atlassian.vcache.ExternalWriteOperationsBuffered
Remove the entries with the specified keys.
remove(String...) - Method in interface com.atlassian.vcache.ExternalWriteOperationsUnbuffered
Remove the entries with the specified keys.
remove(Iterable<String>) - Method in interface com.atlassian.vcache.ExternalWriteOperationsUnbuffered
Remove the entries with the specified keys.
remove(Iterable<String>) - Method in class com.atlassian.vcache.internal.core.service.AbstractStableReadExternalCache
 
remove(Iterable<String>) - Method in class com.atlassian.vcache.internal.core.service.AbstractTransactionalExternalCache
 
remove(K) - Method in class com.atlassian.vcache.internal.core.service.GuavaJvmCache
 
remove(Iterable<String>) - Method in class com.atlassian.vcache.internal.guava.GuavaDirectExternalCache
 
remove(K) - Method in interface com.atlassian.vcache.LocalCacheOperations
Removes the entries for the supplied key.
remove_normal() - Method in class com.atlassian.vcache.internal.test.AbstractStableReadExternalCacheIT
 
removeAll() - Method in interface com.atlassian.vcache.ExternalWriteOperationsBuffered
Remove all entries in the cache.
removeAll() - Method in interface com.atlassian.vcache.ExternalWriteOperationsUnbuffered
Remove all entries in the cache.
removeAll() - Method in class com.atlassian.vcache.internal.core.service.AbstractStableReadExternalCache
 
removeAll() - Method in class com.atlassian.vcache.internal.core.service.AbstractTransactionalExternalCache
 
removeAll() - Method in class com.atlassian.vcache.internal.core.service.GuavaJvmCache
 
removeAll() - Method in class com.atlassian.vcache.internal.guava.GuavaDirectExternalCache
 
removeAll() - Method in interface com.atlassian.vcache.LocalCacheOperations
Removes all the entries in the cache.
removeIf(String, CasIdentifier) - Method in interface com.atlassian.vcache.DirectExternalCache
Removes the specified entry, iff the specified CAS identifier matches.
removeIf(K, V) - Method in class com.atlassian.vcache.internal.core.service.GuavaJvmCache
 
removeIf(String, CasIdentifier) - Method in class com.atlassian.vcache.internal.guava.GuavaDirectExternalCache
 
removeIf(K, V) - Method in interface com.atlassian.vcache.LocalCacheOperations
Conditionally removed an entry for a specified key, iff: An entry already exists for the key The current value matches the supplied value using Object.equals(Object)
removeOperation() - Static method in class com.atlassian.vcache.internal.core.service.AbstractExternalCacheRequestContext.DeferredOperation
 
repeated_concurrency() - Method in class com.atlassian.vcache.internal.test.AbstractStableReadExternalCacheIT
 
replaceIf(String, CasIdentifier, V) - Method in interface com.atlassian.vcache.DirectExternalCache
Replaces the value for a specified entry, iff the specified CAS identifier matches.
replaceIf(K, V, V) - Method in class com.atlassian.vcache.internal.core.service.GuavaJvmCache
 
replaceIf(String, CasIdentifier, V) - Method in class com.atlassian.vcache.internal.guava.GuavaDirectExternalCache
 
replaceIf(K, V, V) - Method in interface com.atlassian.vcache.LocalCacheOperations
Conditionally replaces the value associated with a key, iff: An entry already exists for the key The current value matches the supplied currentValue using Object.equals(Object)
RequestCache<K,V> - Interface in com.atlassian.vcache
Represents a request scope cache, which is intended to hold data for the life of a request.
requestCache_normal() - Method in class com.atlassian.vcache.internal.test.AbstractVCacheServiceIT
 
requestCacheCreation(String) - Method in class com.atlassian.vcache.internal.core.DefaultVCacheCreationHandler
 
requestCacheCreation(String) - Method in interface com.atlassian.vcache.internal.VCacheCreationHandler
Validates the settings for a RequestCache.
RequestCacheDetails - Interface in com.atlassian.vcache.internal
Details for a configured RequestCache
RequestContext - Interface in com.atlassian.vcache.internal
Represents the context for a request.
RequestMetrics - Interface in com.atlassian.vcache.internal
Represents the metric for a request.
requestMetrics() - Method in class com.atlassian.vcache.internal.test.AbstractDirectExternalCacheIT
 
requestMetrics() - Method in class com.atlassian.vcache.internal.test.AbstractStableReadExternalCacheIT
 
requireValidCacheName(String) - Static method in class com.atlassian.vcache.internal.NameValidator
Verifies that the specified name is valid for a cache, and throws an IllegalArgumentException if it not.
requireValidKeyName(String) - Static method in class com.atlassian.vcache.internal.NameValidator
Verifies that the specified name is valid for a key, and throws an IllegalArgumentException if it not.
requireValidPartitionIdentifier(String) - Static method in class com.atlassian.vcache.internal.NameValidator
Verifies that the specified name is valid for a partition identifier, and throws an IllegalArgumentException if it not.
requireValidProductIdentifier(String) - Static method in class com.atlassian.vcache.internal.NameValidator
Verifies that the specified name is valid for a product identifier, and throws an IllegalArgumentException if it not.
roundUpToSeconds(Duration) - Static method in class com.atlassian.vcache.internal.core.VCacheCoreUtils
 
run() - Method in class com.atlassian.vcache.internal.harness.Worker
 
runAndWaitForStart(Callable<T>) - Static method in class com.atlassian.vcache.internal.test.TestUtils
 

S

safeCast(CasIdentifier) - Static method in class com.atlassian.vcache.internal.core.cas.IdentifiedUtils
 
SamplingMetricsCollector - Class in com.atlassian.vcache.internal.core.metrics
Metrics collector that collects metrics only for specified requests.
SamplingMetricsCollector(Supplier<RequestContext>, Predicate<RequestContext>) - Constructor for class com.atlassian.vcache.internal.core.metrics.SamplingMetricsCollector
 
serializableMarshaller(Class<T>) - Static method in class com.atlassian.vcache.marshallers.MarshallerFactory
Deprecated.
Returns a Marshaller for Serializable objects.
serializableMarshaller(Class<T>, ClassLoader) - Static method in class com.atlassian.vcache.marshallers.MarshallerFactory
Deprecated.
Returns a Marshaller for Serializable objects.
Sha1ExternalCacheKeyGenerator - Class in com.atlassian.vcache.internal.core
Implementation of ExternalCacheKeyGenerator that encodes using the SHA-1 hashing algorithm.
Sha1ExternalCacheKeyGenerator(String) - Constructor for class com.atlassian.vcache.internal.core.Sha1ExternalCacheKeyGenerator
 
simple_get_add() - Method in class com.atlassian.vcache.internal.test.AbstractDirectExternalCacheIT
 
simple_get_set() - Method in class com.atlassian.vcache.internal.test.AbstractDirectExternalCacheIT
 
simple_get_with_supplier() - Method in class com.atlassian.vcache.internal.test.AbstractDirectExternalCacheIT
 
simple_getBulk() - Method in class com.atlassian.vcache.internal.test.AbstractDirectExternalCacheIT
 
simple_getBulk_function() - Method in class com.atlassian.vcache.internal.test.AbstractStableReadExternalCacheIT
 
simple_getBulkFactory() - Method in class com.atlassian.vcache.internal.test.AbstractDirectExternalCacheIT
 
simple_getBulkIdentified() - Method in class com.atlassian.vcache.internal.test.AbstractDirectExternalCacheIT
 
simple_getIdentified_removeIf() - Method in class com.atlassian.vcache.internal.test.AbstractDirectExternalCacheIT
 
simple_getIdentified_replaceIf() - Method in class com.atlassian.vcache.internal.test.AbstractDirectExternalCacheIT
 
simple_getIdentifiedSupplier_removeIf() - Method in class com.atlassian.vcache.internal.test.AbstractDirectExternalCacheIT
 
simple_put_remove() - Method in class com.atlassian.vcache.internal.test.AbstractDirectExternalCacheIT
 
simple_removeAll() - Method in class com.atlassian.vcache.internal.test.AbstractDirectExternalCacheIT
 
simple_removeAll() - Method in class com.atlassian.vcache.internal.test.AbstractStableReadExternalCacheIT
 
single_cache_get_set() - Method in class com.atlassian.vcache.internal.test.AbstractStableReadExternalCacheIT
 
StableReadExternalCache<V> - Interface in com.atlassian.vcache
Represents an ExternalCache where the read operations are buffered.
stablereadexternalcache_duplicate_obtain() - Method in class com.atlassian.vcache.internal.test.AbstractVCacheServiceIT
 
stableReadExternalCache_normal_marshaller() - Method in class com.atlassian.vcache.internal.test.AbstractVCacheServiceIT
 
stableReadExternalCache_normal_marshalling() - Method in class com.atlassian.vcache.internal.test.AbstractVCacheServiceIT
 
starting(Description) - Method in class com.atlassian.vcache.internal.test.LoggingTestWatcher
 
StressHarness - Class in com.atlassian.vcache.internal.harness
Runs some stressy thing.
StressHarness(AbstractVCacheService) - Constructor for class com.atlassian.vcache.internal.harness.StressHarness
 
strictSupplier() - Static method in class com.atlassian.vcache.internal.core.ThreadLocalRequestContextSupplier
Returns a strict supplier.
stringMarshaller() - Static method in class com.atlassian.vcache.marshallers.MarshallerFactory
Deprecated.
Returns a Marshaller for String objects.
successful(T) - Static method in class com.atlassian.vcache.internal.core.VCacheCoreUtils
Returns a successfully completed CompletionStage with the specified result.
successful() - Static method in class com.atlassian.vcache.internal.test.CompletionStageSuccessful
 
successfulWith(Matcher<T>) - Static method in class com.atlassian.vcache.internal.test.CompletionStageSuccessful
 
syncAll(RequestContext) - Method in class com.atlassian.vcache.internal.core.DefaultTransactionControlManager
 
syncAll(RequestContext) - Method in interface com.atlassian.vcache.internal.core.TransactionControlManager

T

testGet() - Method in class com.atlassian.vcache.internal.test.AbstractLocalCacheOperationsTest
 
testGetName() - Method in class com.atlassian.vcache.internal.test.AbstractJvmCacheTest
 
testGetName() - Method in class com.atlassian.vcache.internal.test.AbstractRequestCacheTest
 
testInvalidName() - Method in class com.atlassian.vcache.internal.test.AbstractLocalCacheOperationsTest
 
testKeys() - Method in class com.atlassian.vcache.internal.test.AbstractJvmCacheTest
 
testPut() - Method in class com.atlassian.vcache.internal.test.AbstractLocalCacheOperationsTest
 
testPutIfAbsent() - Method in class com.atlassian.vcache.internal.test.AbstractLocalCacheOperationsTest
 
testRemoveAll() - Method in class com.atlassian.vcache.internal.test.AbstractLocalCacheOperationsTest
 
testRemoveIfMismatch() - Method in class com.atlassian.vcache.internal.test.AbstractLocalCacheOperationsTest
 
testRemoveIfMissing() - Method in class com.atlassian.vcache.internal.test.AbstractLocalCacheOperationsTest
 
testRemoveIfOkay() - Method in class com.atlassian.vcache.internal.test.AbstractLocalCacheOperationsTest
 
testRemoveMissing() - Method in class com.atlassian.vcache.internal.test.AbstractLocalCacheOperationsTest
 
testRemoveOkay() - Method in class com.atlassian.vcache.internal.test.AbstractLocalCacheOperationsTest
 
testReplaceIfMismatch() - Method in class com.atlassian.vcache.internal.test.AbstractLocalCacheOperationsTest
 
testReplaceIfMissing() - Method in class com.atlassian.vcache.internal.test.AbstractLocalCacheOperationsTest
 
testReplaceIfOkay() - Method in class com.atlassian.vcache.internal.test.AbstractLocalCacheOperationsTest
 
testSize() - Method in class com.atlassian.vcache.internal.test.AbstractJvmCacheTest
 
TestUtils - Class in com.atlassian.vcache.internal.test
 
TestUtils() - Constructor for class com.atlassian.vcache.internal.test.TestUtils
 
threadLocalContextSupplier - Variable in class com.atlassian.vcache.internal.core.service.AbstractVCacheService
 
threadLocalContextSupplier(Supplier<RequestContext>) - Method in class com.atlassian.vcache.internal.memcached.MemcachedVCacheServiceSettingsBuilder
Sets the context supplier.
ThreadLocalRequestContextSupplier - Class in com.atlassian.vcache.internal.core
Implementation of Supplier for RequestContext that manages an instance per thread.
thrown - Variable in class com.atlassian.vcache.internal.test.AbstractLocalCacheOperationsTest
 
thrown - Variable in class com.atlassian.vcache.internal.test.AbstractVCacheServiceIT
 
TimedSupplier<V> - Class in com.atlassian.vcache.internal.core.metrics
Wrapper for a supplier used to create missing values.
TimedSupplier(Supplier<V>, Consumer<Optional<Long>>) - Constructor for class com.atlassian.vcache.internal.core.metrics.TimedSupplier
 
toString() - Method in class com.atlassian.vcache.internal.core.DefaultIdentifiedValue
 
toString() - Method in class com.atlassian.vcache.internal.core.metrics.DefaultLongMetric
 
TransactionalExternalCache<V> - Interface in com.atlassian.vcache
Represents an ExternalCache where both the read and write operations are buffered until the end of a transaction.
transactionalExternalCache_normal_marshaller() - Method in class com.atlassian.vcache.internal.test.AbstractVCacheServiceIT
 
transactionalExternalCache_normal_marshalling() - Method in class com.atlassian.vcache.internal.test.AbstractVCacheServiceIT
 
TransactionControl - Interface in com.atlassian.vcache.internal.core
Interface for controlling the transaction characteristics of an entity.
transactionControlManager - Variable in class com.atlassian.vcache.internal.core.service.AbstractVCacheService
 
TransactionControlManager - Interface in com.atlassian.vcache.internal.core
Provides tracking of transactional resources that need to be synchronised.
transactionDiscard() - Method in class com.atlassian.vcache.internal.core.service.AbstractTransactionalExternalCache
 
transactionDiscard(RequestContext) - Method in class com.atlassian.vcache.internal.core.service.AbstractVCacheService
 
transactionDiscard() - Method in interface com.atlassian.vcache.internal.core.TransactionControl
Discard any changes.
transactionDiscard(RequestContext) - Method in interface com.atlassian.vcache.internal.VCacheLifecycleManager
Discard the TransactionalExternalCache's that are associated with the supplied context.
transactionSync(RequestContext) - Method in class com.atlassian.vcache.internal.core.service.AbstractVCacheService
 
transactionSync() - Method in interface com.atlassian.vcache.internal.core.TransactionControl
Synchronize any changes.
transactionSync() - Method in class com.atlassian.vcache.internal.guava.GuavaTransactionalExternalCache
 
transactionSync(RequestContext) - Method in interface com.atlassian.vcache.internal.VCacheLifecycleManager
Synchronise the TransactionalExternalCache's that are associated with the supplied context.
txnexternalcache_duplicate_obtain() - Method in class com.atlassian.vcache.internal.test.AbstractVCacheServiceIT
 

U

unmarshall(IdentifiedData, Optional<MarshallingPair<V>>) - Static method in class com.atlassian.vcache.internal.core.cas.IdentifiedUtils
 
unmarshall(byte[], MarshallingPair<V>) - Static method in class com.atlassian.vcache.internal.core.VCacheCoreUtils
 
unmarshall(byte[]) - Method in interface com.atlassian.vcache.Marshaller
Deprecated.
Responsible for converting an array of bytes into an object.
unmarshallFrom(byte[]) - Method in interface com.atlassian.vcache.Marshaller
Deprecated.
 
unmarshallIdentified(IdentifiedData, Optional<MarshallingPair<V>>) - Static method in class com.atlassian.vcache.internal.core.cas.IdentifiedUtils
 
unsafeJoin(CompletionStage<V>) - Static method in class com.atlassian.vcache.VCacheUtils
Syntactic sugar for writing stage.toCompletableFuture().unsafeJoin().
UnversionedExternalCacheRequestContext<V> - Class in com.atlassian.vcache.internal.core.service
Represents the request context for an ExternalCache that does not maintain a cache version.
UnversionedExternalCacheRequestContext(ExternalCacheKeyGenerator, String, Supplier<String>, Duration) - Constructor for class com.atlassian.vcache.internal.core.service.UnversionedExternalCacheRequestContext
 
updateCacheVersion(long) - Method in class com.atlassian.vcache.internal.core.service.VersionedExternalCacheRequestContext
 

V

value() - Method in interface com.atlassian.vcache.IdentifiedValue
Returns the value.
value() - Method in class com.atlassian.vcache.internal.core.DefaultIdentifiedValue
 
value - Variable in class com.atlassian.vcache.internal.core.service.LocalCacheUtils.PutArgs
 
valueOf(String) - Static method in enum com.atlassian.vcache.ChangeRate
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.atlassian.vcache.ExternalCacheException.Reason
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.atlassian.vcache.internal.core.metrics.CacheType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.atlassian.vcache.internal.ExternalCacheDetails.BufferPolicy
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.atlassian.vcache.internal.MetricLabel
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.atlassian.vcache.PutPolicy
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.atlassian.vcache.ChangeRate
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.atlassian.vcache.ExternalCacheException.Reason
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.atlassian.vcache.internal.core.metrics.CacheType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.atlassian.vcache.internal.ExternalCacheDetails.BufferPolicy
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.atlassian.vcache.internal.MetricLabel
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.atlassian.vcache.PutPolicy
Returns an array containing the constants of this enum type, in the order they are declared.
VCache - Interface in com.atlassian.vcache
Represents the characteristics common to all types of caches.
VCacheCoreUtils - Class in com.atlassian.vcache.internal.core
Contains common implementation methods.
VCacheCoreUtils() - Constructor for class com.atlassian.vcache.internal.core.VCacheCoreUtils
 
VCacheCreationHandler - Interface in com.atlassian.vcache.internal
Specifies the interface for a handler that is called before a cache is created.
VCacheException - Exception in com.atlassian.vcache
Represents a failure occurred when using the VCache API.
VCacheException(String) - Constructor for exception com.atlassian.vcache.VCacheException
Creates an instance with the supplied message.
VCacheException(String, Throwable) - Constructor for exception com.atlassian.vcache.VCacheException
Creates an instance with the supplied message and cause.
vCacheFactory() - Method in class com.atlassian.vcache.internal.test.AbstractVCacheServiceIT
 
VCacheFactory - Interface in com.atlassian.vcache
Represents the factory for creating caches.
vCacheLifecycleManager() - Method in class com.atlassian.vcache.internal.test.AbstractVCacheServiceIT
 
VCacheLifecycleManager - Interface in com.atlassian.vcache.internal
The lifecycle management interface that contains methods that need to be called, by the host application, at different stages.
VCacheLock - Class in com.atlassian.vcache.internal.core.service
A lock for caches.
VCacheLock(String, Duration) - Constructor for class com.atlassian.vcache.internal.core.service.VCacheLock
 
vCacheManagement() - Method in class com.atlassian.vcache.internal.test.AbstractVCacheServiceIT
 
VCacheManagement - Interface in com.atlassian.vcache.internal
The management interface that contains methods to obtain information and manage the caches.
VCacheSettingsDefaultsProvider - Interface in com.atlassian.vcache.internal
A manager for retrieving the default settings for caches.
VCacheTestHelper - Class in com.atlassian.vcache.internal.test.utils
Test helper provides functionality to help create appropriate vcache mocks for unit tests.
VCacheTestHelper() - Constructor for class com.atlassian.vcache.internal.test.utils.VCacheTestHelper
 
VCacheUtils - Class in com.atlassian.vcache
Provides a helper utilities.
VCacheUtils() - Constructor for class com.atlassian.vcache.VCacheUtils
 
verify_txns_discard_discard_discard() - Method in class com.atlassian.vcache.internal.test.AbstractVCacheServiceIT
 
verify_txns_discard_sync_discard() - Method in class com.atlassian.vcache.internal.test.AbstractVCacheServiceIT
 
verify_txns_sync_discard_sync() - Method in class com.atlassian.vcache.internal.test.AbstractVCacheServiceIT
 
verify_txns_sync_sync_sync() - Method in class com.atlassian.vcache.internal.test.AbstractVCacheServiceIT
 
verifyFactoryResult(Map<K, V>, Set<K>) - Static method in class com.atlassian.vcache.internal.core.service.FactoryUtils
 
VersionedExternalCacheRequestContext<V> - Class in com.atlassian.vcache.internal.core.service
Represents the request context for an ExternalCache that maintains a cache version.
VersionedExternalCacheRequestContext(ExternalCacheKeyGenerator, String, Supplier<String>, Duration) - Constructor for class com.atlassian.vcache.internal.core.service.VersionedExternalCacheRequestContext
 

W

wasInvoked() - Method in class com.atlassian.vcache.internal.core.metrics.TimedSupplier
 
watcher - Variable in class com.atlassian.vcache.internal.test.AbstractStableReadExternalCacheIT
 
watcher - Variable in class com.atlassian.vcache.internal.test.AbstractTransactionalExternalCacheIT
 
watcher - Variable in class com.atlassian.vcache.internal.test.AbstractVCacheServiceIT
 
whenPositive(long, LongConsumer) - Static method in class com.atlassian.vcache.internal.core.VCacheCoreUtils
 
withLock(Supplier<R>) - Method in class com.atlassian.vcache.internal.core.service.VCacheLock
 
withLock(Runnable) - Method in class com.atlassian.vcache.internal.core.service.VCacheLock
 
workContextContextSupplier - Variable in class com.atlassian.vcache.internal.core.service.AbstractVCacheService
 
workContextContextSupplier(Supplier<RequestContext>) - Method in class com.atlassian.vcache.internal.memcached.MemcachedVCacheServiceSettingsBuilder
Sets the context supplier for caches that can be thread safe.
WorkContextRequestContextSupplier - Class in com.atlassian.vcache.internal.core
Implementation of Supplier for RequestContext that provides a structure that will be available and safe to use in a WorkContext.
WorkContextRequestContextSupplier(Supplier<String>) - Constructor for class com.atlassian.vcache.internal.core.WorkContextRequestContextSupplier
Build the Supplier and provide it with a supplier for the partitionIdentifier.
Worker - Class in com.atlassian.vcache.internal.harness
 
Worker(int, OverallConfig) - Constructor for class com.atlassian.vcache.internal.harness.Worker
 
wrap(TransactionControl, String) - Method in interface com.atlassian.vcache.internal.core.Instrumentor
 
wrap(MarshallingPair<T>, String) - Method in interface com.atlassian.vcache.internal.core.Instrumentor
 
wrap(JvmCache<K, V>) - Method in interface com.atlassian.vcache.internal.core.Instrumentor
 
wrap(RequestCache<K, V>) - Method in interface com.atlassian.vcache.internal.core.Instrumentor
 
wrap(DirectExternalCache<V>) - Method in interface com.atlassian.vcache.internal.core.Instrumentor
 
wrap(StableReadExternalCache<V>) - Method in interface com.atlassian.vcache.internal.core.Instrumentor
 
wrap(TransactionalExternalCache<V>) - Method in interface com.atlassian.vcache.internal.core.Instrumentor
 
wrap(TransactionControl, String) - Method in class com.atlassian.vcache.internal.core.metrics.DefaultMetricsCollector
 
wrap(MarshallingPair<T>, String) - Method in class com.atlassian.vcache.internal.core.metrics.DefaultMetricsCollector
 
wrap(JvmCache<K, V>) - Method in class com.atlassian.vcache.internal.core.metrics.DefaultMetricsCollector
 
wrap(RequestCache<K, V>) - Method in class com.atlassian.vcache.internal.core.metrics.DefaultMetricsCollector
 
wrap(DirectExternalCache<V>) - Method in class com.atlassian.vcache.internal.core.metrics.DefaultMetricsCollector
 
wrap(StableReadExternalCache<V>) - Method in class com.atlassian.vcache.internal.core.metrics.DefaultMetricsCollector
 
wrap(TransactionalExternalCache<V>) - Method in class com.atlassian.vcache.internal.core.metrics.DefaultMetricsCollector
 
wrap(TransactionControl, String) - Method in class com.atlassian.vcache.internal.core.metrics.NoopMetricsCollector
 
wrap(MarshallingPair<T>, String) - Method in class com.atlassian.vcache.internal.core.metrics.NoopMetricsCollector
 
wrap(JvmCache<K, V>) - Method in class com.atlassian.vcache.internal.core.metrics.NoopMetricsCollector
 
wrap(RequestCache<K, V>) - Method in class com.atlassian.vcache.internal.core.metrics.NoopMetricsCollector
 
wrap(DirectExternalCache<V>) - Method in class com.atlassian.vcache.internal.core.metrics.NoopMetricsCollector
 
wrap(StableReadExternalCache<V>) - Method in class com.atlassian.vcache.internal.core.metrics.NoopMetricsCollector
 
wrap(TransactionalExternalCache<V>) - Method in class com.atlassian.vcache.internal.core.metrics.NoopMetricsCollector
 
A B C D E F G H I J K L M N O P R S T U V W 
Skip navigation links

Copyright © 2016 Atlassian. All rights reserved.