Package org.alfresco.heartbeat.jobs
Class LockingJob
java.lang.Object
org.alfresco.heartbeat.jobs.LockingJob
- All Implemented Interfaces:
org.quartz.Job
This Heartbeat job collects data and passes it to the
HBDataSenderService. Collectors using this job will collect data in one cluster node per execution, this is achieved by a job lock on collector id. The job lock is obtained by the first repository node which requests it for its collector id.-
Field Details
-
COLLECTOR_KEY
- See Also:
-
DATA_SENDER_SERVICE_KEY
- See Also:
-
JOB_LOCK_SERVICE_KEY
- See Also:
-
-
Constructor Details
-
LockingJob
public LockingJob()
-
-
Method Details
-
execute
public void execute(org.quartz.JobExecutionContext jobexecutioncontext) throws org.quartz.JobExecutionException - Specified by:
executein interfaceorg.quartz.Job- Throws:
org.quartz.JobExecutionException
-