@ManagedResource
public class ThreadScopePropagatingScheduler
extends org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler
| Constructor and Description |
|---|
ThreadScopePropagatingScheduler(ThreadScopeManager threadScopeManager) |
| Modifier and Type | Method and Description |
|---|---|
protected <V> RunnableScheduledFuture<V> |
buildRunnableScheduledFuture(ThreadScopeManager threadScopeManager,
RunnableScheduledFuture<V> task) |
protected ScheduledExecutorService |
createExecutor(int poolSize,
ThreadFactory threadFactory,
RejectedExecutionHandler rejectedExecutionHandler) |
int |
getActiveCount() |
int |
getPoolSize() |
void |
setPoolSize(int poolSize) |
execute, execute, getScheduledExecutor, getScheduledThreadPoolExecutor, initializeExecutor, isRemoveOnCancelPolicy, prefersShortLivedTasks, schedule, schedule, scheduleAtFixedRate, scheduleAtFixedRate, scheduleWithFixedDelay, scheduleWithFixedDelay, setErrorHandler, setRemoveOnCancelPolicy, submit, submit, submitListenable, submitListenableafterPropertiesSet, destroy, initialize, setAwaitTerminationSeconds, setBeanName, setRejectedExecutionHandler, setThreadFactory, setThreadNamePrefix, setWaitForTasksToCompleteOnShutdown, shutdownnewThreadpublic ThreadScopePropagatingScheduler(ThreadScopeManager threadScopeManager)
@ManagedAttribute public int getActiveCount()
getActiveCount in class org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler@ManagedAttribute public int getPoolSize()
getPoolSize in class org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler@ManagedAttribute public void setPoolSize(int poolSize)
setPoolSize in class org.springframework.scheduling.concurrent.ThreadPoolTaskSchedulerprotected ScheduledExecutorService createExecutor(int poolSize, ThreadFactory threadFactory, RejectedExecutionHandler rejectedExecutionHandler)
createExecutor in class org.springframework.scheduling.concurrent.ThreadPoolTaskSchedulerprotected <V> RunnableScheduledFuture<V> buildRunnableScheduledFuture(ThreadScopeManager threadScopeManager, RunnableScheduledFuture<V> task)
Copyright © 2015 devbury. All rights reserved.