public enum GridComputeTaskSessionScope extends Enum<GridComputeTaskSessionScope>
| 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.
|
| Modifier and Type | Method and Description |
|---|---|
static GridComputeTaskSessionScope |
fromOrdinal(byte ord)
Efficiently gets enumerated value from its ordinal.
|
static GridComputeTaskSessionScope |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GridComputeTaskSessionScope[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GridComputeTaskSessionScope SESSION_SCOPE
public static final GridComputeTaskSessionScope GLOBAL_SCOPE
GridComputeTaskSession
interface.public static GridComputeTaskSessionScope[] values()
for (GridComputeTaskSessionScope c : GridComputeTaskSessionScope.values()) System.out.println(c);
public static GridComputeTaskSessionScope 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 GridComputeTaskSessionScope fromOrdinal(byte ord)
ord - Ordinal value.Copyright © 2014. All rights reserved.