public class MultiThreadedUpgradeRunner extends Object
| Constructor and Description |
|---|
MultiThreadedUpgradeRunner(com.atlassian.config.db.HibernateConfig hibernateConfig) |
MultiThreadedUpgradeRunner(int maxThreads) |
MultiThreadedUpgradeRunner(int numberOfThreads,
int queueCapacity) |
| Modifier and Type | Method and Description |
|---|---|
void |
checkException() |
int |
getActiveThreads() |
void |
submit(Callable<Void> callable) |
void |
waitForTermination() |
public MultiThreadedUpgradeRunner(int maxThreads)
public MultiThreadedUpgradeRunner(int numberOfThreads,
int queueCapacity)
public MultiThreadedUpgradeRunner(@NotNull
com.atlassian.config.db.HibernateConfig hibernateConfig)
public void submit(@NotNull
Callable<Void> callable)
throws InterruptedException,
UpgradeException
InterruptedExceptionUpgradeExceptionpublic void waitForTermination()
throws InterruptedException,
UpgradeException
InterruptedExceptionUpgradeExceptionpublic void checkException()
throws UpgradeException
UpgradeExceptionpublic int getActiveThreads()
Copyright © 2016 Atlassian Software Systems Pty Ltd. All rights reserved.