public class ProcessorUtils
extends java.lang.Object
| Modifier and Type | Field | Description |
|---|---|---|
static java.lang.String |
AVAILABLE_PROCESSORS |
| Constructor | Description |
|---|---|
ProcessorUtils() |
| Modifier and Type | Method | 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
public static int availableProcessors()
Runtime.availableProcessors().Copyright © 1995–2018 Webtide. All rights reserved.