JavaScript is disabled on your browser.
java.lang.Object
org.springframework.util.CustomizableThreadCreator
org.springframework.scheduling.concurrent.CustomizableThreadFactory
org.springframework.scheduling.concurrent.ExecutorConfigurationSupport
org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor
org.springframework.cloud.sleuth.instrument.async.LazyTraceThreadPoolTaskExecutor
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
public class LazyTraceThreadPoolTaskExecutor
extends org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor
ThreadPoolTaskExecutor that continues a span if one was passed or creates a new one
Since:
1.0.10
Author:
Marcin Grzejszczak
See Also:
Serialized Form
Field Summary
Fields inherited from class org.springframework.scheduling.concurrent.ExecutorConfigurationSupport
logger
Fields inherited from interface org.springframework.core.task.AsyncTaskExecutor
TIMEOUT_IMMEDIATE, TIMEOUT_INDEFINITE
Constructor Summary
Constructors
Constructor and Description
LazyTraceThreadPoolTaskExecutor (org.springframework.beans.factory.BeanFactory beanFactory,
org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor delegate)
Method Summary
Methods inherited from class org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor
createQueue, getActiveCount, getCorePoolSize, getKeepAliveSeconds, getMaxPoolSize, getPoolSize, initializeExecutor, prefersShortLivedTasks, setAllowCoreThreadTimeOut, setCorePoolSize, setKeepAliveSeconds, setMaxPoolSize, setQueueCapacity, setTaskDecorator
Methods inherited from class org.springframework.scheduling.concurrent.ExecutorConfigurationSupport
initialize, 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
destroy
public void destroy()
Specified by:
destroy in interface org.springframework.beans.factory.DisposableBean
Overrides:
destroy in class org.springframework.scheduling.concurrent.ExecutorConfigurationSupport
Copyright © 2017 Pivotal Software, Inc. . All rights reserved.