public static enum CEntryPoint.Builtin extends Enum<CEntryPoint.Builtin>
Enum.EnumDesc<E extends Enum<E>>
Enum Constant and Description |
---|
ATTACH_THREAD
The annotated method attaches the current thread to an isolate.
|
CREATE_ISOLATE
The annotated method creates an isolate.
|
DETACH_THREAD
The annotated method detaches the current thread, given as an
IsolateThread , from
an isolate. |
GET_CURRENT_THREAD
The annotated method returns the
IsolateThread of the current thread in a
specified Isolate . |
GET_ISOLATE
The annotated method returns the
Isolate for an IsolateThread . |
NO_BUILTIN
The annotated method is not an alias for a built-in method.
|
TEAR_DOWN_ISOLATE
The annotated method tears down the specified isolate.
|
Modifier and Type | Method and Description |
---|---|
static CEntryPoint.Builtin |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CEntryPoint.Builtin[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CEntryPoint.Builtin NO_BUILTIN
public static final CEntryPoint.Builtin CREATE_ISOLATE
IsolateThread
. In case of an error,
NULL
is returned.public static final CEntryPoint.Builtin ATTACH_THREAD
Isolate
with the isolate to attach to, and a return type of
IsolateThread
. In case of an error, NULL
is
returned.public static final CEntryPoint.Builtin GET_CURRENT_THREAD
IsolateThread
of the current thread in a
specified Isolate
. It requires a parameter of type Isolate
for the
isolate in question, and a return type of IsolateThread
. In case of an error or
if the current thread is not attached to the specified isolate,
NULL
is returned.public static final CEntryPoint.Builtin GET_ISOLATE
Isolate
for an IsolateThread
. It
requires a parameter of type IsolateThread
, and a return type of Isolate
.
In case of an error, NULL
is returned.public static final CEntryPoint.Builtin DETACH_THREAD
IsolateThread
, from
an isolate. It requires a parameter of type IsolateThread
, and a return type of
int
or void
. With an int
return type, zero is returned when
successful, or non-zero in case of an error.public static final CEntryPoint.Builtin TEAR_DOWN_ISOLATE
IsolateThread
, and a return type of int
or void
. With an
int
return type, zero is returned when successful, or non-zero in case of an
error.public static CEntryPoint.Builtin[] values()
public static CEntryPoint.Builtin 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 null