新网创想网站建设,新征程启航
为企业提供网站建设、域名注册、服务器等服务
定义任务
成都创新互联公司于2013年成立,是专业互联网技术服务公司,拥有项目成都网站设计、成都网站建设网站策划,项目实施与项目整合能力。我们以让每一个梦想脱颖而出为使命,1280元太和做网站,已为上家服务,为太和各地企业和个人服务,联系电话:028-86922220
ScheduledExecutorService scheduledExecutorService =
Executors.newScheduledThreadPool(50);
scheduledExecutorService.schedule(new DoorGuardDelUserThreadPool(vd,companyDao,preRegistrationDataDao,doorGuardService,c.getDomain()), 10*60, TimeUnit.SECONDS);
写执行内容:实现 Runnable接口@Slf4j
br/>@Slf4j
private VisitorData finalVd;
private ICompanyDao companyDao;
private IPreRegistrationDataDao preRegistrationDataDao;
private IDoorGuardService doorGuardService;
private String domain;
public DoorGuardDelUserThreadPool(VisitorData vd, ICompanyDao companyDao, IPreRegistrationDataDao preRegistrationDataDao, IDoorGuardService doorGuardService,String domain) {
this.finalVd = vd;
this.companyDao = companyDao;
this.preRegistrationDataDao = preRegistrationDataDao;
this.doorGuardService = doorGuardService;
this.domain = domain;
}
@Override
public void run() {
log.info("companyDao:"+companyDao);
log.info("finalVd.getCompany_id():"+finalVd.getCompany_id());
log.info("finalVd.getPre_registration_id() :"+finalVd.getPre_registration_id() );
log.info("domain :"+domain );
}