| Home >> All >> org >> quartz >> [ examples Javadoc ] |
org.quartz.examples: Javadoc index of package org.quartz.examples.
Package Samples:
org.quartz.examples
Classes:
ClusterTest: Used to test/show the clustering features of JDBCJobStore (JobStoreTX or JobStoreCMT). All instances MUST use a different properties file, because their instance Ids must be different, however all other properties should be the same. If you want it to clear out existing jobs & triggers, pass a command-line argument called "clearJobs". You should probably start with a "fresh" set of tables (assuming you may have some data lingering in it from other tests), since mixing data from a non-clustered setup with a clustered one can be bad. Try killing one of the cluster instances while they are running, ...
StatefulJobTest: Demonstrates the behavior of StatefulJob s, as well as how misfire instructions affect the firings of triggers of StatefulJob s - when the jobs take longer to execute that the frequency of the trigger's repitition. While the example is running, you should note that there are two triggers with identical schedules, firing identical jobs. The triggers "want" to fire every 3 seconds, but the jobs take 10 seconds to execute. Therefore, by the time the jobs complete their execution, the triggers have already "misfired" (unless the scheduler's "misfire threshold" has been set to more than 7 seconds). ...
InterruptableJobTest: Demonstrates the behavior of StatefulJob s, as well as how misfire instructions affect the firings of triggers of StatefulJob s - when the jobs take longer to execute that the frequency of the trigger's repitition. While the example is running, you should note that there are two triggers with identical schedules, firing identical jobs. The triggers "want" to fire every 3 seconds, but the jobs take 10 seconds to execute. Therefore, by the time the jobs complete their execution, the triggers have already "misfired" (unless the scheduler's "misfire threshold" has been set to more than 7 seconds). ...
DumbRecoveryStatefulJob: A dumb implementation of Job, for unittesting purposes. This jobs prints a different message if it detects that it is executing as a recovery. It pauses (sleeps) for a few seconds within its execute method, so that there's a good chance it will be running when a scheduler dies.
DumbRecoveryJob: A dumb implementation of Job, for unittesting purposes. This jobs prints a different message if it detects that it is executing as a recovery. It pauses (sleeps) for a few seconds within its execute method, so that there's a good chance it will be running when a scheduler dies.
DumbDelayJob: A dumb implementation of Job, for unittesting purposes. This job includes a short pause during its execution.
DumbInterruptableJob: A dumb implementation of an InterruptableJob, for unittesting purposes.
StatefulDumbJob: A dumb implementation of Job, for unittesting purposes.
DumbJob2: A dumb implementation of Job, for unittesting purposes.
DumbJob: A dumb implementation of Job, for unittesting purposes.
SchedTest
QuartzRemoteClient
LoadTest
ListenerTest
MyJobListener
InitJobsTest
DumbTriggerListener
DumbJobListener
| Home | Contact Us | Privacy Policy | Terms of Service |