public enum ComputeTaskSessionScope extends Enum<ComputeTaskSessionScope>
Enum Constant and Description |
---|
GLOBAL_SCOPE
Data saved with this scope will only be removed automatically
if they time out and time out is supported.
|
SESSION_SCOPE
Data saved with this scope will be automatically removed
once the task session is completed (i.e. execution of the task is completed)
or when they time out.
|
Modifier and Type | Method and Description |
---|---|
static @Nullable ComputeTaskSessionScope |
fromOrdinal(byte ord)
Efficiently gets enumerated value from its ordinal.
|
static ComputeTaskSessionScope |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ComputeTaskSessionScope[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ComputeTaskSessionScope SESSION_SCOPE
public static final ComputeTaskSessionScope GLOBAL_SCOPE
ComputeTaskSession
interface.public static ComputeTaskSessionScope[] values()
for (ComputeTaskSessionScope c : ComputeTaskSessionScope.values()) System.out.println(c);
public static ComputeTaskSessionScope 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@Nullable public static @Nullable ComputeTaskSessionScope fromOrdinal(byte ord)
ord
- Ordinal value.
GridGain In-Memory Computing Platform : ver. 8.9.14 Release Date : November 5 2024