Code Monkey home page Code Monkey logo

quartztest's Introduction

Quartz Test

  • JDK 1.7
  • Spring 3.1.2
  • Quartz 1.8.6
  • Tomcat 7
  • Maven 3

Job

Job은 Quartz의 작업 단위이다.

작업은 Job을 extends한 클래스로 정의하고, 사용할 때는 작업의 디테일한 속성들을 담은 JobDetail 클래스로 감싼 Bean을 이용한다.

Scheduler의 setJobDetails 함수를 사용하여 Job을 Scheduler에 등록시킬 수 있다.

schedulerFactoryBean.setJobDetails(...);

Trigger

Job을 실행할 조건이다.

Job을 실행시킬 시간, 반복 횟수, 파라미터 등을 정할 수 있으며, Scheduler의 scheduleJob 메서드로 등록한다.

// Job 하나에 여러개의 Trigger 등록 불가
scheduler.scheduleJob(Job, Trigger);

// Job 하나에 여러개의 Trigger 등록 가능
scheduler.scheduleJob(Trigger);

Scheduler

Trigger의 조건을 감지하여 Job을 실행시킨다.

quartztest's People

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.