public class ThreadManagerEE extends XPathContextMajor.ThreadManager
Constructor and Description |
---|
ThreadManagerEE(EnterpriseConfiguration config)
Create a thread manager.
|
Modifier and Type | Method and Description |
---|---|
CountingCompletionService<Outcome<java.lang.Boolean>> |
getCompletionService() |
java.util.concurrent.ExecutorService |
getExecutorService()
Get the ExecutorService (so that new work can be submitted)
|
void |
waitForChildThreads()
Wait for child threads started under the control of this context to finish.
|
public ThreadManagerEE(EnterpriseConfiguration config)
public java.util.concurrent.ExecutorService getExecutorService()
public CountingCompletionService<Outcome<java.lang.Boolean>> getCompletionService()
public void waitForChildThreads() throws XPathException
waitForChildThreads
in class XPathContextMajor.ThreadManager
XPathException
- if any of the child threads have failed with a dynamic
error.Copyright (c) 2004-2018 Saxonica Limited. All rights reserved.