Once the message has been sent, the sender can store a reference to the Future object and check periodically for completion, or it can block and wait if needed by calling the get method.
消息被发送之后,发送者可以保存对Future对象的一个引用并定期检查是否完成,或者,它也可以通过调用get方法来阻塞和等待。
Once the message has been sent, the sender can store a reference to the Future object and check periodically for completion, or it can block and wait if needed by calling the get method.
消息被发送之后,发送者可以保存对Future对象的一个引用并定期检查是否完成,或者,它也可以通过调用get方法来阻塞和等待。
应用推荐