| Modifier and Type | Method and Description |
|---|---|
CacheSettings |
CacheSettingsBuilder.build() |
CacheSettings |
CacheSettingsDefaultsProvider.getDefaults(String name)
Obtains the default cache settings.
|
CacheSettings |
CacheSettings.override(CacheSettings overrides)
Returns a new
CacheSettings instance where the current settings
are overridden with settings specified in overrides. |
| Modifier and Type | Method and Description |
|---|---|
<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.
|
<V> CachedReference<V> |
CacheFactory.getCachedReference(Class<?> owningClass,
String name,
Supplier<V> supplier,
CacheSettings required)
Returns a Cached Reference, creating it if necessary.
|
<V> CachedReference<V> |
CacheFactory.getCachedReference(String name,
Supplier<V> supplier,
CacheSettings required)
Returns a Cached Reference, creating it if necessary.
|
CacheSettings |
CacheSettings.override(CacheSettings overrides)
Returns a new
CacheSettings instance where the current settings
are overridden with settings specified in overrides. |
| Constructor and Description |
|---|
CacheSettingsBuilder(CacheSettings settings)
Constructor that initializes the builder with the settings from a
CacheSettings instance |
Copyright © 2018 Atlassian. All rights reserved.