Class PriorityPropagationTaskExecutor

java.lang.Object
org.apache.syncope.core.provisioning.java.propagation.AbstractPropagationTaskExecutor
org.apache.syncope.core.provisioning.java.propagation.PriorityPropagationTaskExecutor
All Implemented Interfaces:
PropagationTaskExecutor
Direct Known Subclasses:
InstrumentedPriorityPropagationTaskExecutor

public class PriorityPropagationTaskExecutor extends AbstractPropagationTaskExecutor
Sorts the tasks to be executed according to related ExternalResource's priority, then execute. Tasks related to resources with NULL priority are executed after other tasks, concurrently. Failure during execution of a task related to resource with non-NULL priority are treated as fatal and will interrupt the whole process, resulting in a global failure.