public class SystemSecurityContextExecutors extends Object
ListeningExecutorService
s that will run their tasks using system security context.Modifier and Type | Method and Description |
---|---|
static com.google.common.util.concurrent.ListeningExecutorService |
newFixedThreadPool(int nThreads,
String threadPoolName) |
static com.google.common.util.concurrent.ListeningExecutorService |
newSingleThreadExecutor(int maxQueueSize,
String threadPoolName) |
static com.google.common.util.concurrent.ListeningExecutorService |
newSingleThreadExecutor(String threadPoolName) |
static com.google.common.util.concurrent.ListeningExecutorService |
newThreadPool(int nThreads,
String threadPoolName) |
public static com.google.common.util.concurrent.ListeningExecutorService newFixedThreadPool(int nThreads, @NotNull String threadPoolName)
public static com.google.common.util.concurrent.ListeningExecutorService newSingleThreadExecutor(@NotNull String threadPoolName)
public static com.google.common.util.concurrent.ListeningExecutorService newSingleThreadExecutor(int maxQueueSize, @NotNull String threadPoolName)
public static com.google.common.util.concurrent.ListeningExecutorService newThreadPool(int nThreads, @NotNull String threadPoolName)
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.