public static enum Settings.ThreadingLevel extends java.lang.Enum<Settings.ThreadingLevel>
Enum Constant and Description |
---|
ENGINE
Single engine (e.g.
|
OPERATOR
Single internal engine operator threading level, corresponding environment variable:
FACESDK_NUM_THREADS_OPERATOR
|
PIPELINE
Pipeline threading level, corresponding environment variable:
FACESDK_NUM_THREADS_PIPELINE
|
Modifier and Type | Method and Description |
---|---|
static Settings.ThreadingLevel |
fromCode(int code) |
int |
getCode() |
static Settings.ThreadingLevel |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Settings.ThreadingLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Settings.ThreadingLevel PIPELINE
public static final Settings.ThreadingLevel ENGINE
public static final Settings.ThreadingLevel OPERATOR
public static Settings.ThreadingLevel[] values()
for (Settings.ThreadingLevel c : Settings.ThreadingLevel.values()) System.out.println(c);
public static Settings.ThreadingLevel valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int getCode()
public static Settings.ThreadingLevel fromCode(int code)