Class ThreadPoolUtil

java.lang.Object
ca.uhn.fhir.util.ThreadPoolUtil

public final class ThreadPoolUtil extends Object
  • Method Summary

    Modifier and Type
    Method
    Description
    static 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)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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)