Interface Invocable

    • Field Detail

      • __nonBlocking

        static final java.lang.ThreadLocal<java.lang.Boolean> __nonBlocking
    • Method Detail

      • isNonBlockingInvocation

        static boolean isNonBlockingInvocation()
        Test if the current thread has been tagged as non blocking
        Returns:
        True if the task the current thread is running has indicated that it will not block.
      • invokeNonBlocking

        static void invokeNonBlocking​(java.lang.Runnable task)
        Invoke a task with the calling thread, tagged to indicate that it will not block.
        Parameters:
        task - The task to invoke.