Setting a timeout makes this more feasible.
设置一个超时使得这一点更加可行。
什么是超时?
Tests can be annotated with a timeout parameter.
测试可以用一个超时参数来注释。
Here it blocks with a timeout of 10 seconds.
此处,其阻塞超时时间为10秒。
Building a timeout-focus multi-screen designator.
构建超时焦点多屏幕指示器。
A timeout value of 60 seconds is specified in this example.
本例中指定了60秒的超时(timeout)值。
Another element you can add to an event handler is a timeout.
另一个可以添加到事件处理程序的元素是Timeout。
In international basketball, only the coach can call a timeout.
在国际篮球赛中,只有教练可以叫停。
A timeout is implemented in the same manner as a wait activity.
Timeout的实现方式与等待活动的实现方式相同。
Any one of the connections could fail; for example, due to a timeout.
这些连接中的任何一个都可能失败;比如,由于超时。
For example, is the journal committed when it nears full, or through a timeout?
比如,是在日志将满时,还是在超时后?
Another way to deal with a timeout is to simply try to invoke the service again.
另外一种处理超时的方法是尝试再次调用服务。
Therefore, we addecd to kioskerror.html a timeout function, as shown in Listing 2.
因此,为 kioskerror.html 页添加一个超时(timeout)函数,如清单2 所示。
The key here is the ability to vary both the probability of a timeout and the timeout value.
其中的关键是能够改变超时概率和超时值。
A timeout can result from a server crash, network problem, or a problem on a client computer.
当服务器崩溃,出现网络问题或客户端计算机出现问题的时候会产生超时。
The SOAPInput node can return a SOAP fault to the client to indicate that a timeout has occurred.
SOAPInput节点可以向客户端返回SOAP错误以指示发生了超时。
Finally, the browser receives the session duration time and sets a timeout to keep the connection alive.
最后,浏览器接收会话持续时间并设置一个超时以保持连接处于活跃状态。
Deferred objects do have a timeout mechanism, but I will have to come back to that in a later installment.
Deferred对象确实有一个超时机制,但我要在今后的文章才讨论这一机制。
In addition to the decision point configuration, it's also possible to set a timeout value for Fan in.
除判定点配置外,还可以设置扇入的超时值。
The most common response is to send an error message back to the consumer indicating that a timeout occurred.
最常见的响应就是向消费者回发一条错误消息,指出发生了超时。
This function takes the handle to the semaphore object and waits until it is signaled or a timeout occurs.
这个函数使用一个信号量对象的句柄作为参数,并会一直等待下去,直到其状态变为有信号状态或超时为止。
If no event occurs on the server side, a timeout occurs, and the server asks the client to reconnect asynchronously.
如果服务器端没有事件发生,而发生了超时,服务器端就会请求客户端进行异步重新连接。
What happens when the WebSEAL proxy session expires because of a timeout or the maximum number of sessions is exceeded?
当由于超时或超出了最大允许的会话数量WebSEAL代理会话超时时,又会如何呢?
It will stop waiting if the condition is fulfilled, or return a timeout exception if it exceeds the maximum waiting time.
它将在条件满足时停止等待,或者在超出最大等待时间时返回一个超时异常。
As a consequence, Close takes a Timeout and has an async version (since it can block), and also Close can throw Exceptions.
因此,Close方法会接收一个Timeout参数,并包括一个异步版本(因为它可能阻塞线程),而且Close还会抛出异常。
Expiration of a timeout: for example, a manager wants to be informed when a process takes longer than a week to be finished.
超时过期:例如,管理人员希望在流程执行时间超过一周时得到通知。
Listing 1 shows a simple configuration interface that defines three configuration fields: a timeout, a URL, and a handler class.
清单1展示了一个简单的配置接口,该接口定义了3个配置字段:超时设定、URL和处理程序类。
The Client Automation Server (CAS) provides a mechanism to configure a timeout on calls that could result in a stalled system.
ClientAutomationServer (CAS)提供了一种配置调用超时的机制,这样可以造成系统的延迟。
Finally, you use the request object to send the SOAP message and establish a timeout in the event that the service does not respond.
最后,使用请求对象发送SOAP消息,在服务不响应时设置超时。
Finally, you use the request object to send the SOAP message and establish a timeout in the event that the service does not respond.
最后,使用请求对象发送SOAP消息,在服务不响应时设置超时。
应用推荐