| Package | Description |
|---|---|
| com.atlassian.cache | |
| com.atlassian.cache.hazelcast | |
| com.atlassian.cache.impl |
| Modifier and Type | Field and Description |
|---|---|
protected static com.google.common.base.Function<Cache<String,Integer>,Void> |
AbstractCacheLazyTest.REMOVE_0 |
protected static com.google.common.base.Function<Cache<String,Integer>,Void> |
AbstractCacheLazyTest.REMOVE_ALL |
| Modifier and Type | Method and Description |
|---|---|
<K,V> Cache<K,V> |
CacheFactory.getCache(Class<?> owningClass,
String name)
Returns the cache with the given name, creates it if necessary.
|
<K,V> Cache<K,V> |
CacheFactory.getCache(String name)
Returns the cache with the given name, creates it if necessary.
|
<K,V> Cache<K,V> |
CacheFactory.getCache(String name,
CacheLoader<K,V> loader)
Returns the cache with the given name and loader, creates it if necessary.
|
<K,V> Cache<K,V> |
CacheFactory.getCache(String name,
CacheLoader<K,V> loader,
CacheSettings required)
Returns the cache with the given name, loader and required cache settings, creates it if necessary.
|
<K,V> Cache<K,V> |
CacheFactory.getCache(String name,
Class<K> keyType,
Class<V> valueType)
Deprecated.
since 2.0, use getCache(name) instead
|
protected Cache<String,Long> |
AbstractCacheTest.makeExceptionalCache() |
protected Cache<String,Long> |
AbstractCacheTest.makeExpiringCache() |
protected Cache<String,Long> |
AbstractCacheTest.makeNullReturningCache() |
protected Cache<String,Long> |
AbstractCacheTest.makeSimpleCache() |
protected Cache<String,Long> |
AbstractCacheTest.makeSimpleCache(boolean statsEnabled) |
protected Cache<String,Long> |
AbstractCacheTest.makeSizeLimitedCache(int maxEntries) |
protected Cache<String,Long> |
AbstractCacheTest.makeSizeLimitedCache(int maxEntries,
AtomicInteger loadCounter) |
protected Cache<String,Long> |
AbstractCacheStatisticsTest.makeStatisticsDisabledCache() |
protected Cache<String,Long> |
AbstractCacheStatisticsTest.makeStatisticsEnabledCache() |
protected Cache<String,Long> |
AbstractCacheTest.makeUnexpiringCache() |
| Modifier and Type | Method and Description |
|---|---|
Collection<Cache<?,?>> |
CacheManager.getCaches()
Deprecated.
Since 2.0. Use
CacheManager.getManagedCaches() instead. |
| Modifier and Type | Method and Description |
|---|---|
protected <K,V> void |
AbstractCacheTest.assertContainsKeys(Cache<K,V> cache,
K... keys) |
protected <K,V> void |
AbstractCacheTest.assertEmpty(Cache<K,V> cache) |
protected <K,V> void |
AbstractCacheTest.assertMissingKeys(Cache<K,V> cache,
K... keys) |
protected <K,V> void |
AbstractCacheTest.assertSize(Cache<K,V> cache,
int expectedSize) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
AbstractCacheLazyTest.removeConcurrentWithLoader(CacheFactory factory1,
CacheFactory factory2,
com.google.common.base.Function<Cache<String,Integer>,Void> removeFn) |
protected void |
AbstractCacheLazyTest.removeConcurrentWithSupplier(CacheFactory factory1,
CacheFactory factory2,
com.google.common.base.Function<Cache<String,Integer>,Void> removeFn) |
| Modifier and Type | Class and Description |
|---|---|
class |
HazelcastCache<K,V>
Hazelcast implementation of the
Cache and ManagedCache interfaces |
class |
HazelcastHybridCache<K,V>
Implementation of
ManagedCache and Cache that can be used when the cached values do not implement
Serializable but cache invalidation must work cluster-wide. |
| Modifier and Type | Method and Description |
|---|---|
protected <K,V> Cache<K,V> |
HazelcastCacheManager.createDistributedCache(String name,
CacheLoader<K,V> loader,
CacheSettings settings) |
protected <K,V> Cache<K,V> |
HazelcastCacheManager.createHybridCache(String name,
CacheLoader<K,V> loader,
CacheSettings settings) |
| Modifier and Type | Method and Description |
|---|---|
<K,V> Cache<K,V> |
AbstractCacheManager.getCache(Class<?> owningClass,
String name) |
<K,V> Cache<K,V> |
AbstractCacheManager.getCache(String name) |
<K,V> Cache<K,V> |
AbstractCacheManager.getCache(String name,
CacheLoader<K,V> loader) |
<K,V> Cache<K,V> |
AbstractCacheManager.getCache(String name,
CacheLoader<K,V> loader,
CacheSettings settings) |
<K,V> Cache<K,V> |
AbstractCacheManager.getCache(String name,
Class<K> keyType,
Class<V> valueType) |
| Modifier and Type | Method and Description |
|---|---|
Collection<Cache<?,?>> |
AbstractCacheManager.getCaches() |
Copyright © 2015 Atlassian. All rights reserved.