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.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.7.2 Release Date : February 6 2019