Package ca.uhn.fhir.util
Class ThreadPoolUtil
java.lang.Object
ca.uhn.fhir.util.ThreadPoolUtil
-
Method Summary
Modifier and TypeMethodDescriptionstatic org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor
newThreadPool
(int theCorePoolSize, int theMaxPoolSize, String theThreadNamePrefix) static org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor
newThreadPool
(int theCorePoolSize, int theMaxPoolSize, String theThreadNamePrefix, int theQueueCapacity) static org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor
newThreadPool
(int theCorePoolSize, int theMaxPoolSize, String theThreadNamePrefix, int theQueueCapacity, org.springframework.core.task.TaskDecorator taskDecorator)
-
Method Details
-
newThreadPool
@Nonnull public static org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor newThreadPool(int theCorePoolSize, int theMaxPoolSize, String theThreadNamePrefix) -
newThreadPool
@Nonnull public static org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor newThreadPool(int theCorePoolSize, int theMaxPoolSize, String theThreadNamePrefix, int theQueueCapacity) -
newThreadPool
@Nonnull public static org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor newThreadPool(int theCorePoolSize, int theMaxPoolSize, String theThreadNamePrefix, int theQueueCapacity, org.springframework.core.task.TaskDecorator taskDecorator)
-