任务调度框架 Quartz.NET
Quartz.NET 是一个采用C#开发,功能强大的的任务调度框架。 <h3>Quartz.NET 功能特性:</h3> <h4>运行环境</h4> <ul> <li>Quartz.NET can run embedded within another free standing application </li> <li>Quartz.NET can run as a stand-alone program (within its own .NET virtual machine instance), to be used via .NET Remoting </li> <li>Quartz.NET can be instantiated as a cluster of stand-alone programs (with load-balance and fail-over capabilities) </li> </ul> <h4>Job Scheduling</h4> <p>Jobs are scheduled to run when a given Trigger occurs. Triggers can be created with nearly any combination of the following directives: </p> <ul> <li>at a certain time of day (to the millisecond) </li> <li>on certain days of the week </li> <li>on certain days of the month </li> <li>on certain days of the year </li> <li>not on certain days listed within a registered Calendar (such as business holidays) </li> <li>repeated a specific number of times </li> <li>repeated until a specific time/date </li> <li>repeated indefinitely </li> <li>repeated with a delay interval </li> </ul> <p>Jobs are given names by their creator and can also be organized into named groups. Triggers may also be given names and placed into groups, in order to easily organize them within the scheduler. Jobs can be added to the scheduler once, but registered with multiple Triggers. </p> <h4>Job Execution</h4> <ul> <li>Jobs can be any .NET class that implements the simple IJob interface, leaving infinite possibilities for the work Jobs can perform. </li> <li>Job class instances can be instantiated by Quartz.NET, or by your application's framework. </li> <li>When a Trigger occurs, the scheduler notifies zero or more .NET objects implementing the JobListener and TriggerListener interfaces. These listeners are also notified after the Job has executed. </li> <li>As Jobs are completed, they return a JobCompletionCode which informs the scheduler of success or failure. The JobCompletionCode can also instruct the scheduler of any actions it should take based on the success/fail code - such as immediate re-execution of the Job. </li> </ul> <h4>Job <br /> </h4> <ul> <li>The design of Quartz.NET includes a IJobStore interface that can be implemented to provide various mechanisms for the storage of jobs. </li> <li>With the use of the included AdoJobStore, all Jobs and Triggers configured as "non-volatile" are stored in a relational database via ADO.NET. </li> <li>With the use of the included RAMJobStore, all Jobs and Triggers are stored in RAM and therefore do not persist between program executions - but this has the advantage of not requiring an external database. </li> </ul> <h2>集群<br /> </h2> <ul> <li>Fail-over. </li> <li>Load balancing. </li> </ul> <h2>Listeners & Plug-Ins</h2> <ul> <li>Applications can catch scheduling events to monitor or control job/trigger behavior by implementing one or more listener interfaces. </li> <li>The Plug-In mechanism can be used add functionality to Quartz, such keeping a history of job executions, or loading job and trigger definitions from a file. </li> <li>Quartz ships with a number of "factory built" plug-ins and listeners. </li> </ul> <p><strong>项目主页:</strong><a href="http://www.open-open.com/lib/view/home/1324800703468" target="_blank">http://www.open-open.com/lib/view/home/1324800703468</a></p>
本文由用户 jopen 自行上传分享,仅供网友学习交流。所有权归原作者,若您的权利被侵害,请联系管理员。
转载本站原创文章,请注明出处,并保留原始链接、图片水印。
本站是一个以用户分享为主的开源技术平台,欢迎各类分享!