Package org.openiam.concurrent
Class OpenIAMThreadPoolTaskScheduler
- java.lang.Object
-
- org.springframework.util.CustomizableThreadCreator
-
- org.springframework.scheduling.concurrent.CustomizableThreadFactory
-
- org.springframework.scheduling.concurrent.ExecutorConfigurationSupport
-
- org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler
-
- org.openiam.concurrent.OpenIAMThreadPoolTaskScheduler
-
- All Implemented Interfaces:
Serializable
,Executor
,ThreadFactory
,org.springframework.beans.factory.Aware
,org.springframework.beans.factory.BeanNameAware
,org.springframework.beans.factory.DisposableBean
,org.springframework.beans.factory.InitializingBean
,org.springframework.core.task.AsyncListenableTaskExecutor
,org.springframework.core.task.AsyncTaskExecutor
,org.springframework.core.task.TaskExecutor
,org.springframework.scheduling.SchedulingTaskExecutor
,org.springframework.scheduling.TaskScheduler
public class OpenIAMThreadPoolTaskScheduler extends org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description OpenIAMThreadPoolTaskScheduler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ScheduledExecutorService
createExecutor(int poolSize, ThreadFactory threadFactory, RejectedExecutionHandler rejectedExecutionHandler)
void
setAuditLogSupplier(AuditLogSupplier auditLogSupplier)
void
setRequestorIDProvider(SecurityInfoProvider provider)
-
Methods inherited from class org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler
cancelRemainingTask, execute, execute, getActiveCount, getClock, getPoolSize, getScheduledExecutor, getScheduledThreadPoolExecutor, initializeExecutor, isRemoveOnCancelPolicy, schedule, schedule, scheduleAtFixedRate, scheduleAtFixedRate, scheduleWithFixedDelay, scheduleWithFixedDelay, setClock, setContinueExistingPeriodicTasksAfterShutdownPolicy, setErrorHandler, setExecuteExistingDelayedTasksAfterShutdownPolicy, setPoolSize, setRemoveOnCancelPolicy, submit, submit, submitListenable, submitListenable
-
Methods inherited from class org.springframework.scheduling.concurrent.ExecutorConfigurationSupport
afterPropertiesSet, destroy, initialize, setAwaitTerminationMillis, setAwaitTerminationSeconds, setBeanName, setRejectedExecutionHandler, setThreadFactory, setThreadNamePrefix, setWaitForTasksToCompleteOnShutdown, shutdown
-
Methods inherited from class org.springframework.scheduling.concurrent.CustomizableThreadFactory
newThread
-
Methods inherited from class org.springframework.util.CustomizableThreadCreator
createThread, getDefaultThreadNamePrefix, getThreadGroup, getThreadNamePrefix, getThreadPriority, isDaemon, nextThreadName, setDaemon, setThreadGroup, setThreadGroupName, setThreadPriority
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
-
-
Method Detail
-
createExecutor
protected ScheduledExecutorService createExecutor(int poolSize, ThreadFactory threadFactory, RejectedExecutionHandler rejectedExecutionHandler)
- Overrides:
createExecutor
in classorg.springframework.scheduling.concurrent.ThreadPoolTaskScheduler
-
setRequestorIDProvider
public void setRequestorIDProvider(SecurityInfoProvider provider)
-
setAuditLogSupplier
public void setAuditLogSupplier(AuditLogSupplier auditLogSupplier)
-
-