public interface ExecutorServiceProvider
Modifier and Type | Method and Description |
---|---|
ExecutorService |
getExecutor(ThreadFactory threadFactory)
Returns an executor to use for parallel statement execution
|
void |
release(ExecutorService service)
Shuts down the specified executor.
|
ExecutorService getExecutor(ThreadFactory threadFactory)
threadFactory
- factory for creating threadsvoid release(ExecutorService service)
service
- an executor serviceCopyright © 2004–2014 Paul Ferraro. All rights reserved.