Class AbstractThreadContext

    • Constructor Detail

      • AbstractThreadContext

        public AbstractThreadContext()
    • Method Detail

      • isBlocked

        public boolean isBlocked()
        Description copied from interface: ThreadContext
        Returns whether the thread context is currently marked blocked.
        Specified by:
        isBlocked in interface ThreadContext
        Returns:
        whether the thread context is currently marked blocked
      • block

        public void block()
        Description copied from interface: ThreadContext
        Marks the thread context as blocked.
        Specified by:
        block in interface ThreadContext
      • unblock

        public void unblock()
        Description copied from interface: ThreadContext
        Marks the thread context as unblocked.
        Specified by:
        unblock in interface ThreadContext