public class ProcessorUtils
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private static int |
__availableProcessors |
static java.lang.String |
AVAILABLE_PROCESSORS |
| Constructor and Description |
|---|
ProcessorUtils() |
| Modifier and Type | Method and Description |
|---|---|
static int |
availableProcessors()
Obtain the number of available processors, from System Property "JETTY_AVAILABLE_PROCESSORS",
or if not set then environment variable "JETTY_AVAILABLE_PROCESSORS" or if not set then
Runtime.availableProcessors(). |
public static final java.lang.String AVAILABLE_PROCESSORS
private static int __availableProcessors
public static int availableProcessors()
Runtime.availableProcessors().