public class ThreadManagerEE extends XPathContextMajor.ThreadManager
Constructor and Description |
---|
ThreadManagerEE(EnterpriseConfiguration config)
Create a thread manager.
|
Modifier and Type | Method and Description |
---|---|
CountingCompletionService<Outcome<Boolean>> |
getCompletionService() |
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 ExecutorService getExecutorService()
public CountingCompletionService<Outcome<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-2014 Saxonica Limited. All rights reserved.