public class MultiThreadedUpgradeRunner extends Object
Constructor and Description |
---|
MultiThreadedUpgradeRunner(@NotNull 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(@NotNull Callable<Void> callable) |
void |
waitForTermination() |
public MultiThreadedUpgradeRunner(int maxThreads)
public MultiThreadedUpgradeRunner(int numberOfThreads, int queueCapacity)
public MultiThreadedUpgradeRunner(@NotNull @NotNull com.atlassian.config.db.HibernateConfig hibernateConfig)
public void submit(@NotNull @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 © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.