Package org.openiam.config
Class AbstractSchedulingConfiguration
- java.lang.Object
-
- org.openiam.config.AbstractSchedulingConfiguration
-
- All Implemented Interfaces:
org.springframework.scheduling.annotation.SchedulingConfigurer
- Direct Known Subclasses:
SchedulingConfiguration
public abstract class AbstractSchedulingConfiguration extends Object implements org.springframework.scheduling.annotation.SchedulingConfigurer
-
-
Constructor Summary
Constructors Constructor Description AbstractSchedulingConfiguration()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description OpenIAMThreadPoolTaskExecutor
batchTaskThreadExecutor()
void
configureTasks(org.springframework.scheduling.config.ScheduledTaskRegistrar taskRegistrar)
protected OpenIAMThreadPoolTaskExecutor
createTaskExecutor(int corePoolSize, int maxPoolSize, int queueCapacity, String prefix)
protected abstract AuditLogSupplier
getAuditLogSupplier()
OpenIAMThreadPoolTaskScheduler
scheduler()
OpenIAMThreadPoolTaskExecutor
taskExecutor()
OpenIAMThreadPoolTaskExecutor
workerTaskExecutor()
-
-
-
Method Detail
-
getAuditLogSupplier
protected abstract AuditLogSupplier getAuditLogSupplier()
-
taskExecutor
@Bean(name="taskExecutor") public OpenIAMThreadPoolTaskExecutor taskExecutor()
-
workerTaskExecutor
@Bean(name="workerTaskExecutor") public OpenIAMThreadPoolTaskExecutor workerTaskExecutor()
-
createTaskExecutor
protected OpenIAMThreadPoolTaskExecutor createTaskExecutor(int corePoolSize, int maxPoolSize, int queueCapacity, String prefix)
-
scheduler
@Bean(destroyMethod="shutdown", name="scheduler") public OpenIAMThreadPoolTaskScheduler scheduler()
-
configureTasks
public void configureTasks(org.springframework.scheduling.config.ScheduledTaskRegistrar taskRegistrar)
- Specified by:
configureTasks
in interfaceorg.springframework.scheduling.annotation.SchedulingConfigurer
-
batchTaskThreadExecutor
@Bean(name="batchTaskThreadExecutor") public OpenIAMThreadPoolTaskExecutor batchTaskThreadExecutor()
-
-