资源简介
任务调度所需的jar包,如需要深入了解,请留言,一起探讨对过时任务的处理策略!
代码片段和文件信息
/*
* Copyright 2005 - 2009 Terracotta Inc.
*
* Licensed under the Apache License Version 2.0 (the “License“); you may not
* use this file except in compliance with the License. You may obtain a copy
* of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing software
* distributed under the License is distributed on an “AS IS“ BASIS WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND either express or implied. See the
* License for the specific language governing permissions and limitations
* under the License.
*
*/
package org.quartz.examples.example1;
import java.util.Date;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.quartz.Job;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
/**
*
* This is just a simple job that says “Hello“ to the world.
*
*
* @author Bill Kratzer
*/
public class HelloJob implements Job {
private static Logger _log = LoggerFactory.getLogger(HelloJob.class);
/**
*
* Empty constructor for job initilization
*
*
* Quartz requires a public empty constructor so that the
* scheduler can instantiate the class whenever it needs.
*
*/
public HelloJob() {
}
/**
*
* Called by the {@link org.quartz.Scheduler}
when a
* {@link org.quartz.Trigger}
fires that is associated with
* the Job
.
*
*
* @throws JobExecutionException
* if there is an exception while executing the job.
*/
public void execute(JobExecutionContext context)
throws JobExecutionException {
// Say Hello to the World and display the date/time
_log.info(“Hello World! - “ + new Date());
}
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2006-09-14 02:04 me
文件 247 2006-09-14 02:04 me
目录 0 2006-09-14 02:03 org\
目录 0 2006-09-14 02:03 org\apache\
目录 0 2006-09-14 02:04 org\apache\log4j\
文件 676 2006-09-14 02:03 org\apache\log4j\Appender.class
文件 3598 2006-09-14 02:03 org\apache\log4j\AppenderSkeleton.class
文件 1604 2006-09-14 02:03 org\apache\log4j\AsyncAppender$DiscardSummary.class
文件 2479 2006-09-14 02:03 org\apache\log4j\AsyncAppender$Dispatcher.class
文件 5859 2006-09-14 02:03 org\apache\log4j\AsyncAppender.class
文件 1036 2006-09-14 02:03 org\apache\log4j\BasicConfigurator.class
文件 10711 2006-09-14 02:03 org\apache\log4j\Category.class
文件 1320 2006-09-14 02:03 org\apache\log4j\CategoryKey.class
文件 1112 2006-09-14 02:03 org\apache\log4j\ConsoleAppender$SystemErrStream.class
文件 1112 2006-09-14 02:03 org\apache\log4j\ConsoleAppender$SystemOutStream.class
文件 2674 2006-09-14 02:03 org\apache\log4j\ConsoleAppender.class
文件 5712 2006-09-14 02:03 org\apache\log4j\DailyRollingFileAppender.class
文件 609 2006-09-14 02:03 org\apache\log4j\DefaultCategoryFactory.class
文件 2001 2006-09-14 02:03 org\apache\log4j\Dispatcher.class
文件 4748 2006-09-14 02:03 org\apache\log4j\FileAppender.class
文件 6409 2006-09-14 02:03 org\apache\log4j\HTMLLayout.class
文件 8436 2006-09-14 02:03 org\apache\log4j\Hierarchy.class
文件 1024 2006-09-14 02:03 org\apache\log4j\Layout.class
文件 3436 2006-09-14 02:03 org\apache\log4j\Level.class
文件 4255 2006-09-14 02:03 org\apache\log4j\LogManager.class
文件 2567 2006-09-14 02:03 org\apache\log4j\Logger.class
文件 1996 2006-09-14 02:03 org\apache\log4j\MDC.class
文件 805 2006-09-14 02:03 org\apache\log4j\NDC$DiagnosticContext.class
文件 3632 2006-09-14 02:03 org\apache\log4j\NDC.class
文件 2155 2006-09-14 02:03 org\apache\log4j\PatternLayout.class
文件 2728 2006-09-14 02:03 org\apache\log4j\Priority.class
............此处省略257个文件信息
相关资源
- JavaFX的.jar包
- 将worddocdocx转换成html代码以及所需p
- aspose-html-17.8.jar
-
sikuli-sc
ript.jar - itext 5.5.5全部jar包
- 17673110resources_zh.jar
- org.apache.commons jar包
- Maven 构建 Kettle 时所需的部分jar包
- aspectj.jar+aspectjrt.jar+aspectjweaver.jar
- pageoffice4.5.0.3.jar升级jar包(java版)
- xalan系列jar包
- lucene4.6所有jar包
- batStartJarInWindows.rar
- ssh框架所有jar包
- selenium及依赖jar包(java)
- Spring3.2.0 框架jar包及Spring依赖jar包
- 200多个JAVA经典游戏源代码和资源及
- 最全的lucene-2.4.0jar包
- JByteMod-1.8.2.zip
- rt.jar常用Jar包
- ysoserial.jar
- hadoop-eclipse-plugin-2.8.5.jar
- aspose-pdf-19.7.jar
- htmlunit用到的jar包
- db2jcc.jar
- AutoIt工具及jar包
- spring2+hibernate3+struts2JAR包
- aspose words for java 18.10 最新完美破解版
- icepdf 6.2.5 jar包
- springboot全部jar包
评论
共有 条评论