public final class ZduCacheMigrationHelper extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ZduCacheMigrationHelper.JiraVersion |
| Constructor and Description |
|---|
ZduCacheMigrationHelper() |
| Modifier and Type | Method and Description |
|---|---|
static <T> com.atlassian.cache.CachedReference<T> |
migrate(com.atlassian.cache.CacheFactory cacheManager,
String oldCacheName,
ZduCacheMigrationHelper.JiraVersion version,
com.atlassian.cache.CachedReference<T> newCache)
This method should be used when you split/rename a cache and need to maintain cache consistency
in a mixed-version ZDU environment.
|
public static <T> com.atlassian.cache.CachedReference<T> migrate(com.atlassian.cache.CacheFactory cacheManager,
String oldCacheName,
ZduCacheMigrationHelper.JiraVersion version,
com.atlassian.cache.CachedReference<T> newCache)
cacheManager - cache manager beanversion - the last version of Jira that requires this cache handleroldCacheName - the old cachenewCache - the new cacheCopyright © 2002-2024 Atlassian. All Rights Reserved.