Class SyncopeResultHandlerDispatcher<T extends org.apache.syncope.core.persistence.api.entity.task.ProvisioningTask<?>,A extends org.apache.syncope.core.provisioning.api.pushpull.ProvisioningActions,RA extends org.apache.syncope.core.provisioning.api.pushpull.SyncopeResultHandler<T,A>>
- java.lang.Object
-
- org.apache.syncope.core.provisioning.java.pushpull.SyncopeResultHandlerDispatcher<T,A,RA>
-
- Direct Known Subclasses:
PullResultHandlerDispatcher
,PushResultHandlerDispatcher
public abstract class SyncopeResultHandlerDispatcher<T extends org.apache.syncope.core.persistence.api.entity.task.ProvisioningTask<?>,A extends org.apache.syncope.core.provisioning.api.pushpull.ProvisioningActions,RA extends org.apache.syncope.core.provisioning.api.pushpull.SyncopeResultHandler<T,A>> extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected Optional<ExecutorCompletionService<Void>>
ecs
protected List<Future<Void>>
futures
protected Map<String,RA>
handlers
protected static org.slf4j.Logger
LOG
protected Map<String,Supplier<RA>>
suppliers
protected Optional<org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor>
tpte
-
Constructor Summary
Constructors Constructor Description SyncopeResultHandlerDispatcher(org.apache.syncope.core.provisioning.api.pushpull.ProvisioningProfile<T,A> profile)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addHandlerSupplier(String key, Supplier<RA> supplier)
protected void
cleanup()
protected RA
nonConcurrentHandler(String key)
protected void
submit(Runnable runnable)
-
-
-
Field Detail
-
LOG
protected static final org.slf4j.Logger LOG
-
tpte
protected final Optional<org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor> tpte
-
ecs
protected final Optional<ExecutorCompletionService<Void>> ecs
-
suppliers
protected final Map<String,Supplier<RA extends org.apache.syncope.core.provisioning.api.pushpull.SyncopeResultHandler<T,A>>> suppliers
-
handlers
protected final Map<String,RA extends org.apache.syncope.core.provisioning.api.pushpull.SyncopeResultHandler<T,A>> handlers
-
-