public enum StoringStrategy extends java.lang.Enum<StoringStrategy>
Enum Constant and Description |
---|
EAGER
In eager storing mode referenced instances are stored even if they had been stored before.
|
LAZY
Lazy storing is the default storing mode of the MicroStream engine.
|
Modifier and Type | Method and Description |
---|---|
static StoringStrategy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static StoringStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StoringStrategy LAZY
public static final StoringStrategy EAGER
public static StoringStrategy[] values()
for (StoringStrategy c : StoringStrategy.values()) System.out.println(c);
public static StoringStrategy 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 null