runs the given runnable on a new thread and waits for it long milliseconds to finish , otherwise times out with timeoutexception . concode_field_sep ExecutorService executorService concode_elem_sep long CONDITION_SLEEP_IN_MILLIS concode_elem_sep int SEMAPHORE_LOOPS_COUNT concode_elem_sep long SEMAPHORE_SLEEP_IN_MILLIS concode_field_sep boolean callConditionAndReturnResult concode_elem_sep void runOnFxThread concode_elem_sep void callCallableAndSetFuture concode_elem_sep void sleepWithException concode_elem_sep void waitForAsyncFx concode_elem_sep T waitForAsyncFx concode_elem_sep void sleep concode_elem_sep T waitForMillis concode_elem_sep Future<Void> async concode_elem_sep Future<T> async concode_elem_sep void runOnThread concode_elem_sep void waitForFxEvents concode_elem_sep void waitForFxEvents concode_elem_sep Future<Void> asyncFx concode_elem_sep Future<T> asyncFx concode_elem_sep void blockFxThreadWithSemaphore concode_elem_sep T waitFor concode_elem_sep T waitFor concode_elem_sep void waitFor concode_elem_sep void waitFor