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
InterruptedException
UpgradeException
public void waitForTermination() throws InterruptedException, UpgradeException
InterruptedException
UpgradeException
public void checkException() throws UpgradeException
UpgradeException
public int getActiveThreads()
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.