<commit_before>package com.anguo.job.db.domain;

import org.quartz.Job;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;


/**
 * 异步作业
 * @author Andrew.Wen
 */
public class AsynJobBase implements Job {
 
    @Override
    public void execute(JobExecutionContext context) throws JobExecutionException {
//        System.out.println("开始运行===任务成功运行");
//        CommonSysJob scheduleJob = (CommonSysJob)context.getMergedJobDataMap().get("scheduleJob");
//        System.out.println("任务名称 = [" + scheduleJob.getJobName() + "]");
//        
//        
//        //获取JobExecutionContext中的service对象    
//        try {  
//                        //获取JobExecutionContext中的service对象   
//            SchedulerContext schCtx = context.getScheduler().getContext();  
//                        //获取Spring中的上下文    
//            ApplicationContext appCtx = (ApplicationContext)schCtx.get("applicationContext");  
//            GoeAdService goeAdService= (GoeAdService)appCtx.getBean("goeAdService");  
//            
//            List<GoeAd> list=goeAdService.getAllData(new GoeAd());<commit_msg>修改<commit_after>package com.anguo.job.db.domain;

import org.quartz.Job;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;


/**
 * 异步作业
 * @author Andrew.Wen
 */
public class AsynJobBase implements Job {
 
    @Override
    public void execute(JobExecutionContext context) throws JobExecutionException {
//        System.out.println("开始运行===任务成功运行");
//        CommonSysJob scheduleJob = (CommonSysJob)context.getMergedJobDataMap().get("scheduleJob");
//        System.out.println("任务名称 = [" + scheduleJob.getJobName() + "]");
//        
////        
//        //获取JobExecutionContext中的service对象    
//        try {  
//                        //获取JobExecutionContext中的service对象   
//            SchedulerContext schCtx = context.getScheduler().getContext();  
//                        //获取Spring中的上下文    
//            ApplicationContext appCtx = (ApplicationContext)schCtx.get("applicationContext");  
//            GoeAdService goeAdService= (GoeAdService)appCtx.getBean("goeAdService");  
//            
//            List<GoeAd> list=goeAdService.getAllData(new GoeAd());
{'fraction_non_alphanumeric': 0.12674157303370787, 'fraction_numerical': 0.0, 'mean_word_length': 2.4618973561430795, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1089796', 'n_tokens_mistral': 664, 'n_tokens_neox': 694, 'n_words': 89}