没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
Quartz Scheduler Example Programs and Sample Code
Version 2.2.1
This document applies to Quar Scheduler Version 2.2.1 and to all subsequent releases.
Specifications contained herein are subject to change and these changes will be reported in subsequent release notes or new editions.
Copyright © 2014 Software AG, Darmstadt, Germany and/or Software AG USA Inc., Reston, VA, USA, and/or its subsidiaries and/or its
affiliates and/or their licensors.
The name Software AG and all Software AG product names are either trademarks or registered trademarks of Software AG and/or
Software AG USA Inc. and/or its subsidiaries and/or its affiliates and/or their licensors. Other company and product names mentioned
herein may be trademarks of their respective owners.
Detailed information on trademarks and patents owned by Software AG and/or its subsidiaries is located at
hp://documentation.softwareag.com/legal/.
Use of this software is subject to adherence to Software AG's licensing conditions and terms. These terms are part of the product
documentation, located at hp://documentation.softwareag.com/legal/ and/or in the root installation directory of the licensed product(s).
This software may include portions of third-party products. For third-party copyright notices and license terms, please refer to "License
Texts, Copyright Notices and Disclaimers of Third Party Products”. This document is part of the product documentation, located at
hp://documentation.softwareag.com/legal/ and/or in the root installation directory of the licensed product(s).
Document ID: QS-EX-221-20141015
M
Table of Contents
Quartz Scheduler Example Programs and Sample Code Version 2.2.1 3
Table of Contents
The Quartz Example Programs...................................................................................................... 5
About the Quartz Example Programs........................................................................................ 6
Example 1 - Your First Quartz Program.....................................................................................7
Example 3 - Cron-based Triggers.............................................................................................. 9
Example 4 - Job Parameters and Job State............................................................................12
Example 5 - Job Misfires......................................................................................................... 14
Example 6 - Dealing with Job Exceptions................................................................................17
Example 14 - Trigger Priorities.................................................................................................20
Quartz Code Snippets................................................................................................................... 23
About the Code Snippets......................................................................................................... 24
How-To: Use Multiple (Non-Clustered) Schedulers..................................................................24
How-To: Define a Job (with input data)....................................................................................25
How-To: Schedule a Job.......................................................................................................... 26
How-To: Unschedule a Job...................................................................................................... 26
How-To: Store a Job for Later Use.......................................................................................... 26
How-To: Schedule an Already Stored Job............................................................................... 27
How-To: Update an Existing Job..............................................................................................27
How-To: Update a Trigger........................................................................................................ 27
How-To: Initialize Job Data with Scheduler Initialization.......................................................... 28
How-To: List Jobs in the Scheduler......................................................................................... 29
How-To: List Triggers in Scheduler.......................................................................................... 29
How-To: Find Triggers of a Job................................................................................................30
How-To: Use Job Listeners...................................................................................................... 30
How-To: Use Trigger Listeners.................................................................................................31
How-To: Use Scheduler Listeners............................................................................................ 32
How-To: Create a Trigger that Executes Every Ten Seconds.................................................. 33
How-To: Create a Trigger That Executes Every 90 minutes....................................................33
How-To: Create a Trigger that Executes Every Day................................................................ 33
How-To: Create a Trigger that Executes Every 2 Days........................................................... 34
How-To: Create a Trigger that Executes Every Week..............................................................35
How-To: Create a Trigger that Executes Every 2 Weeks.........................................................36
How-To: Create a Trigger that Executes Every Month.............................................................36
M
Even Header
Quartz Scheduler Example Programs and Sample Code Version 2.2.1 4
M
Odd Header
The Quartz Example Programs
Quartz Scheduler Example Programs and Sample Code Version 2.2.1 5
1 The Quartz Example Programs
■ About the Quartz Example Programs ............................................................................................ 6
■ Example 1 - Your First Quartz Program ........................................................................................ 7
■ Example 3 - Cron-based Triggers ................................................................................................. 9
■ Example 4 - Job Parameters and Job State ............................................................................... 12
■ Example 5 - Job Misfires ............................................................................................................. 14
■ Example 6 - Dealing with Job Exceptions ................................................................................... 17
■ Example 14 - Trigger Priorities .................................................................................................... 20
剩余36页未读,继续阅读
资源评论
codeworkscn
- 粉丝: 2
- 资源: 31
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功