任务调度所需的jar包,如需要深入了解,请留言,一起探讨对过时任务的处理策略!
代码片段和文件信息
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2006-09-14 02:04 meta-INF
文件 247 2006-09-14 02:04 meta-INFMANIFEST.MF
目录 0 2006-09-14 02:03 org
目录 0 2006-09-14 02:03 orgapache
目录 0 2006-09-14 02:04 orgapachelog4j
文件 676 2006-09-14 02:03 orgapachelog4jAppender.class
文件 3598 2006-09-14 02:03 orgapachelog4jAppenderSkeleton.class
文件 1604 2006-09-14 02:03 orgapachelog4jAsyncAppender$DiscardSummary.class
文件 2479 2006-09-14 02:03 orgapachelog4jAsyncAppender$Dispatcher.class
文件 5859 2006-09-14 02:03 orgapachelog4jAsyncAppender.class
文件 1036 2006-09-14 02:03 orgapachelog4jBasicConfigurator.class
文件 10711 2006-09-14 02:03 orgapachelog4jCategory.class
文件 1320 2006-09-14 02:03 orgapachelog4jCategoryKey.class
文件 1112 2006-09-14 02:03 orgapachelog4jConsoleAppender$SystemErrStream.class
文件 1112 2006-09-14 02:03 orgapachelog4jConsoleAppender$SystemOutStream.class
文件 2674 2006-09-14 02:03 orgapachelog4jConsoleAppender.class
文件 5712 2006-09-14 02:03 orgapachelog4jDailyRollingFileAppender.class
文件 609 2006-09-14 02:03 orgapachelog4jDefaultCategoryFactory.class
文件 2001 2006-09-14 02:03 orgapachelog4jDispatcher.class
文件 4748 2006-09-14 02:03 orgapachelog4jFileAppender.class
文件 6409 2006-09-14 02:03 orgapachelog4jHTMLLayout.class
文件 8436 2006-09-14 02:03 orgapachelog4jHierarchy.class
文件 1024 2006-09-14 02:03 orgapachelog4jLayout.class
文件 3436 2006-09-14 02:03 orgapachelog4jLevel.class
文件 4255 2006-09-14 02:03 orgapachelog4jLogManager.class
文件 2567 2006-09-14 02:03 orgapachelog4jLogger.class
文件 1996 2006-09-14 02:03 orgapachelog4jMDC.class
文件 805 2006-09-14 02:03 orgapachelog4jNDC$DiagnosticContext.class
文件 3632 2006-09-14 02:03 orgapachelog4jNDC.class
文件 2155 2006-09-14 02:03 orgapachelog4jPatternLayout.class
文件 2728 2006-09-14 02:03 orgapachelog4jPriority.class
............此处省略257个文件信息
/*
* 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 orgapache
目录 0 2006-09-14 02:04 orgapachelog4j
文件 676 2006-09-14 02:03 orgapachelog4jAppender.class
文件 3598 2006-09-14 02:03 orgapachelog4jAppenderSkeleton.class
文件 1604 2006-09-14 02:03 orgapachelog4jAsyncAppender$DiscardSummary.class
文件 2479 2006-09-14 02:03 orgapachelog4jAsyncAppender$Dispatcher.class
文件 5859 2006-09-14 02:03 orgapachelog4jAsyncAppender.class
文件 1036 2006-09-14 02:03 orgapachelog4jBasicConfigurator.class
文件 10711 2006-09-14 02:03 orgapachelog4jCategory.class
文件 1320 2006-09-14 02:03 orgapachelog4jCategoryKey.class
文件 1112 2006-09-14 02:03 orgapachelog4jConsoleAppender$SystemErrStream.class
文件 1112 2006-09-14 02:03 orgapachelog4jConsoleAppender$SystemOutStream.class
文件 2674 2006-09-14 02:03 orgapachelog4jConsoleAppender.class
文件 5712 2006-09-14 02:03 orgapachelog4jDailyRollingFileAppender.class
文件 609 2006-09-14 02:03 orgapachelog4jDefaultCategoryFactory.class
文件 2001 2006-09-14 02:03 orgapachelog4jDispatcher.class
文件 4748 2006-09-14 02:03 orgapachelog4jFileAppender.class
文件 6409 2006-09-14 02:03 orgapachelog4jHTMLLayout.class
文件 8436 2006-09-14 02:03 orgapachelog4jHierarchy.class
文件 1024 2006-09-14 02:03 orgapachelog4jLayout.class
文件 3436 2006-09-14 02:03 orgapachelog4jLevel.class
文件 4255 2006-09-14 02:03 orgapachelog4jLogManager.class
文件 2567 2006-09-14 02:03 orgapachelog4jLogger.class
文件 1996 2006-09-14 02:03 orgapachelog4jMDC.class
文件 805 2006-09-14 02:03 orgapachelog4jNDC$DiagnosticContext.class
文件 3632 2006-09-14 02:03 orgapachelog4jNDC.class
文件 2155 2006-09-14 02:03 orgapachelog4jPatternLayout.class
文件 2728 2006-09-14 02:03 orgapachelog4jPriority.class
............此处省略257个文件信息
版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。
评论列表(条)