Thread t = new Thread(()->{
try {
strikeAndUpdateLib(mobilePhone, userId, null);
} catch (Exception e) {
throw new RuntimeException(“异步线程撞库报错!!”);
}
});
t.start();
异步线程实例
最新推荐文章于 2024-04-30 14:11:56 发布
Thread t = new Thread(()->{
try {
strikeAndUpdateLib(mobilePhone, userId, null);
} catch (Exception e) {
throw new RuntimeException(“异步线程撞库报错!!”);
}
});
t.start();