You are here

JobLockService

This service ensures that a scheduled job can only run on one node of a cluster at a time. A scheduled job could be, for example, an Activities feed job that generates email to send to everyone every night or a content cleaner job that cleans up orphaned content.
Information JobLockService
Support Status Full Support
Architecture Information Platform Architecture
Description The JobLockService is used to provide a locking service at the job level, rather than the node level.
Deployment - App Server Deploy as AMP or Simple Module (JAR) package.
Deployment - SDK Project Use SDK archetypes to produce AMP or Simple Module.
Java API Java API documentation
Java example For an example of using the JobLockService see the Content Store Cleaner code on GitHub.
More Information