<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                ??碼云GVP開源項目 12k star Uniapp+ElementUI 功能強大 支持多語言、二開方便! 廣告
                # 組件源碼 ``` /** * <b>方法描述:</b> 初始化線程池 <br/> * <b>創建者:</b> admin <br/> * <b>創建時間:</b> 2020-12-18 16:09:18 <br/> * * @param corePoolSize * 入參|核心線程數(默認5)|{@link int} * @param maxPoolSize * 入參|最大線程數(默認200)|{@link int} * @param queue * 入參|隊列(默認50)|{@link int} * @param aliveTime * 入參|超時時間(單位:秒)|{@link int} * @param allowCoreThreadTimeOut * 入參|核心線程超時關閉(默認false)|{@link boolean} * @return 1 成功<br/> */ @Component(label = "初始化線程池", style = "判斷型", type = "同步組件", comment = "該組件在平臺內初始構建一個線程池,如果重復調用,不會重復構建,只會重設線程池大小參數。", version = "1.0.0", deprecated = false, author = "admin", date = "2020-12-18 04:09:18") @InParams(param = {@Param(name = "corePoolSize", comment = "核心線程數(默認5)", type = int.class), @Param(name = "maxPoolSize", comment = "最大線程數(默認200)", type = int.class), @Param(name = "queue", comment = "隊列(默認50)", type = int.class), @Param(name = "aliveTime", comment = "超時時間(單位:秒)", type = int.class), @Param(name = "allowCoreThreadTimeOut", comment = "核心線程超時關閉(默認false)", type = boolean.class)}) @Returns(returns = {@Return(id = "1", desp = "成功")}) @Order(value = 2) public static ResultBase P_initPool(int corePoolSize, int maxPoolSize, int queue, int aliveTime, boolean allowCoreThreadTimeOut) { ThreadPoolUtils.initPool(corePoolSize, maxPoolSize, queue, aliveTime, allowCoreThreadTimeOut); return ResultBase.newSuccessResult(); } ``` # 交易中組件使用方式 ![](https://img.kancloud.cn/6e/97/6e9771f62c8d0524910325debbc21b96_1869x868.png) # 參數說明及示例 ## 入口參數 核心線程數(默認5):核心線程大小,示例: `5` 最大線程數(默認200):最大線程大小:示例: `50` 隊列(默認50):任務隊列,示例: `30` 超時時間(單位:秒):超過corePoolSize的線程多久不活動被銷毀時間,示例: `60` 核心線程超時關閉(默認false):設置核心線程超時關閉,示例: `true`
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看