Interface Invocable

    • Method Detail

      • isNonBlockingInvocation

        static boolean isNonBlockingInvocation()
        Deprecated.
        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​(Runnable task)
        Deprecated.
        Invoke a task with the calling thread, tagged to indicate that it will not block.
        Parameters:
        task - The task to invoke.
      • getInvocationType

        default Invocable.InvocationType getInvocationType()
        Deprecated.
        Returns:
        The InvocationType of this object