限制这个等待时间,并发送关于一个错误返回码的警报,是非常有必要增加的一个功能。
Limiting the wait time and sending an alert on an error return code would be a very good thing to add.
它将在条件满足时停止等待,或者在超出最大等待时间时返回一个超时异常。
It will stop waiting if the condition is fulfilled, or return a timeout exception if it exceeds the maximum waiting time.
最大等待时间:连接池等待连接返回的最大时间。
Max wait time: the maximum time the pool will wait for a connection to be returned.
应用推荐