public abstract class AbstractThreadContext extends Object implements ThreadContext
| Constructor and Description |
|---|
AbstractThreadContext() |
| Modifier and Type | Method and Description |
|---|---|
void |
block()
Marks the thread context as blocked.
|
boolean |
isBlocked()
Returns whether the thread context is currently marked blocked.
|
void |
unblock()
Marks the thread context as unblocked.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcheckThread, close, currentContext, currentContextOrThrow, isCurrentContextpublic boolean isBlocked()
ThreadContextisBlocked in interface ThreadContextpublic void block()
ThreadContextblock in interface ThreadContextpublic void unblock()
ThreadContextunblock in interface ThreadContextCopyright © 2013–2019. All rights reserved.