mirror of
https://gitee.com/chinabugotech/hutool.git
synced 2025-05-09 23:51:34 +08:00
BlockPolicy增加@link
This commit is contained in:
parent
215e3fd403
commit
de692848bb
@ -10,6 +10,8 @@ import java.util.function.Consumer;
|
|||||||
* 如果阻塞过程中被中断,就会抛出{@link InterruptedException}异常<br>
|
* 如果阻塞过程中被中断,就会抛出{@link InterruptedException}异常<br>
|
||||||
* 有时候在线程池内访问第三方接口,只希望固定并发数去访问,并且不希望丢弃任务时使用此策略,队列满的时候会处于阻塞状态(例如刷库的场景)
|
* 有时候在线程池内访问第三方接口,只希望固定并发数去访问,并且不希望丢弃任务时使用此策略,队列满的时候会处于阻塞状态(例如刷库的场景)
|
||||||
*
|
*
|
||||||
|
* 其他系统内置的拒绝策略,见hutool定义的枚举 {@link RejectPolicy} 线程拒绝策略枚举.
|
||||||
|
*
|
||||||
* @author luozongle
|
* @author luozongle
|
||||||
* @since 5.8.0
|
* @since 5.8.0
|
||||||
*/
|
*/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user