Class SystemSecurityContextExecutors

java.lang.Object
com.atlassian.bamboo.executor.SystemSecurityContextExecutors

public class SystemSecurityContextExecutors extends Object
Static methods of this class will produce ListeningExecutorServices that will run their tasks using system security context.
  • Method Details

    • newFixedThreadPool

      public static com.google.common.util.concurrent.ListeningExecutorService newFixedThreadPool(int nThreads, @NotNull @NotNull String threadPoolName)
    • newSingleThreadExecutor

      public static com.google.common.util.concurrent.ListeningExecutorService newSingleThreadExecutor(@NotNull @NotNull String threadPoolName)
    • newSingleThreadExecutor

      public static com.google.common.util.concurrent.ListeningExecutorService newSingleThreadExecutor(int maxQueueSize, @NotNull @NotNull String threadPoolName)
    • newThreadPool

      public static com.google.common.util.concurrent.ListeningExecutorService newThreadPool(int nThreads, @NotNull @NotNull String threadPoolName)