ProcessorMode Class

public final class ProcessorMode
extends ExpandableStringEnum<ProcessorMode>

Specifies the processor frequency behavior for the virtual machine. See each member for the behavior it controls.

Field Summary

Modifier and Type Field and Description
static final ProcessorMode DETERMINISTIC

Ensures predictable and consistent processor frequency at the base/nominal level.

static final ProcessorMode OPPORTUNISTIC

Allows higher frequency bursts when thermal and power headroom permits.

Constructor Summary

Constructor Description
ProcessorMode()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ProcessorMode value.

Method Summary

Modifier and Type Method and Description
static ProcessorMode fromString(String name)

Creates or finds a ProcessorMode from its string representation.

static Collection<ProcessorMode> values()

Gets known ProcessorMode values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

DETERMINISTIC

public static final ProcessorMode DETERMINISTIC

Ensures predictable and consistent processor frequency at the base/nominal level. Turbo/Boost is disabled.

OPPORTUNISTIC

public static final ProcessorMode OPPORTUNISTIC

Allows higher frequency bursts when thermal and power headroom permits.

Constructor Details

ProcessorMode

@Deprecated
public ProcessorMode()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ProcessorMode value.

Method Details

fromString

public static ProcessorMode fromString(String name)

Creates or finds a ProcessorMode from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding ProcessorMode.

values

public static Collection<ProcessorMode> values()

Gets known ProcessorMode values.

Returns:

known ProcessorMode values.

Applies to