将组件事务超时时间设置为30。
将整个事务生命周期的超时时间设置为30。
选项1:如果所有bean都将事务超时时间设置为相同的值,则可以使用管理控制台来设置WebSphere事务服务中的最大事务超时时间。
Option 1: If all of the beans set the transaction timeout to the same value, then you can set the maximum transaction timeout in the WebSphere transaction service using the admin console.
它能在启动过程中给你提供更多的控制,能够设置默认的启动分区和启动超时时间。
It gives you more control over the booting process, with the ability to set the default partition to boot and the booting timeout.
回头看看清单7,注意它的标注声明它支持异步处理,并设置了超时时间。
Looking back at Listing 7, notice that its annotation declares that it supports asynchronous processing and sets the timeout.
设置缓存元素的超时时间,以秒为单位。
Sets the expiration timeout in seconds of the cached elements.
为测试输入任意端口、超时时间,或代理设置,并选择Next。
Enter any port, timeout, or proxy Settings for the test, and then select Next.
如果不是这种情况,则应该对每个bean都设置事务超时时间。
If this is not the case, then you should set the transaction timeout for each bean.
选项2:可以在部署描述符中为bean设置事务超时时间。
Option 2: You can set the transaction timeout in the deployment descriptor for the beans. To do that.
双击具体的bean来设置事务超时时间。
Double click on the specific bean to set the transaction timeout.
WebSphereApplicationServer提供了两种设置事务超时时间的方式。
WebSphere Application Server offers two ways to set the transaction timeout.
当对象被设置发出信号或者超时时间段结束时,这个方法会得到通知。
The method is signaled when the object is set to signal or the time out interval is finished.
之后,在线交易应用程序需要用户确认购买订单,并且为用户强制设置确认订单超时时间。
The online trading application then requests the user to confirm the buy order and enforces a timeout period for the user to confirm the order.
使用这条指令你可以设置代理连接的超时时间。
With this directive you can set the timeout for the proxy connection.
通行的做法可以部分地解决这个问题:给获取信号量的函数设置可选的超时时间。
To partially address this, it is common for the function call that acquires the semaphore to specify an optional timeout value.
通过设置超时时间间隔,可确保挂起的请求根据您指定的时间间隔返回,而不是等待异步通信层超时。
By setting a time-out interval, you can make sure that a pending request returns based on a time interval that you specify, instead of waiting for the asynchronous communication layer to time out.
通过设置超时时间间隔,可确保挂起的请求根据您指定的时间间隔返回,而不是等待异步通信层超时。
By setting a time-out interval, you can make sure that a pending request returns based on a time interval that you specify, instead of waiting for the asynchronous communication layer to time out.
应用推荐