public class EhCacheConfigMigrator extends Object implements Callable<Integer>
Implements Callable because it needs to be invoked by an upgrade task which can't refer directly to this class.
| Modifier and Type | Class and Description |
|---|---|
static class |
EhCacheConfigMigrator.MigrationResult |
| Constructor and Description |
|---|
EhCacheConfigMigrator(BootstrapManager bootstrapManager,
EhCacheConfigStore ehCacheConfigStore) |
| Modifier and Type | Method and Description |
|---|---|
Integer |
call()
This method allows an upgrade task in Confluence Core to invoke this class without requiring visibility of the class.
|
EhCacheConfigMigrator.MigrationResult |
migrateConfig() |
public EhCacheConfigMigrator(BootstrapManager bootstrapManager, EhCacheConfigStore ehCacheConfigStore)
public Integer call() throws EhCacheConfigMigrationException
call in interface Callable<Integer>EhCacheConfigMigrationExceptionpublic EhCacheConfigMigrator.MigrationResult migrateConfig() throws EhCacheConfigMigrationException
EhCacheConfigMigrationExceptionCopyright © 2003–2018 Atlassian. All rights reserved.