public enum CpuCoolers extends Enum<CpuCoolers> implements CpuCooler
| Enum Constant and Description |
|---|
AFFINITY |
ALL |
BUSY |
BUSY10 |
BUSY100 |
BUSY1000 |
BUSY300 |
MEMORY_COPY |
PARK |
PAUSE1 |
PAUSE10 |
PAUSE100 |
PAUSE3 |
PAUSE6 |
SERIALIZATION |
YIELD |
| Modifier and Type | Method and Description |
|---|---|
static void |
busyWait(double nanos) |
static CpuCoolers |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CpuCoolers[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CpuCoolers PARK
public static final CpuCoolers PAUSE1
public static final CpuCoolers PAUSE3
public static final CpuCoolers PAUSE6
public static final CpuCoolers PAUSE10
public static final CpuCoolers PAUSE100
public static final CpuCoolers YIELD
public static final CpuCoolers BUSY
public static final CpuCoolers BUSY10
public static final CpuCoolers BUSY100
public static final CpuCoolers BUSY300
public static final CpuCoolers BUSY1000
public static final CpuCoolers AFFINITY
public static final CpuCoolers SERIALIZATION
public static final CpuCoolers MEMORY_COPY
public static final CpuCoolers ALL
public static CpuCoolers[] values()
for (CpuCoolers c : CpuCoolers.values()) System.out.println(c);
public static CpuCoolers valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static void busyWait(double nanos)
Copyright © 2019. All rights reserved.