public final class PlatformExecutors
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static float |
defaultPoolSizeScalingFactor() |
static java.util.concurrent.ExecutorService |
newLimitedThreadPool() |
static java.util.concurrent.ExecutorService |
newLimitedThreadPool(float poolSizeScalingFactor) |
static java.util.concurrent.ExecutorService |
newLimitedThreadPool(float poolSizeScalingFactor,
java.util.concurrent.ThreadFactory factory) |
public static float defaultPoolSizeScalingFactor()
public static java.util.concurrent.ExecutorService newLimitedThreadPool()
public static java.util.concurrent.ExecutorService newLimitedThreadPool(float poolSizeScalingFactor)
public static java.util.concurrent.ExecutorService newLimitedThreadPool(float poolSizeScalingFactor, java.util.concurrent.ThreadFactory factory)