public class BlockingAwareSingleThreadContextFactory extends Object implements ThreadContextFactory
| Constructor and Description |
|---|
BlockingAwareSingleThreadContextFactory(int threadPoolSize,
ThreadFactory threadFactory) |
BlockingAwareSingleThreadContextFactory(String nameFormat,
int threadPoolSize,
org.slf4j.Logger logger) |
BlockingAwareSingleThreadContextFactory(ThreadFactory threadFactory,
Executor threadPoolExecutor) |
| Modifier and Type | Method and Description |
|---|---|
ThreadContext |
createContext()
Creates a new thread context.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclosepublic BlockingAwareSingleThreadContextFactory(String nameFormat, int threadPoolSize, org.slf4j.Logger logger)
public BlockingAwareSingleThreadContextFactory(int threadPoolSize,
ThreadFactory threadFactory)
public BlockingAwareSingleThreadContextFactory(ThreadFactory threadFactory, Executor threadPoolExecutor)
public ThreadContext createContext()
ThreadContextFactorycreateContext in interface ThreadContextFactoryCopyright © 2013–2018. All rights reserved.