The recipient can ask the Future to block until a result is ready, poll to see whether it's complete, cancel the computation, or check whether another thread has canceled it.
接收者可以要求Future阻止线程,直至一个结果就绪,检测查看它是否完成并取消计算指令,或检查是否有其他进程取消了它。
The recipient can ask the Future to block until a result is ready, poll to see whether it's complete, cancel the computation, or check whether another thread has canceled it.
接收者可以要求Future阻止线程,直至一个结果就绪,检测查看它是否完成并取消计算指令,或检查是否有其他进程取消了它。
应用推荐