Package com.atlassian.bamboo.executor
Class SystemSecurityContextExecutors
- java.lang.Object
-
- com.atlassian.bamboo.executor.SystemSecurityContextExecutors
-
public class SystemSecurityContextExecutors extends Object
Static methods of this class will produceListeningExecutorServices that will run their tasks using system security context.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static com.google.common.util.concurrent.ListeningExecutorServicenewFixedThreadPool(int nThreads, @NotNull String threadPoolName)static com.google.common.util.concurrent.ListeningExecutorServicenewSingleThreadExecutor(int maxQueueSize, @NotNull String threadPoolName)static com.google.common.util.concurrent.ListeningExecutorServicenewSingleThreadExecutor(@NotNull String threadPoolName)static com.google.common.util.concurrent.ListeningExecutorServicenewThreadPool(int nThreads, @NotNull String threadPoolName)
-
-
-
Method Detail
-
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)
-
-