|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.confluence.cache.ehcache.config.migration.EhCacheConfigMigrator
public class EhCacheConfigMigrator
Migrates a legacy ehcache.xml file from the confluence home directory to the new ehcache.properties
format by extracting the relevant data from the xml file.
Implements Callable
because it needs to be invoked by an upgrade task which can't refer directly to this class.
Nested Class Summary | |
---|---|
static class |
EhCacheConfigMigrator.MigrationResult
|
Constructor Summary | |
---|---|
EhCacheConfigMigrator(BootstrapManager bootstrapManager,
EhCacheConfigStore ehCacheConfigStore)
|
Method Summary | |
---|---|
java.lang.Integer |
call()
This method allows an upgrade task in Confluence Core to invoke this class without requiring visibility of the class. |
EhCacheConfigMigrator.MigrationResult |
migrateConfig()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EhCacheConfigMigrator(BootstrapManager bootstrapManager, EhCacheConfigStore ehCacheConfigStore)
Method Detail |
---|
public java.lang.Integer call() throws EhCacheConfigMigrationException
call
in interface java.util.concurrent.Callable<java.lang.Integer>
EhCacheConfigMigrationException
public EhCacheConfigMigrator.MigrationResult migrateConfig() throws EhCacheConfigMigrationException
EhCacheConfigMigrationException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |