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