在这种方法中,客户机以非阻塞模式将一个请求发送到一个web服务端点。
In this approach, a client sends a request to a web service endpoint in a non-blocking mode.
在阻塞模式中,线程将在读或写时阻塞,一直到读或写操作彻底完成。
In blocking mode, a thread will block on a read or a write until the operation is completely finished.
在非阻塞模式中,线程将读取已经可用的数据(不论多少),然后返回执行其它任务。
In nonblocking mode, the thread will read whatever amount of data is available and return to perform other tasks.
应用推荐