public class BlockingAwareSingleThreadContext extends SingleThreadContext
| Constructor and Description |
|---|
BlockingAwareSingleThreadContext(String nameFormat,
Executor threadPoolExecutor) |
BlockingAwareSingleThreadContext(ThreadFactory factory,
Executor threadPoolExecutor) |
| Modifier and Type | Method and Description |
|---|---|
void |
execute(Runnable command) |
close, schedule, scheduleblock, isBlocked, unblockequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcheckThread, currentContext, currentContextOrThrow, isCurrentContextpublic BlockingAwareSingleThreadContext(String nameFormat, Executor threadPoolExecutor)
public BlockingAwareSingleThreadContext(ThreadFactory factory, Executor threadPoolExecutor)
public void execute(Runnable command)
execute in interface Executorexecute in class SingleThreadContextCopyright © 2013–2019. All rights reserved.