03 2021 档案

摘要:1.创建表a(用于定时任务存储数据) create table a(a date); 2.编写一个执行函数test(用于定时任务定时调用) create or replace procedure test as --(函数名称,可带参数) begin insert into a values(sys 阅读全文
posted @ 2021-03-25 10:24 转转龙 阅读(696) 评论(0) 推荐(0)
摘要:new ThreadPoolExecutor(corePoolSize,maximumPoolSize,keepAliveTime,unit,workQueue,new ThreadPoolExecutor.AbortPolicy()) 1.ThreadPoolExecutor.AbortPolic 阅读全文
posted @ 2021-03-14 15:15 转转龙 阅读(3347) 评论(0) 推荐(0)
摘要:当创建线程池时,通常不使用Executors进行创建,而是使用new ThreadPoolExecutor(corePoolSize,maximumPoolSize,keepAliveTime,unit,workQueue,new ThreadPoolExecutor.AbortPolicy())创 阅读全文
posted @ 2021-03-14 14:56 转转龙 阅读(1607) 评论(0) 推荐(0)