Class JobStatusUpdater
java.lang.Object
org.apache.syncope.core.provisioning.java.job.JobStatusUpdater
-
Field Summary
Modifier and TypeFieldDescriptionprotected final EntityFactory
protected boolean
protected final JobStatusDAO
protected static final Logger
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
update
(JobStatusEvent event) It's important to note that responding to job status updates must be done in async mode, and via a separate special thread executor that attempts to synchronize job execution serially by only making one thread active at a given time.
-
Field Details
-
LOG
-
jobStatusDAO
-
entityFactory
-
initCompleted
protected boolean initCompleted
-
-
Constructor Details
-
JobStatusUpdater
-
-
Method Details
-
initComplete
public void initComplete() -
update
It's important to note that responding to job status updates must be done in async mode, and via a separate special thread executor that attempts to synchronize job execution serially by only making one thread active at a given time. Not doing so will force the event executor to launch separate threads per each status update, which would result in multiple concurrent INSERT operations on the database, and failing.- Parameters:
event
- the event
-