Class TryExecutor.NoTryExecutor

    • Constructor Detail

      • NoTryExecutor

        public NoTryExecutor​(Executor executor)
        Deprecated.
    • Method Detail

      • tryExecute

        public boolean tryExecute​(Runnable task)
        Deprecated.
        Description copied from interface: TryExecutor
        Attempt to execute a task.
        Specified by:
        tryExecute in interface TryExecutor
        Parameters:
        task - The task to be executed
        Returns:
        True IFF the task has been given directly to a thread to execute. The task cannot be queued pending the later availability of a Thread.