03 2021 档案
摘要:1.创建表a(用于定时任务存储数据) create table a(a date); 2.编写一个执行函数test(用于定时任务定时调用) create or replace procedure test as --(函数名称,可带参数) begin insert into a values(sys
阅读全文
摘要:new ThreadPoolExecutor(corePoolSize,maximumPoolSize,keepAliveTime,unit,workQueue,new ThreadPoolExecutor.AbortPolicy()) 1.ThreadPoolExecutor.AbortPolic
阅读全文
摘要:当创建线程池时,通常不使用Executors进行创建,而是使用new ThreadPoolExecutor(corePoolSize,maximumPoolSize,keepAliveTime,unit,workQueue,new ThreadPoolExecutor.AbortPolicy())创
阅读全文

浙公网安备 33010602011771号