Quartz Concurrent Job execution-StatefulJob
To prevent concurrent job execution for long running jobs, you should implement org.quartz.StatefulJob which is just a marker interface. By this interface quartz understands and waits until it finishes it’s execution.
In other words, it is same with java synchronized keyword
public MyOnlySingleThreadJob implements StatefulJob {
}
ref:quartz project
Related posts:
![Reblog this post [with Zemanta]](http://img.zemanta.com/reblog_e.png?x-id=9c3bbb6d-c792-4bb4-8212-3d6465111715)



No comments yet.