Headless generation

This commit is contained in:
Daniel Mills
2021-07-18 19:49:54 -04:00
parent 254b5c963b
commit 51f3334711
2 changed files with 43 additions and 0 deletions

View File

@@ -95,4 +95,22 @@ public class MultiBurst {
public void shutdown() {
service.shutdown();
}
public void shutdownAndAwait() {
service.shutdown();
try
{
while(!service.awaitTermination(10, TimeUnit.SECONDS))
{
Iris.info("Still waiting to shutdown burster...");
}
}
catch(Throwable e)
{
e.printStackTrace();
Iris.reportError(e);
}
}
}