|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.confluence.upgrade.upgradetask.IncreasePoolSizeUpgradeTask
public class IncreasePoolSizeUpgradeTask
The indexing scheme used in 1.4.1 needs 10 DB connections. For some reason our connection pool dies if it is overloaded, so we need to increase the pool size to 15 if it is smaller than that.
Constructor Summary | |
---|---|
IncreasePoolSizeUpgradeTask()
|
Method Summary | |
---|---|
void |
doUpgrade()
Perform the upgrade. |
String |
getBuildNumber()
|
Collection<UpgradeError> |
getErrors()
Return any errors that occur. |
String |
getShortDescription()
A short (<50 chars) description of the upgrade action |
void |
validate()
Validates that this upgrade task can be performed. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IncreasePoolSizeUpgradeTask()
Method Detail |
---|
public String getBuildNumber()
getBuildNumber
in interface UpgradeTask
public String getShortDescription()
UpgradeTask
getShortDescription
in interface UpgradeTask
public void validate()
UpgradeTask
validate
in interface UpgradeTask
public void doUpgrade() throws Exception
UpgradeTask
doUpgrade
in interface UpgradeTask
Exception
public Collection<UpgradeError> getErrors()
UpgradeTask
UpgradeError
.
getErrors
in interface UpgradeTask
UpgradeError
objects, sometimes null.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |